CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/RecoLocalCalo/EcalRecProducers/interface/EcalRecHitWorkerBaseClass.h

Go to the documentation of this file.
00001 #ifndef RecoLocalCalo_EcalRecAlgos_EcalRecHitWorkerBaseClass_hh
00002 #define RecoLocalCalo_EcalRecAlgos_EcalRecHitWorkerBaseClass_hh
00003 
00004 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
00005 
00006 namespace edm {
00007         class Event;
00008         class EventSetup;
00009         class ParameterSet;
00010 }
00011 
00012 class EcalRecHitWorkerBaseClass {
00013         public:
00014                 enum RecoveryFlags { EB_single, EE_single, EB_VFE, EE_VFE, EB_FE, EE_FE };
00015 
00016                 EcalRecHitWorkerBaseClass(const edm::ParameterSet&) {};
00017                 virtual ~EcalRecHitWorkerBaseClass() {};
00018 
00019                 virtual void set(const edm::EventSetup& es) = 0;
00020                 virtual bool run(const edm::Event& evt, const EcalUncalibratedRecHit& uncalibRH, EcalRecHitCollection & result) = 0;
00021 };
00022 
00023 #endif