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 
19  public:
20 
21  explicit ESRecHitProducer(const edm::ParameterSet& ps);
22  ~ESRecHitProducer() override;
23  void produce(edm::Event& e, const edm::EventSetup& es) override;
24 
25  private:
26 
28  const std::string rechitCollection_; // secondary name to be given to collection of hits
29 
30  std::unique_ptr<ESRecHitWorkerBaseClass> worker_;
31 };
32 #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_