CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 &)
 
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 ~EcalClusterEnergyUncertaintyObjectSpecificBaseClass ()
 
- 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

Definition at line 30 of file EcalClusterEnergyUncertaintyObjectSpecificBaseClass.h.

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

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 }
virtual float EcalClusterEnergyUncertaintyObjectSpecificBaseClass::getValue ( const reco::BasicCluster ,
const EcalRecHitCollection  
) const
pure virtual
virtual float EcalClusterEnergyUncertaintyObjectSpecificBaseClass::getValue ( const reco::SuperCluster ,
const int  mode 
) const
pure virtual
void EcalClusterEnergyUncertaintyObjectSpecificBaseClass::init ( const edm::EventSetup es)
virtual

Implements EcalClusterFunctionBaseClass.

Definition at line 15 of file EcalClusterEnergyUncertaintyObjectSpecificBaseClass.cc.

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