//*-- AUTHOR : M. Wisniowski //*-- Modified : 13/9/2005 #ifndef HHYP_PPEPEMGAMMA_PROJECTOR_H #define HHYP_PPEPEMGAMMA_PROJECTOR_H #include #include #include #include "htofhit.h" #include "hevent.h" #include "heventheader.h" #include "hdetector.h" #include "hratreeext.h" #include "hcategory.h" #include "hmatrixcategory.h" #include "hlinearcategory.h" #include "hlinearcatiter.h" #include "hlocation.h" #include "hiterator.h" #include "hdebug.h" #include "hades.h" #include "hhyplist.h" #include "hhypchannel.h" #include "hypinfodef.h" #include "hsplinetrack.h" #include "hrktrackB.h" #include "hmessagemgr.h" #include "hpidhitdata.h" #include "hpidtrackcand.h" #include "hpidcandidate.h" #include "hphysicsconstants.h" #include "hpidfl.h" #include "piddef.h" #include "kickdef.h" #include "hmdctrackgdef.h" #include "hmdcdef.h" #include "hruntimedb.h" #include "TObject.h" #include "TArrayI.h" #include "TNtuple.h" #include "TFile.h" #include "hhypbasealgorithm.h" #include #include #include #include #include "TCutG.h" class HHypPPEpEmGammaProjector:public HHypBaseAlgorithm { private: TNtuple *pp; HEnergyLossCorrPar enLossCorr; Int_t simuflag; HCategory *simCat; HCategory *CatTrackCandSim; TCutG *p_CutG, *pip_CutG, *p_pip_CutG; TString paramFile; Bool_t gcutFlag; protected: public: HHypPPEpEmGammaProjector(Char_t *name_i = NULL, Option_t par[] = NULL); virtual ~ HHypPPEpEmGammaProjector(void); Bool_t execute(); Bool_t init(); Bool_t reinit(); Bool_t finalize(); Bool_t IsOpposit(Short_t, Short_t); Bool_t SetParamFile(TString pFile); Float_t calcVertex(HPidTrackCand *p1, HPidTrackCand *p2, TVector3 *vertex, TVector3 *distance); ClassDef(HHypPPEpEmGammaProjector, 0) // creates ntuples for PP reactions }; //============================================================================ #endif