CMS 3D CMS Logo

ESRecHitProducer.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecProducers_ESRecHitProducer_HH
2 #define RecoLocalCalo_EcalRecProducers_ESRecHitProducer_HH
3 
9 
12 
13 // ESRecHitProducer author : Chia-Ming, Kuo
14 
15 class ESDigiCollection;
16 
18 public:
19  explicit ESRecHitProducer(const edm::ParameterSet& ps);
20  ~ESRecHitProducer() override;
21  void produce(edm::Event& e, const edm::EventSetup& es) override;
22 
23 private:
25  const std::string rechitCollection_; // secondary name to be given to collection of hits
26 
27  std::unique_ptr<ESRecHitWorkerBaseClass> worker_;
28 };
29 #endif
std::unique_ptr< ESRecHitWorkerBaseClass > worker_
ESRecHitProducer(const edm::ParameterSet &ps)
~ESRecHitProducer() override
const std::string rechitCollection_
void produce(edm::Event &e, const edm::EventSetup &es) override
const edm::EDGetTokenT< ESDigiCollection > digiToken_