00001 00002 // Class K0Event 00003 // 00004 // Author: Benno List, Jenny Boehme 00005 // Last update: $Date: 2005/01/12 10:11:45 $ 00006 // by: $Author: blist $ 00007 // 00008 // Description: class to generate and fit K0S events 00009 // 00011 #ifndef __K0Event_H 00012 #define __K0Event_H 00013 00014 #include "jbltools/kinfit/BaseEvent.h" 00015 // #include "jbltools/kinfit/TrackFitObject.h" 00016 class TrackFitObject; 00017 class ThreeVector; 00018 class ChargedParticleTrack; 00019 class NeutralParticleTrack; 00020 00021 class K0Event : public BaseEvent { 00022 public: 00023 K0Event(); 00024 virtual ~K0Event(); 00025 virtual void genEvent(); 00026 virtual int fitEvent (BaseFitter& fitter); 00027 00028 TrackFitObject* getTrueFitObject (int i) {return gentrack[i];}; 00029 TrackFitObject* getSmearedFitObject (int i) {return rectrack[i];}; 00030 ChargedParticleTrack *createSmearedChargedTrack (const char *name, const ChargedParticleTrack& in); 00031 00032 public: 00033 enum {NFV = 3, NTFO = 3, NVER=2}; 00034 FourVector *fv[NFV]; 00035 TrackFitObject *gentrack[NTFO]; 00036 TrackFitObject *smtrack[NTFO]; 00037 TrackFitObject *rectrack[NTFO]; 00038 ThreeVector *genvert[NVER]; 00039 00040 }; 00041 00042 00043 #endif // __K0Event_H