#include <L1Trigger/GlobalCaloTrigger/interface/L1GctProcessor.h>
Public Member Functions | |
Pipeline (const unsigned size) | |
Pipeline () | |
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] |
L1GctProcessor::Pipeline< T >::Pipeline | ( | const unsigned | size | ) | [inline] |
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().
00099 { 00100 contents.clear(); 00101 contents.resize(nBx*entriesPerBx); 00102 }
void L1GctProcessor::Pipeline< T >::resize | ( | const unsigned | size | ) | [inline] |
Definition at line 95 of file L1GctProcessor.h.
References L1GctProcessor::Pipeline< T >::entriesPerBx.
00095 { 00096 entriesPerBx = size; 00097 }
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, and i.
00108 { 00109 unsigned pos = entriesPerBx*bxNum; 00110 for (unsigned i=0; i<entriesPerBx; i++) { 00111 contents.at(pos++) = thisBx.at(i); 00112 } 00113 }
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().
00104 { 00105 contents.at(bxNum) = thisBx; 00106 }
std::vector<T> L1GctProcessor::Pipeline< T >::contents |
Definition at line 89 of file L1GctProcessor.h.
Referenced by L1GctJetFinalStage::getCentralJets(), L1GctJetFinalStage::getForwardJets(), L1GctJetFinderBase::getRawJets(), L1GctJetFinalStage::getTauJets(), operator<<(), 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().