CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/RecoLocalCalo/EcalRecProducers/interface/ESRecHitWorkerBaseClass.h

Go to the documentation of this file.
00001 #ifndef RecoLocalCalo_EcalRecAlgos_ESRecHitWorkerBaseClass_hh
00002 #define RecoLocalCalo_EcalRecAlgos_ESRecHitWorkerBaseClass_hh
00003 
00004 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
00005 #include "DataFormats/EcalDigi/interface/EcalDigiCollections.h"
00006 #include "FWCore/Framework/interface/EventSetup.h"
00007 
00008 namespace edm {
00009         class Event;
00010         class ParameterSet;
00011 }
00012 
00013 class ESRecHitWorkerBaseClass {
00014         public:
00015                 ESRecHitWorkerBaseClass(const edm::ParameterSet&) {};
00016                 virtual ~ESRecHitWorkerBaseClass() {};
00017 
00018                 virtual void set(const edm::EventSetup& es) = 0;
00019                 virtual bool run(const edm::Event& evt, const ESDigiCollection::const_iterator& digi, ESRecHitCollection & result) = 0;
00020 };
00021 
00022 #endif