RooChi2Var how-to

About chi^2 quantiles

http://ru.wikipedia.org/wiki/%D0%9A%D0%B2%D0%B0%D0%BD%D1%82%D0%B8%D0%BB%D0%B8_%D1%80%D0%B0%D1%81%D0%BF%D1%80%D0%B5%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F_%D1%85%D0%B8-%D0%BA%D0%B2%D0%B0%D0%B4%D1%80%D0%B0%D1%82

How to evaluate critical values of chi^2

http://otvety.google.ru/otvety/thread?tid=0957f82b3f43a2ed&pli=1

 

 

Get number of free parameters

http://root.cern.ch/phpBB3/viewtopic.php?p=26708

http://root.cern.ch/phpBB3/viewtopic.php?f=15&t=7501

Examples

http://root.cern.ch/svn/root/tags/v5-19-02a/test/stressRooFit.cxx

Eclipse Indigo eclipse.ini file

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-clean
-data
C:\Users\stepanov\sr2_workspace
-vm
C:\glassfish3\jdk\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m

Twitter API – Import the Tweets

HTML:

<!-- Hi Guys here is the source html code. As an href attribute insert the tweet's ID -->
<ul>
  <a href="http://twitter.com/#!/rintrarian/status/114757355232690176" class="twitter-status"></a>
  <a href="http://twitter.com/#!/leejohnsonseo/status/133891582024892417" class="twitter-status"></a>
  <a href="http://twitter.com/#!/owster/status/116468157492899840" class="twitter-status"></a>
  <a href="http://twitter.com/#!/jmbruegge/status/134713806399082496" class="twitter-status"></a>
  <a href="http://twitter.com/#!/qreativ/status/115677593935679489" class="twitter-status"></a>
</ul>

JS:

<script type="text/javascript">
  $(document).ready(function() {
    loadTweets();
  });
  function loadTweets () {
    $('.twitter-status').each(function() {
      var href = $(this).attr('href');
      var splits = href.split('/');
      var userName = splits[splits.length-3];
      var twitId = splits[splits.length-1];

      var replace = $('<li class="grid_5 alpha omega">' +
                        '<img src="http://api.twitter.com/1/users/profile_image?screen_name=' + userName + '&size=bigger" width="40" height="40"></img>' +
                        '<cite class="tweet-username"><a target="_blank" href="http://twitter.com/' + userName + '">' + userName + '</a></cite> ' +
                        '<div class="tweet-content loading"></div>' +
                      '</li>');

      $(this).replaceWith(replace);
      $.getJSON("https://api.twitter.com/1/statuses/show.json?id=" + twitId + "&include_entities=true&callback=?",
        function (data) {
          replace.find('.tweet-content').removeClass('loading');
          replace.find('.tweet-content').html(data.text);
          replace.find('.tweet-username').append(data.user.name);
        }
      );
    });
  }
</script>