File indexing completed on 2024-04-06 12:25:41
0001 #ifndef RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitWorkerBaseClass_hh
0002 #define RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitWorkerBaseClass_hh
0003
0004 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
0005 #include "DataFormats/EcalDigi/interface/EcalDigiCollections.h"
0006 #include "FWCore/Framework/interface/ConsumesCollector.h"
0007
0008 namespace edm {
0009 class Event;
0010 class EventSetup;
0011 class ParameterSet;
0012 class ParameterSetDescription;
0013
0014 }
0015
0016 class EcalUncalibRecHitWorkerBaseClass {
0017 public:
0018 EcalUncalibRecHitWorkerBaseClass(const edm::ParameterSet&, edm::ConsumesCollector& c) {}
0019 EcalUncalibRecHitWorkerBaseClass(const edm::ParameterSet&) {}
0020 EcalUncalibRecHitWorkerBaseClass() {}
0021 virtual ~EcalUncalibRecHitWorkerBaseClass() {}
0022
0023 virtual void set(const edm::EventSetup& es) = 0;
0024 virtual void set(const edm::Event& evt) {}
0025
0026 virtual void run(const edm::Event& evt,
0027 const EcalDigiCollection& digis,
0028 EcalUncalibratedRecHitCollection& result) = 0;
0029
0030 virtual edm::ParameterSetDescription getAlgoDescription() = 0;
0031 };
0032
0033 #endif