#include <L1MuBMDataBuffer.h>
Public Types | |
typedef std::vector < L1MuBMTrackSegPhi * > | TSPhivector |
container to store phi track segments More... | |
Public Member Functions | |
void | addTSphi (int adr, const L1MuBMTrackSegPhi &) |
add new phi track segment to the Data Buffer More... | |
const TSPhivector & | getTSphi () const |
get all track segments from the buffer More... | |
const L1MuBMTrackSegPhi * | getTSphi (int station, int address) const |
get phi track segment of a given station from the buffer More... | |
L1MuBMDataBuffer (const L1MuBMSectorProcessor &) | |
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 | ~L1MuBMDataBuffer () |
destructor More... | |
Private Attributes | |
const L1MuBMSectorProcessor & | 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 L1MuBMDataBuffer.h.
typedef std::vector<L1MuBMTrackSegPhi*> L1MuBMDataBuffer::TSPhivector |
container to store phi track segments
Definition at line 46 of file L1MuBMDataBuffer.h.
L1MuBMDataBuffer::L1MuBMDataBuffer | ( | const L1MuBMSectorProcessor & | sp | ) |
constructor
Definition at line 46 of file L1MuBMDataBuffer.cc.
References m_tsphi.
|
virtual |
void L1MuBMDataBuffer::addTSphi | ( | int | adr, |
const L1MuBMTrackSegPhi & | ts | ||
) |
add new phi track segment to the Data Buffer
Definition at line 101 of file L1MuBMDataBuffer.cc.
Referenced by L1MuBMSectorReceiver::receiveBBMXData().
|
inline |
get all track segments from the buffer
Definition at line 58 of file L1MuBMDataBuffer.h.
References m_tsphi.
Referenced by L1MuBMSEU::run(), L1MuBMExtrapolationUnit::run(), and L1MuBMAssignmentUnit::TSR().
const L1MuBMTrackSegPhi * L1MuBMDataBuffer::getTSphi | ( | int | station, |
int | address | ||
) | const |
get phi track segment of a given station from the buffer
Definition at line 90 of file L1MuBMDataBuffer.cc.
References m_tsphi.
int L1MuBMDataBuffer::numberTSphi | ( | ) | const |
return number of non-empty phi track segments
Definition at line 126 of file L1MuBMDataBuffer.cc.
References KineDebug3::count(), and m_tsphi.
Referenced by L1MuBMSectorProcessor::run().
void L1MuBMDataBuffer::printTSphi | ( | ) | const |
print all phi track segments which are in the buffer
Definition at line 112 of file L1MuBMDataBuffer.cc.
References gather_cfg::cout, and m_tsphi.
Referenced by L1MuBMSectorProcessor::run().
void L1MuBMDataBuffer::reset | ( | void | ) |
clear Data Buffer
Definition at line 73 of file L1MuBMDataBuffer.cc.
References m_tsphi.
Referenced by L1MuBMSectorProcessor::reset().
|
private |
Definition at line 74 of file L1MuBMDataBuffer.h.
|
private |
Definition at line 75 of file L1MuBMDataBuffer.h.
Referenced by getTSphi(), L1MuBMDataBuffer(), numberTSphi(), printTSphi(), reset(), and ~L1MuBMDataBuffer().