4 #include "marlin/Processor.h"
9 #include "TopEventILC.h"
12 using namespace lcio ;
13 using namespace marlin ;
38 virtual Processor* newProcessor() {
return new ZH5CFit ; }
50 virtual void processRunHeader( LCRunHeader* run ) ;
54 virtual void processEvent( LCEvent * evt ) ;
57 virtual void check( LCEvent * evt ) ;
64 double JetEnergyResolution(
double E);
72 std::string _jetcolName{}, _name{}, _OutputCollection{} ;
75 float _ecm{}, _isrpzmax{};
76 int _fitISR{}, _ifitter{}, _ievttrace{};
78 double _errene{}, _errtheta{}, _errphi{};
79 std::string _OutCol{};
80 double b{}, ISRPzMaxB{};
82 float prob{}, bestprob{}, bestnit{}, bestmassZ{}, bestmassH{}, beststartmassZ{}, beststartmassH{}, bestphotonenergy{}, startmassZ{}, startmassH{}, variable{};
85 float Zmomentum[3]{}, Hmomentum[3]{}, ISRmomentum[3]{};
86 float Z_Energy{}, H_Energy{};
87 float momentum[3]{}, energy{};
88 int _nRun{}, _nEvt{}, nit{}, nCo{};
90 int bestperm{}, errorflag{};
92 TFile* _fout = nullptr ;
94 float Hmass_before_fit{}, Hmass_after_fit{}, Hmass_NoFit{};
96 float hpull_jet1_E{}, hpull_jet2_E{}, hpull_jet3_E{}, hpull_jet4_E{};
97 float hpull_jet1_th{}, hpull_jet2_th{}, hpull_jet3_th{}, hpull_jet4_th{};
98 float hpull_jet1_phi{}, hpull_jet2_phi{}, hpull_jet3_phi{}, hpull_jet4_phi{};
99 int jetmatch{}, jetmatchth{}, jetmatchphi{};
100 std::string _outfile{};
103 double bestzvalue{} ;
104 double chi2startmassZ{}, chi2startmassH {};
106 double Px{}, Px2{}, Py{}, Py2{}, Pz{}, Pz2{}, pT2{}, P{}, P2{};
107 double SigPx2{}, SigPxSigPy{}, SigPxSigPz{}, SigPy2{}, SigPySigPz{}, SigPz2{}, SigE2{};
108 double dth_dpx{}, dth_dpy{}, dth_dpz{}, dphi_dpx{}, dphi_dpy{}, JetResE{}, JetResTheta{}, JetResPhi{};
111 std::string _colMCP{} ;
112 std::string _errorflowcollection {};
113 std::string _SLDCol {};
117 typedef std::vector<int> IntVector;
124 float sigmaScaleFactor{};
125 std::string _NuCorrector{};
134 float delta_theta[4]{};
135 float delta_phi[4]{};
An example processor for a kinematic fit.
Definition: ZH5CFit.h:34