StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
createRunStatusHistograms.C
1 void createRunStatusHistograms(const Char_t* directory =
2  //"/star/institutions/ucla/staszak/bemc2006pp_pass2/longpost3/day154/special/test/",
3  "/star/data07/EMC/staszak/2006pp/longpre/day092/",
4  const Char_t* filter = "cal.minirun.root") {
5 
6  // load shared libs
7  Bool_t useStarLibs = kTRUE;
8  if (useStarLibs) {
9  gROOT->LoadMacro("$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
10  loadSharedLibraries();
11  gSystem->Load("StMcEvent");
12  gSystem->Load("StMcEventMaker");
13  gSystem->Load("StAssociationMaker");
14  // load EMC libraries
15  gSystem->Load("StDaqLib");
16  gSystem->Load("StEmcRawMaker");
17  gSystem->Load("StEmcADCtoEMaker");
18  gSystem->Load("StPreEclMaker");
19  gSystem->Load("StEpcMaker");
20  }
21  assert(gSystem->Load("StEmcPoolCSMStatusUtils")==0);
22  cout<<"All libs loaded"<<endl;
23 
24  CSMBuildRunMap builder;
25  builder.buildRunMap(directory,filter);
26 }