CMS 3D CMS Logo

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  float getValue( const reco::BasicCluster &, const EcalRecHitCollection & ) const override = 0;
33  float getValue( const reco::SuperCluster &, const int mode ) const override = 0;
34 
35  float getValue( const reco::CaloCluster &) const override{return 0;};
36  // set parameters
37  void init( const edm::EventSetup& es ) override;
38 
39  protected:
42  const edm::EventSetup * es_; //needed to access the ECAL geometry
43 
44 };
45 
46 #endif
edm::ESHandle< EcalClusterCrackCorrParameters > esParams_
float getValue(const reco::CaloCluster &) const override
const EcalClusterCrackCorrParameters * params_
const EcalClusterCrackCorrParameters * getParameters() const
float getValue(const reco::BasicCluster &, const EcalRecHitCollection &) const override=0
void init(const edm::EventSetup &es) override