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 //
14 //
15 //--------------------------------------------------
16 #ifndef DTTFRawToDigi_DTTFFEDReader_h
17 #define DTTFRawToDigi_DTTFFEDReader_h
18 
22 
26 
27 #include <string>
28 
30 
31  public:
32 
34  DTTFFEDReader(const edm::ParameterSet& pset);
35 
37  virtual ~DTTFFEDReader();
38 
40  void produce(edm::Event & e, const edm::EventSetup& c);
41 
43  bool fillRawData(edm::Event& e,
47 
48  private:
49 
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 
95  void calcCRC(int myD1, int myD2, int &myC);
96 
98 
99 };
100 #endif
void produce(edm::Event &e, const edm::EventSetup &c)
Produce digis out of raw data.
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()
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:78
std::vector< L1MuDTChambThDigi > The_Container
L1MuDTTrackContainer::TrackContainer dtTracks
Definition: DTTFFEDReader.h:80
unsigned int efTrack[3][12][6][2]
Definition: DTTFFEDReader.h:84
void process(edm::Event &e)
void calcCRC(int myD1, int myD2, int &myC)
edm::InputTag getDTTFInputTag()
Definition: DTTFFEDReader.h:97
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)