#include <L1GctProcessor.h>
Public Member Functions | |
Pipeline () | |
Pipeline (const unsigned size) | |
void | reset (const unsigned nBx) |
void | resize (const unsigned size) |
void | store (const std::vector< T > &thisBx, const int bxNum) |
void | store (const T &thisBx, const int bxNum) |
Public Attributes | |
std::vector< T > | contents |
unsigned | entriesPerBx |
Definition at line 87 of file L1GctProcessor.h.
L1GctProcessor::Pipeline< T >::Pipeline | ( | ) | [inline] |
Definition at line 92 of file L1GctProcessor.h.
: contents(1), entriesPerBx(1) {}
L1GctProcessor::Pipeline< T >::Pipeline | ( | const unsigned | size | ) | [inline] |
Definition at line 93 of file L1GctProcessor.h.
: contents(size), entriesPerBx(size) {}
void L1GctProcessor::Pipeline< T >::reset | ( | const unsigned | nBx | ) | [inline] |
Definition at line 99 of file L1GctProcessor.h.
References L1GctProcessor::Pipeline< T >::contents, and L1GctProcessor::Pipeline< T >::entriesPerBx.
Referenced by L1GctJetFinderBase::resetPipelines(), and L1GctJetFinalStage::resetPipelines().
{ contents.clear(); contents.resize(nBx*entriesPerBx); }
void L1GctProcessor::Pipeline< T >::resize | ( | const unsigned | size | ) | [inline] |
Definition at line 95 of file L1GctProcessor.h.
References L1GctProcessor::Pipeline< T >::entriesPerBx, and findQualityFiles::size.
{ entriesPerBx = size; }
void L1GctProcessor::Pipeline< T >::store | ( | const T & | thisBx, |
const int | bxNum | ||
) | [inline] |
Definition at line 104 of file L1GctProcessor.h.
References L1GctProcessor::Pipeline< T >::contents.
Referenced by L1GctJetFinalStage::process(), and L1GctJetFinderBase::sortJets().
{ contents.at(bxNum) = thisBx; }
void L1GctProcessor::Pipeline< T >::store | ( | const std::vector< T > & | thisBx, |
const int | bxNum | ||
) | [inline] |
Definition at line 108 of file L1GctProcessor.h.
References L1GctProcessor::Pipeline< T >::contents, L1GctProcessor::Pipeline< T >::entriesPerBx, i, and pos.
{ unsigned pos = entriesPerBx*bxNum; for (unsigned i=0; i<entriesPerBx; i++) { contents.at(pos++) = thisBx.at(i); } }
std::vector<T> L1GctProcessor::Pipeline< T >::contents |
Definition at line 89 of file L1GctProcessor.h.
Referenced by L1GctJetFinalStage::getCentralJets(), L1GctJetFinalStage::getForwardJets(), L1GctJetFinderBase::getInternalJets(), L1GctJetFinderBase::getRawJets(), L1GctJetFinalStage::getTauJets(), L1GctProcessor::Pipeline< T >::reset(), and L1GctProcessor::Pipeline< T >::store().
unsigned L1GctProcessor::Pipeline< T >::entriesPerBx |
Definition at line 90 of file L1GctProcessor.h.
Referenced by L1GctProcessor::Pipeline< T >::reset(), L1GctProcessor::Pipeline< T >::resize(), and L1GctProcessor::Pipeline< T >::store().