CMS 3D CMS Logo

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>

List of all members.

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().

                                   {
                reset();
        }
virtual pftools::CalibrationResultWrapper::~CalibrationResultWrapper ( ) [inline, virtual]

Definition at line 28 of file CalibrationResultWrapper.h.

                                            {
        }

Member Function Documentation

double pftools::CalibrationResultWrapper::bias ( ) const [inline]

Definition at line 41 of file CalibrationResultWrapper.h.

References particleEnergy_, and truthEnergy_.

Referenced by computeCore().

void pftools::CalibrationResultWrapper::compute ( ) [inline]
virtual void pftools::CalibrationResultWrapper::computeCore ( ) [inline, private, virtual]

Definition at line 99 of file CalibrationResultWrapper.h.

References bias(), bias_, ratio(), and ratio_.

Referenced by compute().

                                   {
                bias_ = bias();
                ratio_ = ratio();
        }
double pftools::CalibrationResultWrapper::ratio ( ) const [inline]

Definition at line 45 of file CalibrationResultWrapper.h.

References particleEnergy_, and truthEnergy_.

Referenced by computeCore().

void pftools::CalibrationResultWrapper::reset ( void  ) [inline]

Definition at line 32 of file CalibrationResultWrapper.h.

References resetCore().

Referenced by CalibrationResultWrapper().

                     {
                resetCore();
        }
virtual void pftools::CalibrationResultWrapper::resetCore ( ) [inline, private, virtual]

Member Data Documentation

Definition at line 93 of file CalibrationResultWrapper.h.

Referenced by resetCore().

Definition at line 81 of file CalibrationResultWrapper.h.

Referenced by computeCore(), and resetCore().

Definition at line 86 of file CalibrationResultWrapper.h.

Referenced by computeCore(), and resetCore().