Back to home page

Project CMSSW displayed by LXR

 
 

    


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 }  // namespace edm
0014 
0015 // this worker class structure is not well thought out and needs to
0016 // change in the future.
0017 class HGCalUncalibRecHitWorkerBaseClass {
0018 public:
0019   HGCalUncalibRecHitWorkerBaseClass(const edm::ParameterSet& ps, edm::ConsumesCollector iC, bool localTime) {}
0020   virtual ~HGCalUncalibRecHitWorkerBaseClass() {}
0021 
0022   // run HGC-EE things
0023   virtual bool runHGCEE(const edm::ESHandle<HGCalGeometry>& geom,
0024                         const HGCalDigiCollection& digis,
0025                         HGCeeUncalibratedRecHitCollection& result) = 0;
0026 
0027   // run HGC-FH things
0028   virtual bool runHGCHEsil(const edm::ESHandle<HGCalGeometry>& geom,
0029                            const HGCalDigiCollection& digis,
0030                            HGChefUncalibratedRecHitCollection& result) = 0;
0031 
0032   // run HGC-BH things
0033   virtual bool runHGCHEscint(const edm::ESHandle<HGCalGeometry>& geom,
0034                              const HGCalDigiCollection& digis,
0035                              HGChebUncalibratedRecHitCollection& result) = 0;
0036 
0037   // run HFNose things
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