CMS 3D CMS Logo

EcalClusterEnergyUncertaintyBaseClass.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaCoreTools_EcalClusterEnergyUncertaintyBaseClass_h
2 #define RecoEcal_EgammaCoreTools_EcalClusterEnergyUncertaintyBaseClass_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  float getValue( const reco::BasicCluster &, const EcalRecHitCollection & ) const override = 0;
40  float getValue( const reco::SuperCluster &, const int mode ) const override = 0;
41 
42 
43  // set parameters
44  void init( const edm::EventSetup& es ) override;
45 
46  protected:
49 };
50 
51 #endif
int init
Definition: HydjetWrapper.h:67
const EcalClusterEnergyUncertaintyParameters * getParameters() const
const EcalClusterEnergyUncertaintyParameters * params_
HLT enums.
edm::ESHandle< EcalClusterEnergyUncertaintyParameters > esParams_
const JetExtendedData & getValue(const Container &, const reco::JetBaseRef &)
get value for the association. Throw exception if no association found