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
EcalClusterEnergyUncertaintyBaseClass Class Referenceabstract

#include <EcalClusterEnergyUncertaintyBaseClass.h>

Inheritance diagram for EcalClusterEnergyUncertaintyBaseClass:
EcalClusterFunctionBaseClass EcalClusterEnergyUncertainty

Public Member Functions

void checkInit () const
 
 EcalClusterEnergyUncertaintyBaseClass ()
 
 EcalClusterEnergyUncertaintyBaseClass (const edm::ParameterSet &)
 
const
EcalClusterEnergyUncertaintyParameters
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 ~EcalClusterEnergyUncertaintyBaseClass ()
 
- Public Member Functions inherited from EcalClusterFunctionBaseClass
virtual float getValue (const reco::CaloCluster &) const
 
virtual ~EcalClusterFunctionBaseClass ()
 

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.

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

Definition at line 30 of file EcalClusterEnergyUncertaintyBaseClass.h.

30 {};
EcalClusterEnergyUncertaintyBaseClass::~EcalClusterEnergyUncertaintyBaseClass ( )
virtual

Definition at line 11 of file EcalClusterEnergyUncertaintyBaseClass.cc.

12 {}

Member Function Documentation

void EcalClusterEnergyUncertaintyBaseClass::checkInit ( ) const

Definition at line 22 of file EcalClusterEnergyUncertaintyBaseClass.cc.

References Exception, and params_.

Referenced by EcalClusterEnergyUncertainty::getValue().

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

Definition at line 34 of file EcalClusterEnergyUncertaintyBaseClass.h.

References params_.

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

Member Data Documentation

edm::ESHandle<EcalClusterEnergyUncertaintyParameters> EcalClusterEnergyUncertaintyBaseClass::esParams_
protected

Definition at line 47 of file EcalClusterEnergyUncertaintyBaseClass.h.

Referenced by init().

const EcalClusterEnergyUncertaintyParameters* EcalClusterEnergyUncertaintyBaseClass::params_
protected