#include <L1MuDTDataBuffer.h>
Public Types | |
typedef std::vector< L1MuDTTrackSegPhi * > | TSPhivector |
container to store phi track segments More... | |
Public Member Functions | |
void | addTSphi (int adr, const L1MuDTTrackSegPhi &) |
add new phi track segment to the Data Buffer More... | |
const TSPhivector & | getTSphi () const |
get all track segments from the buffer More... | |
const L1MuDTTrackSegPhi * | getTSphi (int station, int address) const |
get phi track segment of a given station from the buffer More... | |
L1MuDTDataBuffer (const L1MuDTSectorProcessor &) | |
constructor More... | |
int | numberTSphi () const |
return number of non-empty phi track segments More... | |
void | printTSphi () const |
print all phi track segments which are in the buffer More... | |
void | reset () |
clear Data Buffer More... | |
virtual | ~L1MuDTDataBuffer () |
destructor More... | |
Private Attributes | |
const L1MuDTSectorProcessor & | m_sp |
TSPhivector * | m_tsphi |
Data Buffer:
The Data Buffer stores track segment data during the
execution of the track assembler
N. Neumeister CERN EP
Definition at line 41 of file L1MuDTDataBuffer.h.
typedef std::vector<L1MuDTTrackSegPhi*> L1MuDTDataBuffer::TSPhivector |
container to store phi track segments
Definition at line 44 of file L1MuDTDataBuffer.h.
L1MuDTDataBuffer::L1MuDTDataBuffer | ( | const L1MuDTSectorProcessor & | sp | ) |
|
virtual |
void L1MuDTDataBuffer::addTSphi | ( | int | adr, |
const L1MuDTTrackSegPhi & | ts | ||
) |
add new phi track segment to the Data Buffer
Definition at line 85 of file L1MuDTDataBuffer.cc.
Referenced by L1MuDTSectorReceiver::receiveCSCData(), and L1MuDTSectorReceiver::receiveDTBXData().
|
inline |
get all track segments from the buffer
Definition at line 56 of file L1MuDTDataBuffer.h.
References m_tsphi.
Referenced by L1MuDTSEU::run(), L1MuDTExtrapolationUnit::run(), and L1MuDTAssignmentUnit::TSR().
const L1MuDTTrackSegPhi * L1MuDTDataBuffer::getTSphi | ( | int | station, |
int | address | ||
) | const |
get phi track segment of a given station from the buffer
Definition at line 77 of file L1MuDTDataBuffer.cc.
References m_tsphi, and relativeConstraints::station.
int L1MuDTDataBuffer::numberTSphi | ( | ) | const |
return number of non-empty phi track segments
Definition at line 105 of file L1MuDTDataBuffer.cc.
References KineDebug3::count(), and m_tsphi.
Referenced by L1MuDTSectorProcessor::run().
void L1MuDTDataBuffer::printTSphi | ( | ) | const |
print all phi track segments which are in the buffer
Definition at line 93 of file L1MuDTDataBuffer.cc.
References gather_cfg::cout, and m_tsphi.
Referenced by L1MuDTSectorProcessor::run().
void L1MuDTDataBuffer::reset | ( | void | ) |
clear Data Buffer
Definition at line 63 of file L1MuDTDataBuffer.cc.
References m_tsphi.
Referenced by L1MuDTSectorProcessor::reset().
|
private |
Definition at line 71 of file L1MuDTDataBuffer.h.
|
private |
Definition at line 72 of file L1MuDTDataBuffer.h.
Referenced by getTSphi(), L1MuDTDataBuffer(), numberTSphi(), printTSphi(), reset(), and ~L1MuDTDataBuffer().