1 #include "StEEmcIUPi0Reader.h"
8 StEEmcIUPi0Reader::StEEmcIUPi0Reader(
const Char_t *name):
StMaker(name)
10 mChain=
new TChain(name,
"pi0 tree");
15 Int_t StEEmcIUPi0Reader::Init()
19 return StMaker::Init();
25 return getEvent(index++);
29 Int_t StEEmcIUPi0Reader::getEvent(Int_t i)
31 Int_t stat=
mChain->GetEntry(i);
42 void StEEmcIUPi0Reader::chainFile(
const Char_t *file )
46 if ( !fname.Contains(
"root") )
return;
47 std::cout <<
"+ " << fname << std::endl;
void Clear(Option_t *opts="")
User defined functions.
StEEmcIUMixEvent * mEvent