CMS 3D CMS Logo

DTTFFEDSim.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
11 //
12 //--------------------------------------------------
13 #ifndef DTTFRawToDigi_DTTFFEDSim_h
14 #define DTTFRawToDigi_DTTFFEDSim_h
15 
17 
22 
26 
27 #include <string>
28 
30 
31 public:
34 
36  ~DTTFFEDSim() override;
37 
39  void produce(edm::Event &e, const edm::EventSetup &c) override;
40 
43 
44 private:
45  unsigned int eventNum;
46 
49 
50  // utilities
51  int channel(int wheel, int sector, int bx);
52 
53  int bxNr(int channel);
54 
55  int sector(int channel);
56 
57  int wheel(int channel);
58 
61 
65 };
66 #endif
edm::InputTag getDTPHTFInputTag()
Definition: DTTFFEDSim.h:60
void produce(edm::Event &e, const edm::EventSetup &c) override
Produce digis out of raw data.
Definition: DTTFFEDSim.cc:40
edm::EDGetTokenT< L1MuDTChambThContainer > ChTh_tok
Definition: DTTFFEDSim.h:63
int sector(int channel)
Definition: DTTFFEDSim.cc:307
unsigned int eventNum
Definition: DTTFFEDSim.h:45
edm::InputTag DTDigiInputTag
Definition: DTTFFEDSim.h:47
int wheel(int channel)
Definition: DTTFFEDSim.cc:321
edm::InputTag getDTDigiInputTag()
Definition: DTTFFEDSim.h:59
int channel(int wheel, int sector, int bx)
Definition: DTTFFEDSim.cc:264
bool fillRawData(edm::Event &e, FEDRawDataCollection &data)
Generate and fill FED raw data for a full event.
Definition: DTTFFEDSim.cc:52
~DTTFFEDSim() override
Destructor.
Definition: DTTFFEDSim.cc:38
int bxNr(int channel)
Definition: DTTFFEDSim.cc:291
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
edm::EDGetTokenT< L1MuDTTrackContainer > Trk_tok
Definition: DTTFFEDSim.h:64
edm::EDGetTokenT< L1MuDTChambPhContainer > ChPh_tok
Definition: DTTFFEDSim.h:62
edm::InputTag DTPHTFInputTag
Definition: DTTFFEDSim.h:48
DTTFFEDSim(const edm::ParameterSet &pset)
Constructor.
Definition: DTTFFEDSim.cc:26