#include <PulseArray.h>
Public Member Functions | |
unsigned | bitsInPulse () const |
void | clear () |
void | extend (const unsigned layer, const unsigned channel, const unsigned bx, const unsigned hit_persist) |
void | initialize (unsigned numberOfChannels) |
bool | isOneShotHighAtBX (const unsigned layer, const unsigned channel, const unsigned bx) const |
unsigned | numberOfLayersAtBX (const unsigned bx) const |
bool | oneShotAtBX (const unsigned layer, const unsigned channel, const unsigned bx) const |
unsigned & | operator() (const unsigned layer, const unsigned channel) |
PulseArray () | |
Private Attributes | |
std::vector< std::vector< unsigned > > | data_ |
unsigned | numberOfChannels_ |
Definition at line 11 of file PulseArray.h.
PulseArray::PulseArray | ( | ) |
Definition at line 3 of file PulseArray.cc.
unsigned PulseArray::bitsInPulse | ( | ) | const |
Definition at line 25 of file PulseArray.cc.
References data_.
Referenced by CSCCathodeLCTProcessor::pulseExtension(), and CSCAnodeLCTProcessor::pulseExtension().
void PulseArray::clear | ( | void | ) |
Definition at line 14 of file PulseArray.cc.
References data_, AlCaHLTBitMon_ParallelJobs::p, and submitPVResolutionJobs::q.
Referenced by CSCCathodeLCTProcessor::pulseExtension(), and CSCAnodeLCTProcessor::pulseExtension().
void PulseArray::extend | ( | const unsigned | layer, |
const unsigned | channel, | ||
const unsigned | bx, | ||
const unsigned | hit_persist | ||
) |
Definition at line 27 of file PulseArray.cc.
References nano_mu_digi_cff::bx, data_, and nano_mu_digi_cff::layer.
Referenced by MatrixUtil.WF::__init__(), CSCCathodeLCTProcessor::pulseExtension(), and CSCAnodeLCTProcessor::pulseExtension().
void PulseArray::initialize | ( | unsigned | numberOfChannels | ) |
Definition at line 5 of file PulseArray.cc.
References data_, nano_mu_digi_cff::layer, CSCConstants::NUM_LAYERS, and numberOfChannels_.
Referenced by CSCCathodeLCTProcessor::run(), and CSCAnodeLCTProcessor::run().
bool PulseArray::isOneShotHighAtBX | ( | const unsigned | layer, |
const unsigned | channel, | ||
const unsigned | bx | ||
) | const |
Definition at line 37 of file PulseArray.cc.
References nano_mu_digi_cff::bx, nano_mu_digi_cff::layer, and oneShotAtBX().
Referenced by CSCCathodeLCTProcessor::checkLocalShower(), numberOfLayersAtBX(), CSCAnodeLCTProcessor::patternDetection(), CSCCathodeLCTProcessor::patternFinding(), and CSCAnodeLCTProcessor::preTrigger().
unsigned PulseArray::numberOfLayersAtBX | ( | const unsigned | bx | ) | const |
Definition at line 41 of file PulseArray.cc.
References nano_mu_digi_cff::bx, isOneShotHighAtBX(), nano_mu_digi_cff::layer, CSCConstants::NUM_LAYERS, and numberOfChannels_.
Referenced by CSCCathodeLCTProcessor::patternFinding().
bool PulseArray::oneShotAtBX | ( | const unsigned | layer, |
const unsigned | channel, | ||
const unsigned | bx | ||
) | const |
Definition at line 33 of file PulseArray.cc.
References nano_mu_digi_cff::bx, data_, and nano_mu_digi_cff::layer.
Referenced by isOneShotHighAtBX(), CSCAnodeLCTProcessor::pulseExtension(), and CSCAnodeLCTProcessor::showPatterns().
unsigned & PulseArray::operator() | ( | const unsigned | layer, |
const unsigned | channel | ||
) |
|
private |
Definition at line 41 of file PulseArray.h.
Referenced by bitsInPulse(), clear(), extend(), initialize(), oneShotAtBX(), and operator()().
|
private |
Definition at line 42 of file PulseArray.h.
Referenced by initialize(), and numberOfLayersAtBX().