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 | Protected Attributes
EcalClusterEnergyCorrectionObjectSpecificBaseClass Class Referenceabstract

#include <EcalClusterEnergyCorrectionObjectSpecificBaseClass.h>

Inheritance diagram for EcalClusterEnergyCorrectionObjectSpecificBaseClass:
EcalClusterFunctionBaseClass EcalClusterEnergyCorrectionObjectSpecific

Public Member Functions

void checkInit () const
 
 EcalClusterEnergyCorrectionObjectSpecificBaseClass ()
 
 EcalClusterEnergyCorrectionObjectSpecificBaseClass (const edm::ParameterSet &)
 
const
EcalClusterEnergyCorrectionObjectSpecificParameters
getParameters () const
 
virtual float getValue (const reco::BasicCluster &, const EcalRecHitCollection &) const =0
 
virtual float getValue (const reco::SuperCluster &, const int mode) const =0
 
virtual void init (const edm::EventSetup &es)
 
virtual ~EcalClusterEnergyCorrectionObjectSpecificBaseClass ()
 
- Public Member Functions inherited from EcalClusterFunctionBaseClass
virtual float getValue (const reco::CaloCluster &) const
 
virtual ~EcalClusterFunctionBaseClass ()
 

Protected Attributes

edm::ESHandle
< EcalClusterEnergyCorrectionObjectSpecificParameters
esParams_
 
const
EcalClusterEnergyCorrectionObjectSpecificParameters
params_
 

Detailed Description

Definition at line 29 of file EcalClusterEnergyCorrectionObjectSpecificBaseClass.h.

Constructor & Destructor Documentation

EcalClusterEnergyCorrectionObjectSpecificBaseClass::EcalClusterEnergyCorrectionObjectSpecificBaseClass ( )

Definition at line 8 of file EcalClusterEnergyCorrectionObjectSpecificBaseClass.cc.

9 {}
EcalClusterEnergyCorrectionObjectSpecificBaseClass::EcalClusterEnergyCorrectionObjectSpecificBaseClass ( const edm::ParameterSet )
inline

Definition at line 32 of file EcalClusterEnergyCorrectionObjectSpecificBaseClass.h.

32 {};
EcalClusterEnergyCorrectionObjectSpecificBaseClass::~EcalClusterEnergyCorrectionObjectSpecificBaseClass ( )
virtual

Definition at line 11 of file EcalClusterEnergyCorrectionObjectSpecificBaseClass.cc.

12 {}

Member Function Documentation

void EcalClusterEnergyCorrectionObjectSpecificBaseClass::checkInit ( ) const

Definition at line 22 of file EcalClusterEnergyCorrectionObjectSpecificBaseClass.cc.

References Exception, and params_.

23 {
24 
25  if ( ! params_ ) {
26  // non-initialized function parameters: throw exception
27  throw cms::Exception("EcalClusterEnergyCorrectionObjectSpecificBaseClass::checkInit()")
28  << "Trying to access an uninitialized correction function.\n"
29  "Please call `init( edm::EventSetup &)' before any use of the function.\n";
30  }
31 
32 }
const EcalClusterEnergyCorrectionObjectSpecificParameters * params_
const EcalClusterEnergyCorrectionObjectSpecificParameters* EcalClusterEnergyCorrectionObjectSpecificBaseClass::getParameters ( ) const
inline

Definition at line 36 of file EcalClusterEnergyCorrectionObjectSpecificBaseClass.h.

References params_.

36 { return params_; }
const EcalClusterEnergyCorrectionObjectSpecificParameters * params_
virtual float EcalClusterEnergyCorrectionObjectSpecificBaseClass::getValue ( const reco::BasicCluster ,
const EcalRecHitCollection  
) const
pure virtual
virtual float EcalClusterEnergyCorrectionObjectSpecificBaseClass::getValue ( const reco::SuperCluster ,
const int  mode 
) const
pure virtual
void EcalClusterEnergyCorrectionObjectSpecificBaseClass::init ( const edm::EventSetup es)
virtual

Member Data Documentation

edm::ESHandle<EcalClusterEnergyCorrectionObjectSpecificParameters> EcalClusterEnergyCorrectionObjectSpecificBaseClass::esParams_
protected

Definition at line 52 of file EcalClusterEnergyCorrectionObjectSpecificBaseClass.h.

Referenced by init().

const EcalClusterEnergyCorrectionObjectSpecificParameters* EcalClusterEnergyCorrectionObjectSpecificBaseClass::params_
protected