1 #include "StEEmcPi0Reader.h"
8 StEEmcPi0Reader::StEEmcPi0Reader(
const Char_t *name,
const Char_t *bname):
StMaker(name)
10 mChain=
new TChain(name,
"pi0 tree");
16 Int_t StEEmcPi0Reader::Init()
20 return StMaker::Init();
26 return getEvent(index++);
30 Int_t StEEmcPi0Reader::getEvent(Int_t i)
32 Int_t stat=
mChain->GetEntry(i);
43 void StEEmcPi0Reader::chainFile(
const Char_t *file )
47 if ( !fname.Contains(
"root") )
return;
48 std::cout <<
"+ " << fname << std::endl;
void Clear(Option_t *opts="")
User defined functions.