CMS 3D CMS Logo

Public Member Functions | Protected Attributes

EcalClusterLocalContCorrectionBaseClass Class Reference

#include <EcalClusterLocalContCorrectionBaseClass.h>

Inheritance diagram for EcalClusterLocalContCorrectionBaseClass:
EcalClusterFunctionBaseClass EcalBasicClusterLocalContCorrection EcalClusterLocalContCorrection

List of all members.

Public Member Functions

void checkInit () const
 EcalClusterLocalContCorrectionBaseClass ()
 EcalClusterLocalContCorrectionBaseClass (const edm::ParameterSet &)
const
EcalClusterLocalContCorrParameters
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 ~EcalClusterLocalContCorrectionBaseClass ()

Protected Attributes

const edm::EventSetupes_
edm::ESHandle
< EcalClusterLocalContCorrParameters
esParams_
const
EcalClusterLocalContCorrParameters
params_

Detailed Description

Definition at line 28 of file EcalClusterLocalContCorrectionBaseClass.h.


Constructor & Destructor Documentation

EcalClusterLocalContCorrectionBaseClass::EcalClusterLocalContCorrectionBaseClass ( )

Definition at line 8 of file EcalClusterLocalContCorrectionBaseClass.cc.

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

Definition at line 31 of file EcalClusterLocalContCorrectionBaseClass.h.

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

Definition at line 11 of file EcalClusterLocalContCorrectionBaseClass.cc.

{}

Member Function Documentation

void EcalClusterLocalContCorrectionBaseClass::checkInit ( ) const

Definition at line 23 of file EcalClusterLocalContCorrectionBaseClass.cc.

References Exception, and params_.

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

Definition at line 35 of file EcalClusterLocalContCorrectionBaseClass.h.

References params_.

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

Member Data Documentation

Definition at line 49 of file EcalClusterLocalContCorrectionBaseClass.h.

Referenced by init().

Definition at line 47 of file EcalClusterLocalContCorrectionBaseClass.h.

Referenced by init().

Definition at line 48 of file EcalClusterLocalContCorrectionBaseClass.h.

Referenced by checkInit(), getParameters(), and init().