CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1MuBMSectorReceiver.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
16 //
17 //--------------------------------------------------
18 #ifndef L1MUBM_SECTOR_RECEIVER_H
19 #define L1MUBM_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 
44 class L1MuDTTFParameters;
45 class L1MuDTTFMasks;
46 
47 // ---------------------
48 // -- Class Interface --
49 // ---------------------
50 
52 
53  public:
54 
57 
59  virtual ~L1MuBMSectorReceiver();
60 
62  void run(int bx, const edm::Event& e, const edm::EventSetup& c);
63 
65  void reset();
66 
67  private:
68 
70  void receiveBBMXData(int bx, const edm::Event& e, const edm::EventSetup& c);
71 
73  void receiveCSCData(int bx, const edm::Event& e, const edm::EventSetup& c);
74 
76  int address2sector(int adr) const;
77 
79  int address2wheel(int adr) const;
80 
81  private:
82 
84 
88 
89 };
90 
91 #endif
void run(int bx, const edm::Event &e, const edm::EventSetup &c)
receive track segment data from the BBMX and CSC chamber triggers
int address2wheel(int adr) const
find the right wheel for a given address
edm::ESHandle< L1MuDTTFParameters > pars
int address2sector(int adr) const
find the right sector for a given address
L1MuBMSectorReceiver(L1MuBMSectorProcessor &, edm::ConsumesCollector &&iC)
constructor
edm::EDGetTokenT< L1MuDTChambPhContainer > m_DTDigiToken
virtual ~L1MuBMSectorReceiver()
destructor
L1MuBMSectorProcessor & m_sp
void receiveCSCData(int bx, const edm::Event &e, const edm::EventSetup &c)
receive track segment data from CSC chamber trigger
edm::ESHandle< L1MuDTTFMasks > msks
void reset()
clear Sector Receiver
void receiveBBMXData(int bx, const edm::Event &e, const edm::EventSetup &c)
receive track segment data from BBMX chamber trigger