CMS 3D CMS Logo

List of all members | Public Member Functions
EcalClusterEnergyUncertaintyObjectSpecificBaseClass Class Referenceabstract

#include <EcalClusterEnergyUncertaintyObjectSpecificBaseClass.h>

Inheritance diagram for EcalClusterEnergyUncertaintyObjectSpecificBaseClass:
EcalClusterFunctionBaseClass EcalClusterEnergyUncertaintyObjectSpecific

Public Member Functions

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

Detailed Description

Function to correct cluster for the so called local containment

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

Author
Nicolas Chanon, December 2011

Definition at line 27 of file EcalClusterEnergyUncertaintyObjectSpecificBaseClass.h.

Constructor & Destructor Documentation

EcalClusterEnergyUncertaintyObjectSpecificBaseClass::EcalClusterEnergyUncertaintyObjectSpecificBaseClass ( )

Definition at line 8 of file EcalClusterEnergyUncertaintyObjectSpecificBaseClass.cc.

9 {}
EcalClusterEnergyUncertaintyObjectSpecificBaseClass::EcalClusterEnergyUncertaintyObjectSpecificBaseClass ( const edm::ParameterSet )
inline
EcalClusterEnergyUncertaintyObjectSpecificBaseClass::~EcalClusterEnergyUncertaintyObjectSpecificBaseClass ( )
override

Definition at line 11 of file EcalClusterEnergyUncertaintyObjectSpecificBaseClass.cc.

12 {}

Member Function Documentation

void EcalClusterEnergyUncertaintyObjectSpecificBaseClass::checkInit ( ) const

Definition at line 22 of file EcalClusterEnergyUncertaintyObjectSpecificBaseClass.cc.

Referenced by EcalClusterEnergyUncertaintyObjectSpecific::getValue().

23 {
24  /*
25  if ( ! params_ ) {
26  // non-initialized function parameters: throw exception
27  throw cms::Exception("EcalClusterEnergyUncertaintyObjectSpecificBaseClass::checkInit()")
28  << "Trying to access an uninitialized crack correction function.\n"
29  "Please call `init( edm::EventSetup &)' before any use of the function.\n";
30  }
31  */
32 }
float EcalClusterEnergyUncertaintyObjectSpecificBaseClass::getValue ( const reco::BasicCluster ,
const EcalRecHitCollection  
) const
overridepure virtual
float EcalClusterEnergyUncertaintyObjectSpecificBaseClass::getValue ( const reco::SuperCluster ,
const int  mode 
) const
overridepure virtual
void EcalClusterEnergyUncertaintyObjectSpecificBaseClass::init ( const edm::EventSetup es)
overridevirtual

Implements EcalClusterFunctionBaseClass.

Definition at line 15 of file EcalClusterEnergyUncertaintyObjectSpecificBaseClass.cc.

16 {
17  //es.get<EcalClusterEnergyUncertaintyParametersRcd>().get( esParams_ );
18  //params_ = esParams_.product();
19 }