CMS 3D CMS Logo

DTTFFEDReader.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
12 //
13 //--------------------------------------------------
14 #ifndef DTTFRawToDigi_DTTFFEDReader_h
15 #define DTTFRawToDigi_DTTFFEDReader_h
16 
21 
22 
26 
29 
30 #include <string>
31 
33 
34  public:
35 
38 
40  ~DTTFFEDReader() override;
41 
43  void produce(edm::Event & e, const edm::EventSetup& c) override;
44 
46  bool fillRawData(edm::Event& e,
50 
51  private:
52 
54 
55  bool verbose_;
56 
57  // Operations
58 
59  // access data
61 
63 
65 
66  // Process one event
67  void analyse(edm::Event& e);
68 
69  // clear data container
70  void clear();
71 
72  // process data
73  void process(edm::Event& e);
74 
75  // Match PHTF - ETTF tracks
76  void match();
77 
78  // data containers
80 
82 
84 
85  unsigned int etTrack[3][12][6][2];
86 
87  unsigned int efTrack[3][12][6][2];
88 
89  // utilities
90  int channel(int wheel, int sector, int bx);
91 
92  int bxNr(int channel);
93 
94  int sector(int channel);
95 
96  int wheel(int channel);
97 
99 
101 
102 };
103 #endif
edm::InputTag DTTFInputTag
Definition: DTTFFEDReader.h:53
L1MuDTChambPhContainer::Phi_Container phiSegments
Definition: DTTFFEDReader.h:79
unsigned int etTrack[3][12][6][2]
Definition: DTTFFEDReader.h:85
const L1MuDTChambThContainer::The_Container & t_data()
void produce(edm::Event &e, const edm::EventSetup &c) override
Produce digis out of raw data.
DTTFFEDReader(const edm::ParameterSet &pset)
Constructor.
std::vector< L1MuDTTrackCand > TrackContainer
std::vector< L1MuDTChambPhDigi > Phi_Container
L1MuDTChambThContainer::The_Container theSegments
Definition: DTTFFEDReader.h:81
std::vector< L1MuDTChambThDigi > The_Container
L1MuDTTrackContainer::TrackContainer dtTracks
Definition: DTTFFEDReader.h:83
edm::EDGetTokenT< FEDRawDataCollection > Raw_token
unsigned int efTrack[3][12][6][2]
Definition: DTTFFEDReader.h:87
void process(edm::Event &e)
edm::InputTag getDTTFInputTag()
Definition: DTTFFEDReader.h:98
const L1MuDTTrackContainer::TrackContainer & k_data()
int channel(int wheel, int sector, int bx)
void analyse(edm::Event &e)
int wheel(int channel)
bool fillRawData(edm::Event &e, L1MuDTChambPhContainer::Phi_Container &phi_data, L1MuDTChambThContainer::The_Container &the_data, L1MuDTTrackContainer::TrackContainer &tra_data)
Generate and fill FED raw data for a full event.
const L1MuDTChambPhContainer::Phi_Container & p_data()
int bxNr(int channel)
~DTTFFEDReader() override
Destructor.
int sector(int channel)