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  virtual ~DTTFFEDReader();
41 
43  void produce(edm::Event & e, const edm::EventSetup& c);
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 
98  void calcCRC(int myD1, int myD2, int &myC);
99 
101 
103 
104 };
105 #endif
void produce(edm::Event &e, const edm::EventSetup &c)
Produce digis out of raw data.
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()
virtual ~DTTFFEDReader()
Destructor.
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)
void calcCRC(int myD1, int myD2, int &myC)
edm::InputTag getDTTFInputTag()
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)
int sector(int channel)