CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalClusterEnergyUncertaintyObjectSpecificBaseClass.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaCoreTools_EcalClusterEnergyUncertaintyObjectSpecificBaseClass_h
2 #define RecoEcal_EgammaCoreTools_EcalClusterEnergyUncertaintyObjectSpecificBaseClass_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
34  //const EcalClusterEnergyUncertaintyParameters * getParameters() const { return params_; }
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:
47  //edm::ESHandle<EcalClusterEnergyUncertaintyObjectSpecificParameters> esParams_;
48  //const EcalClusterEnergyUncertaintyObjectSpecificParameters * params_;
49 };
50 
51 #endif
virtual float getValue(const reco::BasicCluster &, const EcalRecHitCollection &) const =0