00001 //Creates a TChain to be used by the h1analysis.C class 00002 //the symbol H1 must point to a directory where the H1 data sets 00003 //have been installed. 00004 00005 TChain chain("h42"); 00006 00007 void h1chain(const char *h1dir = 0) 00008 { 00009 if (h1dir) { 00010 gSystem->Setenv("H1",h1dir); 00011 } 00012 chain.SetCacheSize(20*1024*1024); 00013 chain.Add("$H1/dstarmb.root"); 00014 chain.Add("$H1/dstarp1a.root"); 00015 chain.Add("$H1/dstarp1b.root"); 00016 chain.Add("$H1/dstarp2.root"); 00017 }