CMS 3D CMS Logo

Public Member Functions | Protected Attributes

EcalClusterEnergyUncertaintyBaseClass Class Reference

#include <EcalClusterEnergyUncertaintyBaseClass.h>

Inheritance diagram for EcalClusterEnergyUncertaintyBaseClass:
EcalClusterFunctionBaseClass EcalClusterEnergyUncertainty

List of all members.

Public Member Functions

void checkInit () const
 EcalClusterEnergyUncertaintyBaseClass ()
 EcalClusterEnergyUncertaintyBaseClass (const edm::ParameterSet &)
const
EcalClusterEnergyUncertaintyParameters
getParameters () const
virtual float getValue (const reco::SuperCluster &, const int mode) const =0
virtual float getValue (const reco::BasicCluster &, const EcalRecHitCollection &) const =0
virtual void init (const edm::EventSetup &es)
virtual ~EcalClusterEnergyUncertaintyBaseClass ()

Protected Attributes

edm::ESHandle
< EcalClusterEnergyUncertaintyParameters
esParams_
const
EcalClusterEnergyUncertaintyParameters
params_

Detailed Description

Function to correct cluster for the so called local containment

$Id: EcalClusterEnergyUncertaintyBaseClass.h $Date: $Revision:

Author:
Yurii Maravin, KSU, March 20, 2009

Definition at line 27 of file EcalClusterEnergyUncertaintyBaseClass.h.


Constructor & Destructor Documentation

EcalClusterEnergyUncertaintyBaseClass::EcalClusterEnergyUncertaintyBaseClass ( )

Definition at line 8 of file EcalClusterEnergyUncertaintyBaseClass.cc.

{}
EcalClusterEnergyUncertaintyBaseClass::EcalClusterEnergyUncertaintyBaseClass ( const edm::ParameterSet ) [inline]

Definition at line 30 of file EcalClusterEnergyUncertaintyBaseClass.h.

{};
EcalClusterEnergyUncertaintyBaseClass::~EcalClusterEnergyUncertaintyBaseClass ( ) [virtual]

Definition at line 11 of file EcalClusterEnergyUncertaintyBaseClass.cc.

{}

Member Function Documentation

void EcalClusterEnergyUncertaintyBaseClass::checkInit ( ) const

Definition at line 22 of file EcalClusterEnergyUncertaintyBaseClass.cc.

References Exception, and params_.

Referenced by EcalClusterEnergyUncertainty::getValue().

{
        if ( ! params_ ) {
                // non-initialized function parameters: throw exception
                throw cms::Exception("EcalClusterEnergyUncertaintyBaseClass::checkInit()") 
                        << "Trying to access an uninitialized crack correction function.\n"
                        "Please call `init( edm::EventSetup &)' before any use of the function.\n";
        }
}
const EcalClusterEnergyUncertaintyParameters* EcalClusterEnergyUncertaintyBaseClass::getParameters ( ) const [inline]

Definition at line 34 of file EcalClusterEnergyUncertaintyBaseClass.h.

References params_.

{ return params_; }
virtual float EcalClusterEnergyUncertaintyBaseClass::getValue ( const reco::SuperCluster ,
const int  mode 
) const [pure virtual]
virtual float EcalClusterEnergyUncertaintyBaseClass::getValue ( const reco::BasicCluster ,
const EcalRecHitCollection  
) const [pure virtual]
void EcalClusterEnergyUncertaintyBaseClass::init ( const edm::EventSetup es) [virtual]

Member Data Documentation

Definition at line 47 of file EcalClusterEnergyUncertaintyBaseClass.h.

Referenced by init().