CMS 3D CMS Logo

EcalClusterFunctionBaseClass.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaCoreTools_EcalClusterFunctionBaseClass_hh
2 #define RecoEcal_EgammaCoreTools_EcalClusterFunctionBaseClass_hh
3 
14 //#include "FWCore/Framework/interface/ESHandle.h"
15 //#include "FWCore/Framework/interface/EventSetup.h"
19 
20 namespace edm {
21  class Event;
22  class EventSetup;
23  class ParameterSet;
24 } // namespace edm
25 
27 public:
29  virtual void init(const edm::EventSetup &es) = 0;
30  virtual float getValue(const reco::BasicCluster &, const EcalRecHitCollection &) const = 0;
31  virtual float getValue(const reco::SuperCluster &, const int mode) const = 0;
32  //this one is needed for EcalClusterCrackCorrection:
33  virtual float getValue(const reco::CaloCluster &) const { return 0; };
34 };
35 
36 #endif
int init
Definition: HydjetWrapper.h:64
virtual float getValue(const reco::CaloCluster &) const
HLT enums.
const JetExtendedData & getValue(const Container &, const reco::JetBaseRef &)
get value for the association. Throw exception if no association found