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:
32 
35 
37  ~DTTFFEDSim() override;
38 
40  void produce(edm::Event & e, const edm::EventSetup& c) override;
41 
43  bool fillRawData(edm::Event& e,
45 
46  private:
47 
48  unsigned int eventNum;
49 
52 
53  // utilities
54  int channel(int wheel, int sector, int bx);
55 
56  int bxNr(int channel);
57 
58  int sector(int channel);
59 
60  int wheel(int channel);
61 
64 
68 
69 
70 };
71 #endif
edm::InputTag getDTPHTFInputTag()
Definition: DTTFFEDSim.h:63
void produce(edm::Event &e, const edm::EventSetup &c) override
Produce digis out of raw data.
Definition: DTTFFEDSim.cc:41
edm::EDGetTokenT< L1MuDTChambThContainer > ChTh_tok
Definition: DTTFFEDSim.h:66
int sector(int channel)
Definition: DTTFFEDSim.cc:311
unsigned int eventNum
Definition: DTTFFEDSim.h:48
edm::InputTag DTDigiInputTag
Definition: DTTFFEDSim.h:50
int wheel(int channel)
Definition: DTTFFEDSim.cc:322
edm::InputTag getDTDigiInputTag()
Definition: DTTFFEDSim.h:62
int channel(int wheel, int sector, int bx)
Definition: DTTFFEDSim.cc:278
bool fillRawData(edm::Event &e, FEDRawDataCollection &data)
Generate and fill FED raw data for a full event.
Definition: DTTFFEDSim.cc:53
~DTTFFEDSim() override
Destructor.
Definition: DTTFFEDSim.cc:39
int bxNr(int channel)
Definition: DTTFFEDSim.cc:298
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
edm::EDGetTokenT< L1MuDTTrackContainer > Trk_tok
Definition: DTTFFEDSim.h:67
edm::EDGetTokenT< L1MuDTChambPhContainer > ChPh_tok
Definition: DTTFFEDSim.h:65
edm::InputTag DTPHTFInputTag
Definition: DTTFFEDSim.h:51
DTTFFEDSim(const edm::ParameterSet &pset)
Constructor.
Definition: DTTFFEDSim.cc:26