CMS 3D CMS Logo

Public Member Functions

EcalClusterEnergyUncertaintyObjectSpecificBaseClass Class Reference

#include <EcalClusterEnergyUncertaintyObjectSpecificBaseClass.h>

Inheritance diagram for EcalClusterEnergyUncertaintyObjectSpecificBaseClass:
EcalClusterFunctionBaseClass EcalClusterEnergyUncertaintyObjectSpecific

List of all members.

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 ()

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 ( )
EcalClusterEnergyUncertaintyObjectSpecificBaseClass::EcalClusterEnergyUncertaintyObjectSpecificBaseClass ( const edm::ParameterSet ) [inline]
EcalClusterEnergyUncertaintyObjectSpecificBaseClass::~EcalClusterEnergyUncertaintyObjectSpecificBaseClass ( ) [virtual]

Member Function Documentation

void EcalClusterEnergyUncertaintyObjectSpecificBaseClass::checkInit ( ) const

Definition at line 22 of file EcalClusterEnergyUncertaintyObjectSpecificBaseClass.cc.

Referenced by EcalClusterEnergyUncertaintyObjectSpecific::getValue().

{
  /*
        if ( ! params_ ) {
                // non-initialized function parameters: throw exception
                throw cms::Exception("EcalClusterEnergyUncertaintyObjectSpecificBaseClass::checkInit()") 
                        << "Trying to access an uninitialized crack correction function.\n"
                        "Please call `init( edm::EventSetup &)' before any use of the function.\n";
        }
  */
}
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.

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