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
Handle.h
ESRecHitProducer::produce
void produce(edm::Event &e, const edm::EventSetup &es) override
Definition:
ESRecHitProducer.cc:24
edm::EDGetTokenT< ESDigiCollection >
EDProducer.h
ESRecHitWorker.h
ESDigiCollection
Definition:
EcalDigiCollections.h:82
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ESRecHitProducer::ESRecHitProducer
ESRecHitProducer(const edm::ParameterSet &ps)
Definition:
ESRecHitProducer.cc:15
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
ESRecHitProducer.h
ESRecHitProducer::~ESRecHitProducer
~ESRecHitProducer() override
ESRecHitProducer
Definition:
ESRecHitProducer.h:17
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:58
ESRecHitProducer::worker_
std::unique_ptr< ESRecHitWorkerBaseClass > worker_
Definition:
ESRecHitProducer.h:27
ESRecHitProducer::rechitCollection_
const std::string rechitCollection_
Definition:
ESRecHitProducer.h:25
EventSetup.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
ESRecHitProducer::digiToken_
const edm::EDGetTokenT< ESDigiCollection > digiToken_
Definition:
ESRecHitProducer.h:24
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16