RecoLocalCalo
EcalRecProducers
plugins
ESRecHitProducer.h
Go to the documentation of this file.
1
#ifndef RecoLocalCalo_EcalRecProducers_ESRecHitProducer_HH
2
#define RecoLocalCalo_EcalRecProducers_ESRecHitProducer_HH
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
DataFormats/Common/interface/Handle.h
"
7
#include "
FWCore/Framework/interface/EventSetup.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
10
#include "
RecoLocalCalo/EcalRecProducers/plugins/ESRecHitProducer.h
"
11
#include "
RecoLocalCalo/EcalRecProducers/plugins/ESRecHitWorker.h
"
12
13
// ESRecHitProducer author : Chia-Ming, Kuo
14
15
class
ESDigiCollection
;
16
17
class
ESRecHitProducer
:
public
edm::stream::EDProducer
<> {
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
:
24
const
edm::EDGetTokenT<ESDigiCollection>
digiToken_
;
25
const
std::string
rechitCollection_
;
// secondary name to be given to collection of hits
26
27
std::unique_ptr<ESRecHitWorkerBaseClass>
worker_
;
28
};
29
#endif
ESRecHitProducer::worker_
std::unique_ptr< ESRecHitWorkerBaseClass > worker_
Definition:
ESRecHitProducer.h:27
ESRecHitProducer::ESRecHitProducer
ESRecHitProducer(const edm::ParameterSet &ps)
Definition:
ESRecHitProducer.cc:15
Event.h
ESRecHitProducer::~ESRecHitProducer
~ESRecHitProducer() override
ESRecHitProducer
Definition:
ESRecHitProducer.h:17
EventSetup.h
ESRecHitWorker.h
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
ESRecHitProducer.h
edm::EDGetTokenT< ESDigiCollection >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
EDProducer.h
ESRecHitProducer::rechitCollection_
const std::string rechitCollection_
Definition:
ESRecHitProducer.h:25
edm::EventSetup
Definition:
EventSetup.h:59
ESRecHitProducer::produce
void produce(edm::Event &e, const edm::EventSetup &es) override
Definition:
ESRecHitProducer.cc:24
ESRecHitProducer::digiToken_
const edm::EDGetTokenT< ESDigiCollection > digiToken_
Definition:
ESRecHitProducer.h:24
edm::stream::EDProducer
Definition:
EDProducer.h:36
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
ESDigiCollection
Definition:
EcalDigiCollections.h:82
Handle.h
Generated for CMSSW Reference Manual by
1.8.14