43 void bfcread_hist_printinfo(
44 const Char_t *MainFile=
45 "/star/rcf/test/dev/tfs_redhat61/Tue/year_1h/hc_standard/hc_standard.40_evts.hist.root",
46 const Char_t *fname=
"HistInfo.out",
47 const Char_t *MakerHistDir=
"EventQA",
48 const Char_t *TopDirTree=
"bfcTree")
50 cout <<
"bfcread_hist_printinfo.C, input hist file = "
52 cout <<
"bfcread_hist_printinfo.C, output hist info file = "
54 cout <<
"bfcread_hist_printinfo.C, directory name for hist = "
55 << MakerHistDir << endl;
56 cout <<
"bfcread_hist_printinfo.C, top level directory in hist file = "
57 << TopDirTree << endl;
60 gSystem->Load(
"St_base");
61 gSystem->Load(
"StChain");
62 gSystem->Load(
"StIOMaker");
63 gSystem->Load(
"StarClassLibrary");
64 gSystem->Load(
"StUtilities");
65 gSystem->Load(
"StAnalysisUtilities");
66 gSystem->Load(
"libglobal_Tables");
74 IOMk->SetBranch(
"*",0,
"0");
75 IOMk->SetBranch(
"histBranch",0,
"r");
83 HU->SetPntrToMaker((
StMaker *)IOMk);
87 dirList = HU->FindHists(MakerHistDir);
91 hCCount = HU->PrintInfoHists(dirList,fname);
93 cout <<
"bfcread_hist_printinfo.C, # histograms found = " <<
virtual void Clear(Option_t *opt)
User defined functions.
virtual void SetIOMode(Option_t *iomode="w")
number of transactions