CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1MuDTSectorReceiver.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
16 //
17 //--------------------------------------------------
18 #ifndef L1MUDT_SECTOR_RECEIVER_H
19 #define L1MUDT_SECTOR_RECEIVER_H
20 
21 //---------------
22 // C++ Headers --
23 //---------------
24 
25 #include <vector>
26 
27 //----------------------
28 // Base Class Headers --
29 //----------------------
30 
31 //------------------------------------
32 // Collaborating Class Declarations --
33 //------------------------------------
34 
42 class L1MuDTTFParameters;
43 class L1MuDTTFMasks;
45 class L1MuDTTFMasksRcd;
46 template <typename T>
48 namespace csctf {
49  class TrackStub;
50 }
51 
52 // ---------------------
53 // -- Class Interface --
54 // ---------------------
55 
57 public:
60 
62  virtual ~L1MuDTSectorReceiver();
63 
65  void run(int bx, const edm::Event& e, const edm::EventSetup& c);
66 
68  void reset();
69 
70 private:
72  void receiveDTBXData(int bx, const edm::Event& e, const edm::EventSetup& c);
73 
75  void receiveCSCData(int bx, const edm::Event& e, const edm::EventSetup& c);
76 
78  int address2sector(int adr) const;
79 
81  int address2wheel(int adr) const;
82 
83 private:
87 
92 };
93 
94 #endif
void receiveCSCData(int bx, const edm::Event &e, const edm::EventSetup &c)
receive track segment data from CSC chamber trigger
const edm::EventSetup & c
void receiveDTBXData(int bx, const edm::Event &e, const edm::EventSetup &c)
receive track segment data from DTBX chamber trigger
int address2sector(int adr) const
find the right sector for a given address
void reset()
clear Sector Receiver
L1MuDTSectorProcessor & m_sp
edm::ESHandle< L1MuDTTFParameters > pars
L1MuDTSectorReceiver(L1MuDTSectorProcessor &, edm::ConsumesCollector iC)
constructor
int address2wheel(int adr) const
find the right wheel for a given address
edm::ESGetToken< L1MuDTTFParameters, L1MuDTTFParametersRcd > m_parsToken
edm::ESHandle< L1MuDTTFMasks > msks
edm::EDGetTokenT< L1MuDTChambPhContainer > m_DTDigiToken
edm::EDGetTokenT< CSCTriggerContainer< csctf::TrackStub > > m_CSCTrSToken
void run(int bx, const edm::Event &e, const edm::EventSetup &c)
receive track segment data from the DTBX and CSC chamber triggers
edm::ESGetToken< L1MuDTTFMasks, L1MuDTTFMasksRcd > m_msksToken
virtual ~L1MuDTSectorReceiver()
destructor