Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 8c86774a3e53d77cc119f53a2b94a57a > files > 1360

root-tutorial-5.34.14-2.fc18.noarch.rpm

//Creates a TChain to be used by the h1analysis.C class
//the symbol H1 must point to a directory where the H1 data sets
//have been installed.

TChain chain("h42");

void h1chain(const char *h1dir = 0)
{
   if (h1dir) {
      gSystem->Setenv("H1",h1dir);
   }
   chain.SetCacheSize(20*1024*1024);
   chain.Add("$H1/dstarmb.root");
   chain.Add("$H1/dstarp1a.root");
   chain.Add("$H1/dstarp1b.root");
   chain.Add("$H1/dstarp2.root");
}