#include <L1MuDTSectorReceiver.h>
Public Member Functions | |
L1MuDTSectorReceiver (L1MuDTSectorProcessor &, 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 DTBX and CSC chamber triggers More... | |
virtual | ~L1MuDTSectorReceiver () |
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 | receiveCSCData (int bx, const edm::Event &e, const edm::EventSetup &c) |
receive track segment data from CSC chamber trigger More... | |
void | receiveDTBXData (int bx, const edm::Event &e, const edm::EventSetup &c) |
receive track segment data from DTBX chamber trigger More... | |
Private Attributes | |
edm::EDGetTokenT < CSCTriggerContainer < csctf::TrackStub > > | m_CSCTrSToken |
edm::EDGetTokenT < L1MuDTChambPhContainer > | m_DTDigiToken |
L1MuDTSectorProcessor & | m_sp |
edm::ESHandle< L1MuDTTFMasks > | msks |
edm::ESHandle< L1MuDTTFParameters > | pars |
Sector Receiver:
The Sector Receiver receives track segment data from the DTBX and CSC chamber triggers and stores it into the Data Buffer
N. Neumeister CERN EP J. Troconiz UAM Madrid
Definition at line 53 of file L1MuDTSectorReceiver.h.
L1MuDTSectorReceiver::L1MuDTSectorReceiver | ( | L1MuDTSectorProcessor & | sp, |
edm::ConsumesCollector && | iC | ||
) |
constructor
Definition at line 55 of file L1MuDTSectorReceiver.cc.
|
virtual |
|
private |
find the right sector for a given address
Definition at line 293 of file L1MuDTSectorReceiver.cc.
References L1MuDTSectorProcessor::id(), m_sp, and L1MuDTSecProcId::sector().
Referenced by receiveDTBXData().
|
private |
find the right wheel for a given address
Definition at line 308 of file L1MuDTSectorReceiver.cc.
References L1MuDTSectorProcessor::id(), L1MuDTSecProcId::locwheel(), m_sp, and L1MuDTSecProcId::wheel().
Referenced by receiveDTBXData().
|
private |
receive track segment data from CSC chamber trigger
Definition at line 222 of file L1MuDTSectorReceiver.cc.
References L1MuDTDataBuffer::addTSphi(), L1MuDTSectorProcessor::data(), edm::Event::getByToken(), L1MuDTTFConfig::getCSCTrSInputTag(), L1MuDTTFConfig::getEtaCanc(), L1MuDTSectorProcessor::id(), diffTwoXMLs::label, m_CSCTrSToken, m_sp, msks, pars, phi, L1MuDTSecProcId::sector(), relativeConstraints::station, GlobalPosition_Frontier_DevDB_cff::tag, and L1MuDTSecProcId::wheel().
Referenced by run().
|
private |
receive track segment data from DTBX chamber trigger
Definition at line 106 of file L1MuDTSectorReceiver.cc.
References funct::abs(), address2sector(), address2wheel(), L1MuDTDataBuffer::addTSphi(), L1MuDTChambPhDigi::code(), L1MuDTSectorProcessor::data(), edm::Event::getByToken(), L1MuDTTFConfig::getNbitsExtPhi(), L1MuDTTFConfig::getTSOutOfTimeFilter(), L1MuDTTFConfig::getTSOutOfTimeWindow(), L1MuDTSectorProcessor::id(), m_DTDigiToken, m_sp, msks, L1MuDTSectorProcessor::ovl(), pars, phi, L1MuDTChambPhDigi::phi(), L1MuDTChambPhDigi::phiB(), L1MuDTSecProcId::sector(), relativeConstraints::station, GlobalPosition_Frontier_DevDB_cff::tag, and L1MuDTSecProcId::wheel().
Referenced by run().
void L1MuDTSectorReceiver::reset | ( | void | ) |
clear Sector Receiver
Definition at line 98 of file L1MuDTSectorReceiver.cc.
Referenced by L1MuDTSectorProcessor::reset().
void L1MuDTSectorReceiver::run | ( | int | bx, |
const edm::Event & | e, | ||
const edm::EventSetup & | c | ||
) |
receive track segment data from the DTBX and CSC chamber triggers
Definition at line 79 of file L1MuDTSectorReceiver.cc.
References edm::EventSetup::get(), m_sp, msks, L1MuDTTFConfig::overlap(), L1MuDTSectorProcessor::ovl(), pars, receiveCSCData(), and receiveDTBXData().
Referenced by L1MuDTSectorProcessor::run().
|
private |
Definition at line 87 of file L1MuDTSectorReceiver.h.
Referenced by receiveCSCData().
|
private |
Definition at line 86 of file L1MuDTSectorReceiver.h.
Referenced by receiveDTBXData().
|
private |
Definition at line 85 of file L1MuDTSectorReceiver.h.
Referenced by address2sector(), address2wheel(), receiveCSCData(), receiveDTBXData(), and run().
|
private |
Definition at line 90 of file L1MuDTSectorReceiver.h.
Referenced by receiveCSCData(), receiveDTBXData(), and run().
|
private |
Definition at line 89 of file L1MuDTSectorReceiver.h.
Referenced by receiveCSCData(), receiveDTBXData(), and run().