// #include "hlocalselection.h" #include "hevent.h" #include "hspectrometer.h" #include "hdetector.h" #include "hrichdetector.h" #include "hcategory.h" #include "hiterator.h" #include "hmatrixcatiter.h" #include "hlinearcatiter.h" #include "hlocation.h" #include "hrichcal.h" #include "hrichlocal.h" #include "hdebug.h" #include "hades.h" #include "richdef.h" #include "hrichgeometrypar.h" #include "hrichlocalmaxheader.h" ClassImp(HLocalSelection) HLocalSelection::HLocalSelection(const Text_t *name,const Text_t *title,Float_t lowTheta[6],Float_t highTheta[6],Float_t *minEvt,Float_t *maxEvt,Int_t intSize) : HReconstructor(name,title) { evtIntSize = intSize; minEvent = new Float_t[intSize]; maxEvent = new Float_t[intSize]; for(Int_t i = 0;i getSetup() -> //getDetector("Rich"); return kTRUE; } Int_t HLocalSelection::execute() { evtCount++; //cout<<" evtCount "<< evtCount<minEvent[i]){ //cout<<" evt ok "< Reset(); while ((pLocal = (HRichLocal*) fIter1 -> Next())) { checkPhoton(pLocal->getLocalTheta(),pLocal->getSector()); } for(Int_t i = 0;i<6;i++){ //if(countSec[i]>0) cout<<"countSec[i] at i: "<=3) return kSkipEvent; } */ return 0; } void HLocalSelection::checkPhoton(Float_t theta,Int_t sec){ if(theta>thetaLow[sec]&&theta