00001 #ifndef K_KK_H 00002 #define K_KK_H 00003 00004 #include "GaudiKernel/SmartDataPtr.h" 00005 #include "EvtRecEvent/EvtRecEvent.h" 00006 #include "EvtRecEvent/EvtRecTrack.h" 00007 #include "DstEvent/TofHitStatus.h" 00008 00009 #include "ParticleID/ParticleID.h" 00010 #include <vector> 00011 #include "CLHEP/Vector/ThreeVector.h" 00012 #include "CLHEP/Vector/LorentzVector.h" 00013 #include "CLHEP/Vector/TwoVector.h" 00014 #include "CLHEP/Geometry/Point3D.h" 00015 00016 typedef std::vector<int> Vint; 00017 typedef std::vector<double> Vdouble; 00018 typedef std::vector<HepLorentzVector> Vp4; 00019 00020 class K0kk 00021 { 00022 public: 00023 K0kk(); 00024 ~K0kk(); 00025 00026 public: 00027 inline bool Getk0kkmd() { return k0kkmd; } 00028 inline double Gettagmd() { return tagmd; } 00029 inline double Getmass_bc() { return mass_bc; } 00030 inline double GetCQtm() { return cqtm; } 00031 inline double GetdelE_tag() { return delE_tag; } 00032 inline Vint Gettagtrk1() { return iGoodtag; } 00033 inline HepLorentzVector Gettagp1() { return ptag; } 00034 inline Vint GettagGam1() { return iGamtag; } 00035 00036 public: 00037 void MTotal(double event,SmartDataPtr<EvtRecTrackCol> evtRecTrkCol, Vint iGood,Vint iGam, double Ebeam, int PID_flag, int Charge_candidate_D); 00038 00039 private: 00040 bool k0kkmd; 00041 double tagmd; 00042 double mass_bc; 00043 double cqtm; 00044 double delE_tag; 00045 Vint iGoodtag; 00046 HepLorentzVector ptag; 00047 Vint iGamtag; 00048 00049 }; 00050 00051 #endif