MarlinKinfitProcessors  0.4.2
Public Member Functions | Protected Types | Protected Attributes | List of all members
ZH5CFit Class Reference

An example processor for a kinematic fit. More...

#include <ZH5CFit.h>

Inheritance diagram for ZH5CFit:

Public Member Functions

virtual Processor * newProcessor ()
 
virtual void init ()
 Called at the begin of the job before anything is read. More...
 
virtual void processRunHeader (LCRunHeader *run)
 Called for every run.
 
virtual void processEvent (LCEvent *evt)
 Called for every event - the working horse.
 
virtual void check (LCEvent *evt)
 
virtual void end ()
 Called after data processing for clean up.
 
double JetEnergyResolution (double E)
 
void compcorrect ()
 
void SetZero ()
 

Protected Types

typedef std::vector< int > IntVector
 

Protected Attributes

std::string _jetcolName {}
 Input collection name.
 
std::string _name {}
 
std::string _OutputCollection {}
 
float _ecm {}
 Input parameter: center of mass energy.
 
float _isrpzmax {}
 
int _fitISR {}
 
int _ifitter {}
 
int _ievttrace {}
 
bool _traceall {}
 
double _errene {}
 
double _errtheta {}
 
double _errphi {}
 
std::string _OutCol {}
 
double b {}
 
double ISRPzMaxB {}
 
float prob {}
 
float bestprob {}
 
float bestnit {}
 
float bestmassZ {}
 
float bestmassH {}
 
float beststartmassZ {}
 
float beststartmassH {}
 
float bestphotonenergy {}
 
float startmassZ {}
 
float startmassH {}
 
float variable {}
 
float chi2best
 
float errorcode
 
float Zmomentum [3] {}
 
float Hmomentum [3] {}
 
float ISRmomentum [3] {}
 
float Z_Energy {}
 
float H_Energy {}
 
float momentum [3] {}
 
float energy {}
 
int _nRun {}
 
int _nEvt {}
 
int nit {}
 
int nCo {}
 
int bestperm {}
 
int errorflag {}
 
TTree * ZHTree {}
 
TFile * _fout = nullptr
 
float Hmass_before_fit {}
 
float Hmass_after_fit {}
 
float Hmass_NoFit {}
 
float Error_code {}
 
float hpull_jet1_E {}
 
float hpull_jet2_E {}
 
float hpull_jet3_E {}
 
float hpull_jet4_E {}
 
float hpull_jet1_th {}
 
float hpull_jet2_th {}
 
float hpull_jet3_th {}
 
float hpull_jet4_th {}
 
float hpull_jet1_phi {}
 
float hpull_jet2_phi {}
 
float hpull_jet3_phi {}
 
float hpull_jet4_phi {}
 
int jetmatch {}
 
int jetmatchth {}
 
int jetmatchphi {}
 
std::string _outfile {}
 
int besterr {}
 
double bestzvalue {}
 
double chi2startmassZ {}
 
double chi2startmassH {}
 
double Px {}
 
double Px2 {}
 
double Py {}
 
double Py2 {}
 
double Pz {}
 
double Pz2 {}
 
double pT2 {}
 
double P {}
 
double P2 {}
 
double SigPx2 {}
 
double SigPxSigPy {}
 
double SigPxSigPz {}
 
double SigPy2 {}
 
double SigPySigPz {}
 
double SigPz2 {}
 
double SigE2 {}
 
double dth_dpx {}
 
double dth_dpy {}
 
double dth_dpz {}
 
double dphi_dpx {}
 
double dphi_dpy {}
 
double JetResE {}
 
double JetResTheta {}
 
double JetResPhi {}
 
std::string _colMCP {}
 
std::string _errorflowcollection {}
 
std::string _SLDCol {}
 
int nSLDB {}
 
int nSLDC {}
 
int nSLDBC {}
 
IntVector B_index {}
 
IntVector C_index {}
 
double E_lab
 
double Elab
 
int _NuE {}
 
int _useErrorFlow {}
 
float sigmaScaleFactor {}
 
std::string _NuCorrector {}
 
float ENuplus {}
 
float ENuminus {}
 
float l_px {}
 
float l_py {}
 
float l_pz {}
 
float l_p {}
 
float l_theta {}
 
float l_phi {}
 
float delta_theta [4] {}
 
float delta_phi [4] {}
 
int bestjet_th {}
 
int bestjet_phi {}
 
int bestjet {}
 
int correction {}
 

Detailed Description

An example processor for a kinematic fit.

... testing a W+W- -> 4jets hypothesis with energy and momentum conservation and an equal mass constraint

Input - Prerequisites

Needs 4 reconstructed jets

Output

A histogram.

Parameters
CollectionNameName of the ReconstructedParticle collection
Author
J. List, DESY
Version
Id:
ZH5CFit.h,v 1.2 2010/07/19 23:41:46 mbeckman Exp

Member Function Documentation

void ZH5CFit::init ( )
virtual

Called at the begin of the job before anything is read.

Use to initialize the processor, e.g. book histograms.

References _ecm.


The documentation for this class was generated from the following files: