CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 }
25 
26 
28  public:
30  virtual void init( const edm::EventSetup& es ) = 0;
31  virtual float getValue( const reco::BasicCluster &, const EcalRecHitCollection & ) const = 0;
32  virtual float getValue( const reco::SuperCluster &, const int mode ) const = 0;
33  //this one is needed for EcalClusterCrackCorrection:
34  virtual float getValue( const reco::CaloCluster &) const {return 0;};
35 
36 };
37 
38 #endif
Definition: Event.h:16
virtual float getValue(const reco::BasicCluster &, const EcalRecHitCollection &) const =0
virtual float getValue(const reco::CaloCluster &) const
virtual void init(const edm::EventSetup &es)=0