00001 00002 // Class TopEvent 00003 // 00004 // Author: Benno List, Jenny Boehme 00005 // Last update: $Date: 2005/01/12 10:11:46 $ 00006 // by: $Author: blist $ 00007 // 00008 // Description: class to generate and fit top pair events 00009 // 00011 #ifndef __TOPEVENT_H 00012 #define __TOPEVENT_H 00013 00014 #include "jbltools/kinfit/BaseEvent.h" 00015 #include "jbltools/kinfit/JetFitObject.h" 00016 #include "jbltools/kinfit/PConstraint.h" 00017 // #include "jbltools/kinfit/PxConstraint.h" 00018 // #include "jbltools/kinfit/PyConstraint.h" 00019 #include "jbltools/kinfit/MassConstraint.h" 00020 00021 class TopEvent : public BaseEvent { 00022 public: 00023 TopEvent(); 00024 virtual ~TopEvent(); 00025 virtual void genEvent(); 00026 virtual int fitEvent (BaseFitter& fitter); 00027 00028 double genX(double lambda, double xmin); 00029 00030 BaseConstraint& getPxConstraint() {return pxc;}; 00031 BaseConstraint& getPyConstraint() {return pyc;}; 00032 MassConstraint& getW1Constraint() {return w1;}; 00033 MassConstraint& getW2Constraint() {return w2;}; 00034 MassConstraint& getTopConstraint() {return w;}; 00035 00036 ParticleFitObject* getTrueFitObject (int i) {return bfo[i];}; 00037 ParticleFitObject* getSmearedFitObject (int i) {return bfosmear[i];}; 00038 00039 protected: 00040 enum {NFV = 11, NBFO = 6}; 00041 FourVector *fv[NFV]; 00042 ParticleFitObject *bfo[NBFO]; 00043 ParticleFitObject *bfosmear[NBFO]; 00044 00045 PConstraint pxc; 00046 PConstraint pyc; 00047 MassConstraint w1; 00048 MassConstraint w2; 00049 MassConstraint w; 00050 00051 00052 00053 }; 00054 00055 00056 #endif // __TOPEVENT_H