All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ErrorFlow Class Reference

#include <ErrorFlow.h>

Inheritance diagram for ErrorFlow:
[legend]

Public Member Functions

virtual ProcessornewProcessor ()
 
 ErrorFlow ()
 
virtual void init ()
 Called at the begin of the job before anything is read. More...
 
virtual void processRunHeader (LCRunHeader *run)
 Called for every run. More...
 
virtual void end ()
 Called after data processing for clean up. More...
 
void resetVariables ()
 
double * getRelativeConfusion (double jetEnergy, double chargedHadronsEnergy, double photonsEnergy, double neutralHadronsEnergy, double relConfTerms[])
 
virtual void processEvent (LCEvent *evt)
 Called for every event - the working horse. More...
 
virtual void check (LCEvent *evt)
 

Protected Member Functions

double getPhotonSigmaESqr (double t_phEnergy)
 
double getNeuHadSigmaESqr (double t_neuHadEnergy)
 
double getTotalMomentum (const double *t_threeMomentum)
 

Protected Attributes

std::string p_inputJetCollection {}
 Input collection name. More...
 
std::string p_outputJetCollection {}
 
std::string p_inputMCTruth {}
 
bool p_semiLepCorrection {}
 
bool p_confusionterm {}
 
bool p_propagateConfusiontoMomentumComp {}
 
double p_semiLepSigmaCorrFactor {}
 
double p_CovMatFactorPhotons {}
 
double p_CovMatFactorNeutralHadrons {}
 
double p_scaleConf {}
 
double p_aECAL {}
 
double p_cECAL {}
 
double p_aHCAL {}
 
double p_cHCAL {}
 
bool p_storeTree {}
 
bool p_useFullCovMatNeut {}
 
int numChargedPFOs {}
 
int numPhotons {}
 
int numNeutralPFOs {}
 
double eChargedPFOs {}
 
double ePhotons {}
 
double eNeutralPFOs {}
 
double eJetTotal {}
 
double eLeptonsTotal {}
 
double absDetResSquared {}
 
double relConfCharged {}
 
double relConfPhotons {}
 
double relConfNeutral {}
 
double relConfSquared {}
 
double absConfSquared {}
 
double absSemiLepResSquared {}
 
int p_nRun {}
 
int p_nEvt {}
 

Private Attributes

std::shared_ptr< TTree > tree {}
 
ReconstructedParticleVec::size_type nPFOs {}
 

Detailed Description

Definition at line 45 of file ErrorFlow.h.

Constructor & Destructor Documentation

ErrorFlow::ErrorFlow ( )

Definition at line 50 of file ErrorFlow.cc.

Member Function Documentation

void ErrorFlow::check ( LCEvent *  evt)
virtual

Definition at line 599 of file ErrorFlow.cc.

void ErrorFlow::end ( )
virtual

Called after data processing for clean up.

Definition at line 610 of file ErrorFlow.cc.

double ErrorFlow::getNeuHadSigmaESqr ( double  t_neuHadEnergy)
protected

Definition at line 565 of file ErrorFlow.cc.

double ErrorFlow::getPhotonSigmaESqr ( double  t_phEnergy)
protected

Definition at line 546 of file ErrorFlow.cc.

double * ErrorFlow::getRelativeConfusion ( double  jetEnergy,
double  chargedHadronsEnergy,
double  photonsEnergy,
double  neutralHadronsEnergy,
double  relConfTerms[] 
)

Definition at line 474 of file ErrorFlow.cc.

double ErrorFlow::getTotalMomentum ( const double *  t_threeMomentum)
protected

Definition at line 581 of file ErrorFlow.cc.

void ErrorFlow::init ( )
virtual

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

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

Definition at line 157 of file ErrorFlow.cc.

virtual Processor* ErrorFlow::newProcessor ( )
inlinevirtual

Definition at line 49 of file ErrorFlow.h.

void ErrorFlow::processEvent ( LCEvent *  evt)
virtual

Called for every event - the working horse.

Definition at line 219 of file ErrorFlow.cc.

void ErrorFlow::processRunHeader ( LCRunHeader *  run)
virtual

Called for every run.

Definition at line 199 of file ErrorFlow.cc.

void ErrorFlow::resetVariables ( )

Definition at line 437 of file ErrorFlow.cc.

Member Data Documentation

double ErrorFlow::absConfSquared {}
protected

Definition at line 142 of file ErrorFlow.h.

double ErrorFlow::absDetResSquared {}
protected

Definition at line 137 of file ErrorFlow.h.

double ErrorFlow::absSemiLepResSquared {}
protected

Definition at line 143 of file ErrorFlow.h.

double ErrorFlow::eChargedPFOs {}
protected

Definition at line 130 of file ErrorFlow.h.

double ErrorFlow::eJetTotal {}
protected

Definition at line 133 of file ErrorFlow.h.

double ErrorFlow::eLeptonsTotal {}
protected

Definition at line 134 of file ErrorFlow.h.

double ErrorFlow::eNeutralPFOs {}
protected

Definition at line 132 of file ErrorFlow.h.

double ErrorFlow::ePhotons {}
protected

Definition at line 131 of file ErrorFlow.h.

ReconstructedParticleVec::size_type ErrorFlow::nPFOs {}
private

Definition at line 153 of file ErrorFlow.h.

int ErrorFlow::numChargedPFOs {}
protected

Definition at line 125 of file ErrorFlow.h.

int ErrorFlow::numNeutralPFOs {}
protected

Definition at line 127 of file ErrorFlow.h.

int ErrorFlow::numPhotons {}
protected

Definition at line 126 of file ErrorFlow.h.

double ErrorFlow::p_aECAL {}
protected

Definition at line 115 of file ErrorFlow.h.

double ErrorFlow::p_aHCAL {}
protected

Definition at line 117 of file ErrorFlow.h.

double ErrorFlow::p_cECAL {}
protected

Definition at line 116 of file ErrorFlow.h.

double ErrorFlow::p_cHCAL {}
protected

Definition at line 118 of file ErrorFlow.h.

bool ErrorFlow::p_confusionterm {}
protected

Definition at line 105 of file ErrorFlow.h.

double ErrorFlow::p_CovMatFactorNeutralHadrons {}
protected

Definition at line 109 of file ErrorFlow.h.

double ErrorFlow::p_CovMatFactorPhotons {}
protected

Definition at line 108 of file ErrorFlow.h.

std::string ErrorFlow::p_inputJetCollection {}
protected

Input collection name.

Definition at line 99 of file ErrorFlow.h.

std::string ErrorFlow::p_inputMCTruth {}
protected

Definition at line 101 of file ErrorFlow.h.

int ErrorFlow::p_nEvt {}
protected

Definition at line 146 of file ErrorFlow.h.

int ErrorFlow::p_nRun {}
protected

Definition at line 145 of file ErrorFlow.h.

std::string ErrorFlow::p_outputJetCollection {}
protected

Definition at line 100 of file ErrorFlow.h.

bool ErrorFlow::p_propagateConfusiontoMomentumComp {}
protected

Definition at line 106 of file ErrorFlow.h.

double ErrorFlow::p_scaleConf {}
protected

Definition at line 112 of file ErrorFlow.h.

bool ErrorFlow::p_semiLepCorrection {}
protected

Definition at line 104 of file ErrorFlow.h.

double ErrorFlow::p_semiLepSigmaCorrFactor {}
protected

Definition at line 107 of file ErrorFlow.h.

bool ErrorFlow::p_storeTree {}
protected

Definition at line 121 of file ErrorFlow.h.

bool ErrorFlow::p_useFullCovMatNeut {}
protected

Definition at line 122 of file ErrorFlow.h.

double ErrorFlow::relConfCharged {}
protected

Definition at line 138 of file ErrorFlow.h.

double ErrorFlow::relConfNeutral {}
protected

Definition at line 140 of file ErrorFlow.h.

double ErrorFlow::relConfPhotons {}
protected

Definition at line 139 of file ErrorFlow.h.

double ErrorFlow::relConfSquared {}
protected

Definition at line 141 of file ErrorFlow.h.

std::shared_ptr<TTree> ErrorFlow::tree {}
private

Definition at line 152 of file ErrorFlow.h.


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