60 void bfcread_hist_overlay(
61 const Char_t *MainFile=
62 "/afs/rhic.bnl.gov/star/data/samples/gstar.hist.root",
63 const Char_t *MakerHistDir=
"EventQA",
64 const Char_t *TopDirTree=
"bfcTree",
65 const Char_t *PageTitle=
"")
68 cout <<
"bfcread_hist_overlay.C, input hist file = "
70 cout <<
"bfcread_hist_overlay.C, directory name for hist = "
71 << MakerHistDir << endl;
72 cout <<
"bfcread_hist_overlay.C, top level directory in hist file = "
73 << TopDirTree << endl;
74 cout <<
"bfcread_hist_overlay.C, hist page title " <<
78 gSystem->Load(
"St_base");
79 gSystem->Load(
"StChain");
80 gSystem->Load(
"StIOMaker");
81 gSystem->Load(
"StarClassLibrary");
82 gSystem->Load(
"StUtilities");
83 gSystem->Load(
"StAnalysisUtilities");
90 IOMk->SetBranch(
"*",0,
"0");
91 IOMk->SetBranch(
"histBranch",0,
"r");
100 HU->SetPntrToMaker((
StMaker *)IOMk);
108 cout <<
" bfcread_hist_overlay.C, have read histograms" << endl;
110 if (PageTitle==
"") PageTitle=MainFile;
111 HU->SetGlobalTitle(PageTitle);
114 Int_t result = HU->Overlay1D(MakerHistDir,
115 "TabQaGtrkRT",
"TabQaPtrkRT");
117 cout <<
" !!! There was an error in Overlay1D !!!" << endl;
120 result = HU->Overlay2D(MakerHistDir,
121 "TabQaGtrkLengthVEtaT",
"TabQaPtrkLengthVEtaT");
123 cout <<
" !!! There was an error in Overlay2D !!!" << endl;
126 cout <<
" bfcread_hist_overlay.C, end of macro" << endl;
virtual void Clear(Option_t *opt)
User defined functions.
virtual void SetIOMode(Option_t *iomode="w")
number of transactions