test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Private Member Functions
pftools::CalibrationResultWrapper Class Reference

A small class designed to hold the result of a calibration of a SingleParticleWrapper. More...

#include <CalibrationResultWrapper.h>

Public Member Functions

double bias () const
 
 CalibrationResultWrapper ()
 
void compute ()
 
double ratio () const
 
void reset ()
 
virtual ~CalibrationResultWrapper ()
 

Public Attributes

double a_
 
double b_
 
double bias_
 
double c_
 
double ecalEnergy_
 
double hcalEnergy_
 
double particleEnergy_
 
CalibrationProvenance provenance_
 
double ratio_
 
CalibrationTarget target_
 
double targetFuncContrib_
 
double truthEnergy_
 

Private Member Functions

virtual void computeCore ()
 
virtual void resetCore ()
 

Detailed Description

A small class designed to hold the result of a calibration of a SingleParticleWrapper.

Author
Jamie Ballin
Date
May 2008

Definition at line 18 of file CalibrationResultWrapper.h.

Constructor & Destructor Documentation

pftools::CalibrationResultWrapper::CalibrationResultWrapper ( )
inline

Definition at line 24 of file CalibrationResultWrapper.h.

References reset().

virtual pftools::CalibrationResultWrapper::~CalibrationResultWrapper ( )
inlinevirtual

Definition at line 28 of file CalibrationResultWrapper.h.

28  {
29  }

Member Function Documentation

double pftools::CalibrationResultWrapper::bias ( ) const
inline
void pftools::CalibrationResultWrapper::compute ( )
inline
virtual void pftools::CalibrationResultWrapper::computeCore ( )
inlineprivatevirtual
double pftools::CalibrationResultWrapper::ratio ( ) const
inline
void pftools::CalibrationResultWrapper::reset ( void  )
inline

Definition at line 32 of file CalibrationResultWrapper.h.

References resetCore().

Referenced by CalibrationResultWrapper().

32  {
33  resetCore();
34  }
virtual void pftools::CalibrationResultWrapper::resetCore ( )
inlineprivatevirtual

Definition at line 104 of file CalibrationResultWrapper.h.

References a_, b_, bias_, c_, ecalEnergy_, hcalEnergy_, particleEnergy_, provenance_, ratio_, target_, targetFuncContrib_, truthEnergy_, pftools::UNCALIBRATED, and pftools::UNDEFINED.

Referenced by reset().

104  {
105  truthEnergy_ = 0;
106  ecalEnergy_ = 0;
107  hcalEnergy_ = 0;
108  particleEnergy_ = 0;
110  target_ = UNDEFINED;
111  bias_ = 0;
112  ratio_ = 1.0;
113  targetFuncContrib_ = 0;
114  a_ = 0.0;
115  b_ = 1.0;
116  c_ = 1.0;
117  }

Member Data Documentation

double pftools::CalibrationResultWrapper::a_

Definition at line 93 of file CalibrationResultWrapper.h.

Referenced by resetCore().

double pftools::CalibrationResultWrapper::b_
double pftools::CalibrationResultWrapper::bias_

Definition at line 81 of file CalibrationResultWrapper.h.

Referenced by computeCore(), and resetCore().

double pftools::CalibrationResultWrapper::c_
double pftools::CalibrationResultWrapper::ecalEnergy_
double pftools::CalibrationResultWrapper::hcalEnergy_
double pftools::CalibrationResultWrapper::particleEnergy_
CalibrationProvenance pftools::CalibrationResultWrapper::provenance_
double pftools::CalibrationResultWrapper::ratio_

Definition at line 86 of file CalibrationResultWrapper.h.

Referenced by computeCore(), and resetCore().

CalibrationTarget pftools::CalibrationResultWrapper::target_
double pftools::CalibrationResultWrapper::targetFuncContrib_
double pftools::CalibrationResultWrapper::truthEnergy_