MarlinKinfitProcessors  0.2.0
TopTester.h
1 #ifndef TopTester_h
2 #define TopTester_h 1
3 
4 #include "marlin/Processor.h"
5 #include "lcio.h"
6 #include <string>
7 #include <TFile.h>
8 #include <TTree.h>
9 #include "TopEventILC.h"
10 
11 using namespace lcio ;
12 using namespace marlin ;
13 
14 
33 class TopTester : public Processor {
34 
35  public:
36 
37  virtual Processor* newProcessor() { return new TopTester ; }
38 
39 
40  TopTester() ;
41 
45  virtual void init() ;
46 
49  virtual void processRunHeader( LCRunHeader* run ) ;
50 
53  virtual void processEvent( LCEvent * evt ) ;
54 
55 
56  virtual void check( LCEvent * evt ) ;
57 
58 
61  virtual void end() ;
62 
63  protected:
64 
67  float _ecm;
68  bool _softmasses, _semileptonic, _traceall, _leptonasjet;
69  int _ifitter, _ievttrace, _ntoy;
70 
71  float prob, topmass, startmassW1, startmassW2;
72  float momentum[3], energy;
73 
74  int _nRun, _nEvt, nit;
75 
76  TopEventILC* topevent;
77 
78 
79  //output
80  // TTree *outTree;
81 
82 } ;
83 
84 #endif
85 
86 
87 
float _ecm
Input parameter: center of mass energy, semileptonic?, which fitter.
Definition: TopTester.h:67
Test processor using TopEventILC Toy MC.
Definition: TopTester.h:33