CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
20 
24 
25 #include <string>
26 
28 
29  public:
30 
32  DTTFFEDReader(const edm::ParameterSet& pset);
33 
35  virtual ~DTTFFEDReader();
36 
38  void produce(edm::Event & e, const edm::EventSetup& c);
39 
41  bool fillRawData(edm::Event& e,
45 
46  private:
47 
49 
50  bool verbose_;
51 
52  // Operations
53 
54  // access data
56 
58 
60 
61  // Process one event
62  void analyse(edm::Event& e);
63 
64  // clear data container
65  void clear();
66 
67  // process data
68  void process(edm::Event& e);
69 
70  // Match PHTF - ETTF tracks
71  void match();
72 
73  // data containers
75 
77 
79 
80  unsigned int etTrack[3][12][6][2];
81 
82  unsigned int efTrack[3][12][6][2];
83 
84  // utilities
85  int channel(int wheel, int sector, int bx);
86 
87  int bxNr(int channel);
88 
89  int sector(int channel);
90 
91  int wheel(int channel);
92 
93  void calcCRC(int myD1, int myD2, int &myC);
94 
96 
97 };
98 #endif
void produce(edm::Event &e, const edm::EventSetup &c)
Produce digis out of raw data.
edm::InputTag DTTFInputTag
Definition: DTTFFEDReader.h:48
L1MuDTChambPhContainer::Phi_Container phiSegments
Definition: DTTFFEDReader.h:74
unsigned int etTrack[3][12][6][2]
Definition: DTTFFEDReader.h:80
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:76
std::vector< L1MuDTChambThDigi > The_Container
L1MuDTTrackContainer::TrackContainer dtTracks
Definition: DTTFFEDReader.h:78
unsigned int efTrack[3][12][6][2]
Definition: DTTFFEDReader.h:82
void process(edm::Event &e)
void calcCRC(int myD1, int myD2, int &myC)
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)
int sector(int channel)