10 #include "hdatasource.h"
11 #include "TDirectory.h"
45 if (fInputFile->cd(
"dirSimul")) {
46 fGeantShowCat = (HMatrixCategory*)(gDirectory->Get(
"HGeantShower"));
50 fGeantShowCat =
new HMatrixCategory(
"HGeantShower",2,ini,1.0);
55 printf(
"\n%s(%d,%d) matrix category created for HGeant input\n",
56 fGeantShowCat->getClassName(),
57 fGeantShowCat->getSize(0), fGeantShowCat->getSize(1));
65 if ((t=(TTree*)fInputFile->Get(
"T")) == NULL)
return kFALSE;
67 t->SetBranchAddress(
"HGeantShower",&fGeantShowCat);
68 t->SetBranchStatus(
"HGeantShower",kTRUE);
69 fGeantShowCat->activateBranch(t,2);
80 if(t->GetEntry(fEventId)==0)
return kFALSE;
HEvent *& getCurrentEvent(void)
ClassImp(HShowerGeantReader) HShowerGeantReader
~HShowerGeantReader(void)
virtual HCategory * getCategory(Cat_t aCat)=0
const Cat_t catShowerGeantRaw