#include <L1MuDTSectorReceiver.h>
Public Member Functions | |
L1MuDTSectorReceiver (L1MuDTSectorProcessor &) | |
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 | |
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 46 of file L1MuDTSectorReceiver.h.
L1MuDTSectorReceiver::L1MuDTSectorReceiver | ( | L1MuDTSectorProcessor & | sp | ) |
|
virtual |
|
private |
find the right sector for a given address
Definition at line 292 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 307 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 221 of file L1MuDTSectorReceiver.cc.
References L1MuDTDataBuffer::addTSphi(), L1MuDTSectorProcessor::data(), edm::Event::getByLabel(), L1MuDTTFConfig::getCSCTrSInputTag(), L1MuDTTFConfig::getEtaCanc(), L1MuDTSectorProcessor::id(), diffTwoXMLs::label, 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 105 of file L1MuDTSectorReceiver.cc.
References funct::abs(), address2sector(), address2wheel(), L1MuDTDataBuffer::addTSphi(), L1MuDTChambPhDigi::code(), L1MuDTSectorProcessor::data(), edm::Event::getByLabel(), L1MuDTTFConfig::getDTDigiInputTag(), L1MuDTTFConfig::getNbitsExtPhi(), L1MuDTTFConfig::getTSOutOfTimeFilter(), L1MuDTTFConfig::getTSOutOfTimeWindow(), L1MuDTSectorProcessor::id(), 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 97 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 78 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 78 of file L1MuDTSectorReceiver.h.
Referenced by address2sector(), address2wheel(), receiveCSCData(), receiveDTBXData(), and run().
|
private |
Definition at line 81 of file L1MuDTSectorReceiver.h.
Referenced by receiveCSCData(), receiveDTBXData(), and run().
|
private |
Definition at line 80 of file L1MuDTSectorReceiver.h.
Referenced by receiveCSCData(), receiveDTBXData(), and run().