CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 public:
35 
37  ~DTTFFEDReader() override;
38 
40  void produce(edm::Event &e, const edm::EventSetup &c) override;
41 
43  bool fillRawData(edm::Event &e,
47 
48 private:
50 
51  bool verbose_;
52 
53  // Operations
54 
55  // access data
57 
59 
61 
62  // Process one event
63  void analyse(edm::Event &e);
64 
65  // clear data container
66  void clear();
67 
68  // process data
69  void process(edm::Event &e);
70 
71  // Match PHTF - ETTF tracks
72  void match();
73 
74  // data containers
76 
78 
80 
81  unsigned int etTrack[3][12][6][2];
82 
83  unsigned int efTrack[3][12][6][2];
84 
85  // utilities
86  int channel(int wheel, int sector, int bx);
87 
88  int bxNr(int channel);
89 
90  int sector(int channel);
91 
92  int wheel(int channel);
93 
95 
97 };
98 #endif
const edm::EventSetup & c
edm::InputTag DTTFInputTag
Definition: DTTFFEDReader.h:49
L1MuDTChambPhContainer::Phi_Container phiSegments
Definition: DTTFFEDReader.h:75
unsigned int etTrack[3][12][6][2]
Definition: DTTFFEDReader.h:81
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:77
std::vector< L1MuDTChambThDigi > The_Container
L1MuDTTrackContainer::TrackContainer dtTracks
Definition: DTTFFEDReader.h:79
edm::EDGetTokenT< FEDRawDataCollection > Raw_token
Definition: DTTFFEDReader.h:96
unsigned int efTrack[3][12][6][2]
Definition: DTTFFEDReader.h:83
void process(edm::Event &e)
edm::InputTag getDTTFInputTag()
Definition: DTTFFEDReader.h:94
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)