// set up RICH branch in ROOT tree // // called from uhbook.F // // last modified on 05/12/2008 by I. Koenig #include "richbookr.h" #include "hgeantmaxtrk.h" void richbookr(void) { HRecEvent* pHGeantEvent = (HRecEvent*)(gHades->getCurrentEvent()); // pointer to event HPartialEvent* pRich = pHGeantEvent->getPartialEvent(catSimul); Int_t ini[2]={6,MAXCKOVRICH}; pRich->addCategory(catRichGeantRaw, new HMatrixCategory("HGeantRichPhoton",2,ini,0.1) ); Int_t ini1[2]={6,MAXPARTRICH}; pRich->addCategory(catRichGeantRaw+1, new HMatrixCategory("HGeantRichDirect",2,ini1,0.1) ); Int_t ini2[2]={6,MAXMIRRRICH}; pRich->addCategory(catRichGeantRaw+2, new HMatrixCategory("HGeantRichMirror",2,ini2,0.1) ); printf("\n RICH branches added \n"); } FCALLSCSUB0(richbookr,RICHBOOKR,richbookr)