CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalClusterEnergyCorrectionBaseClass.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaCoreTools_EcalClusterEnergyCorrectionBaseClass_h
2 #define RecoEcal_EgammaCoreTools_EcalClusterEnergyCorrectionBaseClass_h
3 
14 
15 //#include "FWCore/ParameterSet/interface/ParameterSet.h"
17 
19 
21 
22 namespace edm {
23  class EventSetup;
24  class ParameterSet;
25 }
26 
28  public:
32 
33  // get/set explicit methods for parameters
35  // check initialization
36  void checkInit() const;
37 
38  // compute the correction
39  virtual float getValue( const reco::BasicCluster &, const EcalRecHitCollection & ) const = 0;
40  virtual float getValue( const reco::SuperCluster &, const int mode ) const = 0;
41 
42 
43  // set parameters
44  virtual void init( const edm::EventSetup& es );
45 
46  protected:
49 };
50 
51 #endif
virtual float getValue(const reco::BasicCluster &, const EcalRecHitCollection &) const =0
virtual void init(const edm::EventSetup &es)
const EcalClusterEnergyCorrectionParameters * getParameters() const
edm::ESHandle< EcalClusterEnergyCorrectionParameters > esParams_
const EcalClusterEnergyCorrectionParameters * params_