File indexing completed on 2024-06-13 03:24:06
0001 #ifndef RecoLocalCalo_HGCalRecProducers_HGCalUncalibRecHitWorkerBaseClass_hh
0002 #define RecoLocalCalo_HGCalRecProducers_HGCalUncalibRecHitWorkerBaseClass_hh
0003
0004 #include "DataFormats/HGCRecHit/interface/HGCRecHitCollections.h"
0005 #include "DataFormats/HGCDigi/interface/HGCDigiCollections.h"
0006 #include "FWCore/Framework/interface/ConsumesCollector.h"
0007 #include "Geometry/HGCalGeometry/interface/HGCalGeometry.h"
0008
0009 namespace edm {
0010 class Event;
0011 class EventSetup;
0012 class ParameterSet;
0013 }
0014
0015
0016
0017 class HGCalUncalibRecHitWorkerBaseClass {
0018 public:
0019 HGCalUncalibRecHitWorkerBaseClass(const edm::ParameterSet& ps, edm::ConsumesCollector iC, bool localTime) {}
0020 virtual ~HGCalUncalibRecHitWorkerBaseClass() {}
0021
0022
0023 virtual bool runHGCEE(const edm::ESHandle<HGCalGeometry>& geom,
0024 const HGCalDigiCollection& digis,
0025 HGCeeUncalibratedRecHitCollection& result) = 0;
0026
0027
0028 virtual bool runHGCHEsil(const edm::ESHandle<HGCalGeometry>& geom,
0029 const HGCalDigiCollection& digis,
0030 HGChefUncalibratedRecHitCollection& result) = 0;
0031
0032
0033 virtual bool runHGCHEscint(const edm::ESHandle<HGCalGeometry>& geom,
0034 const HGCalDigiCollection& digis,
0035 HGChebUncalibratedRecHitCollection& result) = 0;
0036
0037
0038 virtual bool runHGCHFNose(const edm::ESHandle<HGCalGeometry>& geom,
0039 const HGCalDigiCollection& digis,
0040 HGChfnoseUncalibratedRecHitCollection& result) = 0;
0041
0042 bool computeLocalTime_ = false;
0043 };
0044
0045 #endif