// set up SHOWER branch in ROOT tree // // called from uhbook.F // // last modified on 05/12/2008 by I. Koenig #include "showbookr.h" #include "hgeantmaxtrk.h" void showbookr(void) { HRecEvent* pHGeantEvent = (HRecEvent*)(gHades->getCurrentEvent()); // pointer to event HPartialEvent* pShower = pHGeantEvent->getPartialEvent(catSimul); Int_t ini[2]={6,MAXTRKSHOW}; pShower->addCategory(catShowerGeantRaw, new HMatrixCategory("HGeantShower",2,ini,0.1) ); printf("\n SHOWER branches added\n"); } FCALLSCSUB0(showbookr,SHOWBOOKR,showbookr)