MarlinKinfit  0.4.0
DijetEventILC.h
1 // Class DijetEventILC
3 //
4 // Author: Jenny Boehme
5 // Last update: $Date: 2015/11/18 16:43:26 $
6 // by: $Author: boehmej $
7 //
8 // Description: class to generate and fit di jet events at ILC
9 //
11 #ifdef MARLIN_USE_ROOT
12 
13 #ifndef __DIJETEVENTILC_H
14 #define __DIJETEVENTILC_H
15 
16 #include "BaseEvent.h"
17 #include "JetFitObject.h"
18 #include "MomentumConstraint.h"
19 #include "MassConstraint.h"
20 
21 class DijetEventILC : public BaseEvent {
22  public:
23  DijetEventILC();
24  virtual ~DijetEventILC();
25  virtual void genEvent();
26  virtual int fitEvent (BaseFitter& fitter);
27 
28  MomentumConstraint& getPxConstraint() {return pxc;};
29  MomentumConstraint& getPyConstraint() {return pyc;};
30  MomentumConstraint& getPzConstraint() {return pzc;};
31  MomentumConstraint& getEConstraint() {return ec;};
32  MassConstraint& getMassConstraint() {return mc;};
33 
34  void setDebug (bool _debug) {debug = _debug;};
35 
36  ParticleFitObject* getTrueFitObject (int i) {return bfo[i];};
37  ParticleFitObject* getStartFitObject (int i) {return bfostart[i];};
38  ParticleFitObject* getFittedFitObject (int i) {return bfosmear[i];};
39  FourVector* getTrueFourVector (int i) {return fv[i];};
40 
41  bool leptonic, leptonasjet, debug;
42 
43  protected:
44 
45  enum {NFV = 3, NBFO = 2};
46  FourVector *fv[NFV];
47  FourVector *fvsmear[NFV];
48  FourVector *fvfinal[NFV];
49  ParticleFitObject *bfo[NBFO];
50  ParticleFitObject *bfostart[NBFO];
51  ParticleFitObject *bfosmear[NBFO];
52 
57  MassConstraint mc;
58 
59 
60 };
61 
62 
63 #endif // __DIJETEVENTILC_H
64 
65 #endif // MARLIN_USE_ROOT
virtual void genEvent()=0
provides four-momenta (i.e. read values from ntuple, run toy MC, ...)
Declares class MomentumConstraint.
Abstract base class for fitting engines of kinematic fits.
Definition: BaseFitter.h:63
Abstract base class for different kinds of events.
Definition: BaseEvent.h:31
Implements constraint 0 = mass1 - mass2 - m.
Definition: MassConstraint.h:45
Implements a constraint of the form efact*sum(E)+pxfact*sum(px)+pyfact*sum(py)+pzfact*sum(pz)=value.
Definition: MomentumConstraint.h:44
virtual int fitEvent(BaseFitter &fitter)=0
do it!
Abstract base class for particle objects of kinematic fits.
Definition: ParticleFitObject.h:63
Declares class BaseEvent.
Declares class JetFitObject.
Declares class MassConstraint.