#include <L1MuBMSectorReceiver.h>
Public Member Functions | |
L1MuBMSectorReceiver (L1MuBMSectorProcessor &, edm::ConsumesCollector &&iC) | |
constructor More... | |
void | reset () |
clear Sector Receiver More... | |
void | run (int bx, const edm::Event &e, const edm::EventSetup &c) |
receive track segment data from the BBMX and CSC chamber triggers More... | |
virtual | ~L1MuBMSectorReceiver () |
destructor More... | |
Private Member Functions | |
int | address2sector (int adr) const |
find the right sector for a given address More... | |
int | address2wheel (int adr) const |
find the right wheel for a given address More... | |
void | receiveBBMXData (int bx, const edm::Event &e, const edm::EventSetup &c) |
receive track segment data from BBMX chamber trigger More... | |
void | receiveCSCData (int bx, const edm::Event &e, const edm::EventSetup &c) |
receive track segment data from CSC chamber trigger More... | |
Private Attributes | |
edm::EDGetTokenT < L1MuDTChambPhContainer > | m_DTDigiToken |
L1MuBMSectorProcessor & | m_sp |
edm::ESHandle< L1MuDTTFMasks > | msks |
edm::ESHandle< L1MuDTTFParameters > | pars |
Sector Receiver:
The Sector Receiver receives track segment data from the BBMX and CSC chamber triggers and stores it into the Data Buffer
N. Neumeister CERN EP J. Troconiz UAM Madrid
Definition at line 51 of file L1MuBMSectorReceiver.h.
L1MuBMSectorReceiver::L1MuBMSectorReceiver | ( | L1MuBMSectorProcessor & | sp, |
edm::ConsumesCollector && | iC | ||
) |
constructor
Definition at line 52 of file L1MuBMSectorReceiver.cc.
|
virtual |
|
private |
find the right sector for a given address
Definition at line 289 of file L1MuBMSectorReceiver.cc.
References L1MuBMSectorProcessor::id(), m_sp, and L1MuBMSecProcId::sector().
Referenced by receiveBBMXData().
|
private |
find the right wheel for a given address
Definition at line 304 of file L1MuBMSectorReceiver.cc.
References L1MuBMSectorProcessor::id(), L1MuBMSecProcId::locwheel(), m_sp, and L1MuBMSecProcId::wheel().
Referenced by receiveBBMXData().
|
private |
receive track segment data from BBMX chamber trigger
Definition at line 103 of file L1MuBMSectorReceiver.cc.
References funct::abs(), address2sector(), address2wheel(), L1MuBMDataBuffer::addTSphi(), L1MuDTChambPhDigi::code(), L1MuBMSectorProcessor::data(), edm::Event::getByToken(), L1MuBMTFConfig::getNbitsExtPhi(), L1MuBMTFConfig::getTSOutOfTimeFilter(), L1MuBMTFConfig::getTSOutOfTimeWindow(), L1MuBMSectorProcessor::id(), m_DTDigiToken, m_sp, msks, pars, phi, L1MuDTChambPhDigi::phi(), L1MuDTChambPhDigi::phiB(), L1MuBMSecProcId::sector(), relativeConstraints::station, GlobalPosition_Frontier_DevDB_cff::tag, and L1MuBMSecProcId::wheel().
Referenced by run().
|
private |
receive track segment data from CSC chamber trigger
void L1MuBMSectorReceiver::reset | ( | void | ) |
clear Sector Receiver
Definition at line 95 of file L1MuBMSectorReceiver.cc.
Referenced by L1MuBMSectorProcessor::reset().
void L1MuBMSectorReceiver::run | ( | int | bx, |
const edm::Event & | e, | ||
const edm::EventSetup & | c | ||
) |
receive track segment data from the BBMX and CSC chamber triggers
Definition at line 76 of file L1MuBMSectorReceiver.cc.
References edm::EventSetup::get(), msks, pars, and receiveBBMXData().
Referenced by L1MuBMSectorProcessor::run().
|
private |
Definition at line 87 of file L1MuBMSectorReceiver.h.
Referenced by receiveBBMXData().
|
private |
Definition at line 83 of file L1MuBMSectorReceiver.h.
Referenced by address2sector(), address2wheel(), and receiveBBMXData().
|
private |
Definition at line 86 of file L1MuBMSectorReceiver.h.
Referenced by receiveBBMXData(), and run().
|
private |
Definition at line 85 of file L1MuBMSectorReceiver.h.
Referenced by receiveBBMXData(), and run().