test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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;
44 template<typename T> class CSCTriggerContainer;
45 namespace csctf {
46  class TrackStub;
47 }
48 
49 // ---------------------
50 // -- Class Interface --
51 // ---------------------
52 
54 
55  public:
56 
59 
61  virtual ~L1MuDTSectorReceiver();
62 
64  void run(int bx, const edm::Event& e, const edm::EventSetup& c);
65 
67  void reset();
68 
69  private:
70 
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:
84 
88 
91 
92 };
93 
94 #endif
void receiveCSCData(int bx, const edm::Event &e, const edm::EventSetup &c)
receive track segment data from CSC chamber trigger
void receiveDTBXData(int bx, const edm::Event &e, const edm::EventSetup &c)
receive track segment data from DTBX chamber trigger
L1MuDTSectorReceiver(L1MuDTSectorProcessor &, edm::ConsumesCollector &&iC)
constructor
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
edm::ESHandle< L1MuDTTFMasks > msks
int address2wheel(int adr) const
find the right wheel for a given address
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
virtual ~L1MuDTSectorReceiver()
destructor