SimMuon
RPCDigitizer
src
RPCDigiProducer.h
Go to the documentation of this file.
1
#ifndef RPCDigiProducer_h
2
#define RPCDigiProducer_h
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/Framework/interface/EventSetup.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
9
10
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
11
#include "
SimMuon/RPCDigitizer/src/RPCDigitizer.h
"
12
#include "
CondFormats/RPCObjects/interface/RPCStripNoises.h
"
13
#include "
CondFormats/DataRecord/interface/RPCStripNoisesRcd.h
"
14
#include "
CondFormats/RPCObjects/interface/RPCClusterSize.h
"
15
#include "
CondFormats/DataRecord/interface/RPCClusterSizeRcd.h
"
16
17
class
RPCGeometry
;
18
class
RPCSimSetUp
;
19
class
RPCSynchronizer
;
20
21
class
RPCDigiProducer
:
public
edm::stream::EDProducer
<> {
22
public
:
23
typedef
RPCDigitizer::RPCDigiSimLinks
RPCDigitizerSimLinks
;
24
25
explicit
RPCDigiProducer
(
const
edm::ParameterSet
& ps);
26
~RPCDigiProducer
()
override
;
27
28
void
beginRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
29
31
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
32
33
void
setRPCSetUp
(
const
std::vector<RPCStripNoises::NoiseItem>&,
const
std::vector<double>&);
34
35
private
:
36
RPCDigitizer
*
theDigitizer
;
37
RPCSimSetUp
*
theRPCSimSetUp
;
38
39
//Name of Collection used for create the XF
40
std::string
mix_
;
41
std::string
collection_for_XF
;
42
43
//Token for accessing data
44
edm::EDGetTokenT<CrossingFrame<PSimHit>
>
crossingFrameToken
;
45
};
46
47
#endif
edm::DetSetVector< RPCDigiSimLink >
MessageLogger.h
RPCDigiProducer::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition:
RPCDigiProducer.cc:84
edm::Run
Definition:
Run.h:45
RPCDigiProducer::setRPCSetUp
void setRPCSetUp(const std::vector< RPCStripNoises::NoiseItem > &, const std::vector< double > &)
edm::EDGetTokenT
Definition:
EDGetToken.h:33
RPCSynchronizer
Definition:
RPCSynchronizer.h:36
PSimHitContainer.h
RPCDigiProducer
Definition:
RPCDigiProducer.h:21
RPCStripNoisesRcd.h
RPCDigiProducer::theDigitizer
RPCDigitizer * theDigitizer
Definition:
RPCDigiProducer.h:36
EDProducer.h
RPCDigiProducer::theRPCSimSetUp
RPCSimSetUp * theRPCSimSetUp
Definition:
RPCDigiProducer.h:37
RPCDigitizer
Definition:
RPCDigitizer.h:33
RPCClusterSize.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
RPCDigiProducer::RPCDigitizerSimLinks
RPCDigitizer::RPCDigiSimLinks RPCDigitizerSimLinks
Definition:
RPCDigiProducer.h:23
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
RPCClusterSizeRcd.h
RPCDigitizer.h
RPCDigiProducer::collection_for_XF
std::string collection_for_XF
Definition:
RPCDigiProducer.h:41
RPCStripNoises.h
RPCDigiProducer::RPCDigiProducer
RPCDigiProducer(const edm::ParameterSet &ps)
Definition:
RPCDigiProducer.cc:39
RPCDigiProducer::mix_
std::string mix_
Definition:
RPCDigiProducer.h:40
EventSetup.h
RPCGeometry
Definition:
RPCGeometry.h:20
RPCSimSetUp
Definition:
RPCSimSetUp.h:28
ParameterSet.h
RPCDigiProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition:
RPCDigiProducer.cc:64
RPCDigiProducer::crossingFrameToken
edm::EDGetTokenT< CrossingFrame< PSimHit > > crossingFrameToken
Definition:
RPCDigiProducer.h:44
edm::Event
Definition:
Event.h:73
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
RPCDigiProducer::~RPCDigiProducer
~RPCDigiProducer() override
Definition:
RPCDigiProducer.cc:59
Generated for CMSSW Reference Manual by
1.8.16