EventFilter
DTTFRawToDigi
interface
DTTFFEDSim.h
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
11
//
12
//--------------------------------------------------
13
#ifndef DTTFRawToDigi_DTTFFEDSim_h
14
#define DTTFRawToDigi_DTTFFEDSim_h
15
16
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
17
18
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
19
#include <
DataFormats/L1DTTrackFinder/interface/L1MuDTChambPhContainer.h
>
20
#include <
DataFormats/L1DTTrackFinder/interface/L1MuDTChambThContainer.h
>
21
#include <
DataFormats/L1DTTrackFinder/interface/L1MuDTTrackContainer.h
>
22
23
#include <
FWCore/Framework/interface/stream/EDProducer.h
>
24
#include <
FWCore/ParameterSet/interface/ParameterSet.h
>
25
#include <
FWCore/Utilities/interface/InputTag.h
>
26
27
#include <string>
28
29
class
DTTFFEDSim
:
public
edm::stream::EDProducer
<> {
30
public
:
32
DTTFFEDSim
(
const
edm::ParameterSet
&
pset
);
33
35
~DTTFFEDSim
()
override
;
36
38
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
39
41
bool
fillRawData
(
edm::Event
&
e
,
FEDRawDataCollection
&
data
);
42
43
private
:
44
unsigned
int
eventNum
;
45
46
edm::InputTag
DTDigiInputTag
;
47
edm::InputTag
DTPHTFInputTag
;
48
49
// utilities
50
int
channel
(
int
wheel
,
int
sector
,
int
bx
);
51
52
int
bxNr
(
int
channel
);
53
54
int
sector
(
int
channel
);
55
56
int
wheel
(
int
channel
);
57
58
edm::InputTag
getDTDigiInputTag
() {
return
DTDigiInputTag
; }
59
edm::InputTag
getDTPHTFInputTag
() {
return
DTPHTFInputTag
; }
60
61
edm::EDGetTokenT<L1MuDTChambPhContainer>
ChPh_tok
;
62
edm::EDGetTokenT<L1MuDTChambThContainer>
ChTh_tok
;
63
edm::EDGetTokenT<L1MuDTTrackContainer>
Trk_tok
;
64
};
65
#endif
DTTFFEDSim
Definition:
DTTFFEDSim.h:29
DTTFFEDSim::channel
int channel(int wheel, int sector, int bx)
Definition:
DTTFFEDSim.cc:246
edm::EDGetTokenT< L1MuDTChambPhContainer >
FEDRawDataCollection
Definition:
FEDRawDataCollection.h:18
DTTFFEDSim::fillRawData
bool fillRawData(edm::Event &e, FEDRawDataCollection &data)
Generate and fill FED raw data for a full event.
Definition:
DTTFFEDSim.cc:50
l1GtPatternGenerator_cfi.bx
bx
Definition:
l1GtPatternGenerator_cfi.py:18
EDProducer.h
L1MuDTChambThContainer.h
DTTFFEDSim::ChPh_tok
edm::EDGetTokenT< L1MuDTChambPhContainer > ChPh_tok
Definition:
DTTFFEDSim.h:61
DTTFFEDSim::Trk_tok
edm::EDGetTokenT< L1MuDTTrackContainer > Trk_tok
Definition:
DTTFFEDSim.h:63
DTTFFEDSim::~DTTFFEDSim
~DTTFFEDSim() override
Destructor.
Definition:
DTTFFEDSim.cc:37
DTTFFEDSim::DTPHTFInputTag
edm::InputTag DTPHTFInputTag
Definition:
DTTFFEDSim.h:47
DTTFFEDSim::bxNr
int bxNr(int channel)
Definition:
DTTFFEDSim.cc:272
DTTFFEDSim::DTTFFEDSim
DTTFFEDSim(const edm::ParameterSet &pset)
Constructor.
Definition:
DTTFFEDSim.cc:26
edm::ParameterSet
Definition:
ParameterSet.h:47
DTTFFEDSim::getDTPHTFInputTag
edm::InputTag getDTPHTFInputTag()
Definition:
DTTFFEDSim.h:59
FEDRawDataCollection.h
edm::stream::EDProducer
Definition:
EDProducer.h:36
edm::EventSetup
Definition:
EventSetup.h:58
L1MuDTChambPhContainer.h
InputTag.h
DTTFFEDSim::ChTh_tok
edm::EDGetTokenT< L1MuDTChambThContainer > ChTh_tok
Definition:
DTTFFEDSim.h:62
L1MuDTTrackContainer.h
DTTFFEDSim::eventNum
unsigned int eventNum
Definition:
DTTFFEDSim.h:44
DTTFFEDSim::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Produce digis out of raw data.
Definition:
DTTFFEDSim.cc:39
DTTFFEDSim::wheel
int wheel(int channel)
Definition:
DTTFFEDSim.cc:300
DTTFFEDSim::getDTDigiInputTag
edm::InputTag getDTDigiInputTag()
Definition:
DTTFFEDSim.h:58
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
DTTFFEDSim::sector
int sector(int channel)
Definition:
DTTFFEDSim.cc:287
ConsumesCollector.h
DTTFFEDSim::DTDigiInputTag
edm::InputTag DTDigiInputTag
Definition:
DTTFFEDSim.h:46
ParameterSet.h
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16