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 
25 
28 
29 #include <string>
30 
32 
33 public:
36 
38  ~DTTFFEDReader() override;
39 
41  void produce(edm::Event &e, const edm::EventSetup &c) override;
42 
44  bool fillRawData(edm::Event &e,
48 
49 private:
51 
52  bool verbose_;
53 
54  // Operations
55 
56  // access data
58 
60 
62 
63  // Process one event
64  void analyse(edm::Event &e);
65 
66  // clear data container
67  void clear();
68 
69  // process data
70  void process(edm::Event &e);
71 
72  // Match PHTF - ETTF tracks
73  void match();
74 
75  // data containers
77 
79 
81 
82  unsigned int etTrack[3][12][6][2];
83 
84  unsigned int efTrack[3][12][6][2];
85 
86  // utilities
87  int channel(int wheel, int sector, int bx);
88 
89  int bxNr(int channel);
90 
91  int sector(int channel);
92 
93  int wheel(int channel);
94 
96 
98 };
99 #endif
edm::InputTag DTTFInputTag
Definition: DTTFFEDReader.h:50
L1MuDTChambPhContainer::Phi_Container phiSegments
Definition: DTTFFEDReader.h:76
unsigned int etTrack[3][12][6][2]
Definition: DTTFFEDReader.h:82
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:78
std::vector< L1MuDTChambThDigi > The_Container
L1MuDTTrackContainer::TrackContainer dtTracks
Definition: DTTFFEDReader.h:80
edm::EDGetTokenT< FEDRawDataCollection > Raw_token
Definition: DTTFFEDReader.h:97
unsigned int efTrack[3][12][6][2]
Definition: DTTFFEDReader.h:84
void process(edm::Event &e)
edm::InputTag getDTTFInputTag()
Definition: DTTFFEDReader.h:95
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)