#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 46 of file L1MuDTDataBuffer.h.
L1MuDTDataBuffer::L1MuDTDataBuffer | ( | const L1MuDTSectorProcessor & | sp | ) |
constructor
Definition at line 46 of file L1MuDTDataBuffer.cc.
References m_tsphi.
|
virtual |
void L1MuDTDataBuffer::addTSphi | ( | int | adr, |
const L1MuDTTrackSegPhi & | ts | ||
) |
add new phi track segment to the Data Buffer
Definition at line 101 of file L1MuDTDataBuffer.cc.
Referenced by getTSphi(), L1MuDTSectorReceiver::receiveCSCData(), and L1MuDTSectorReceiver::receiveDTBXData().
|
inline |
get all track segments from the buffer
Definition at line 58 of file L1MuDTDataBuffer.h.
References addTSphi(), m_tsphi, numberTSphi(), printTSphi(), and relativeConstraints::station.
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 90 of file L1MuDTDataBuffer.cc.
References m_tsphi.
int L1MuDTDataBuffer::numberTSphi | ( | ) | const |
return number of non-empty phi track segments
Definition at line 126 of file L1MuDTDataBuffer.cc.
References KineDebug3::count(), and m_tsphi.
Referenced by getTSphi(), and L1MuDTSectorProcessor::run().
void L1MuDTDataBuffer::printTSphi | ( | ) | const |
print all phi track segments which are in the buffer
Definition at line 112 of file L1MuDTDataBuffer.cc.
References gather_cfg::cout, and m_tsphi.
Referenced by getTSphi(), and L1MuDTSectorProcessor::run().
void L1MuDTDataBuffer::reset | ( | void | ) |
clear Data Buffer
Definition at line 73 of file L1MuDTDataBuffer.cc.
References m_tsphi.
Referenced by L1MuDTSectorProcessor::reset().
|
private |
Definition at line 74 of file L1MuDTDataBuffer.h.
|
private |
Definition at line 75 of file L1MuDTDataBuffer.h.
Referenced by getTSphi(), L1MuDTDataBuffer(), numberTSphi(), printTSphi(), reset(), and ~L1MuDTDataBuffer().