CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalClusterCrackCorrectionBaseClass.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaCoreTools_EcalClusterCrackCorrectionBaseClass_h
2 #define RecoEcal_EgammaCoreTools_EcalClusterCrackCorrectionBaseClass_h
3 
14 
17 
19 
21  public:
25 
26  // get/set explicit methods for parameters
28  // check initialization
29  void checkInit() const;
30 
31  // compute the correction
32  virtual float getValue( const reco::BasicCluster &, const EcalRecHitCollection & ) const = 0;
33  virtual float getValue( const reco::SuperCluster &, const int mode ) const = 0;
34 
35  virtual float getValue( const reco::CaloCluster &) const{return 0;};
36  // set parameters
37  virtual void init( const edm::EventSetup& es );
38 
39  protected:
42  const edm::EventSetup * es_; //needed to access the ECAL geometry
43 
44 };
45 
46 #endif
virtual float getValue(const reco::BasicCluster &, const EcalRecHitCollection &) const =0
edm::ESHandle< EcalClusterCrackCorrParameters > esParams_
const EcalClusterCrackCorrParameters * params_
const EcalClusterCrackCorrParameters * getParameters() const
virtual float getValue(const reco::CaloCluster &) const
virtual void init(const edm::EventSetup &es)