CMS 3D CMS Logo

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