#include <ESDataFrame.h>
Public Types | |
typedef ESDetId | key_type |
For the sorted collection. | |
Public Member Functions | |
ESDataFrame () | |
ESDataFrame (const ESDetId &id) | |
ESDataFrame (const edm::DataFrame &df) | |
const ESDetId & | id () const |
const ESSample & | operator[] (int i) const |
const ESSample & | sample (int i) const |
void | setSample (int i, const ESSample &sam) |
void | setSize (int size) |
int | size () const |
Static Public Attributes | |
static const int | MAXSAMPLES = 3 |
Private Attributes | |
ESSample | data_ [MAXSAMPLES] |
ESDetId | id_ |
int | size_ |
Definition at line 10 of file ESDataFrame.h.
typedef ESDetId ESDataFrame::key_type |
For the sorted collection.
Definition at line 14 of file ESDataFrame.h.
ESDataFrame::ESDataFrame | ( | ) |
Definition at line 3 of file ESDataFrame.cc.
ESDataFrame::ESDataFrame | ( | const ESDetId & | id | ) | [explicit] |
Definition at line 8 of file ESDataFrame.cc.
ESDataFrame::ESDataFrame | ( | const edm::DataFrame & | df | ) |
Definition at line 14 of file ESDataFrame.cc.
References data_, i, MessageLogger_cff::limit, evf::evtn::offset(), setSize(), edm::DataFrame::size(), and size_.
const ESDetId& ESDataFrame::id | ( | void | ) | const [inline] |
Definition at line 21 of file ESDataFrame.h.
References id_.
Referenced by EcalPreshowerDigisValidation::analyze(), ESTimingTask::analyze(), EcalMixingModuleValidation::analyze(), ESPedestalTask::analyze(), ESElectronicsSim::digitalToAnalog(), ESDataFormatterV4::DigiToRaw(), ESDataFormatterV1_1::DigiToRaw(), GlobalDigisProducer::fillECal(), operator<<(), ESZeroSuppressionProducer::produce(), ESDigiCollection::push_back(), ESRecHitSimAlgo::reconstruct(), ESRecHitAnalyticAlgo::reconstruct(), and ESRecHitFitAlgo::reconstruct().
{ return id_; }
const ESSample& ESDataFrame::operator[] | ( | int | i | ) | const [inline] |
const ESSample& ESDataFrame::sample | ( | int | i | ) | const [inline] |
Definition at line 26 of file ESDataFrame.h.
Referenced by ESTimingTask::analyze(), ESPedestalTask::analyze(), ESDataFormatterV4::DigiToRaw(), ESDataFormatterV1_1::DigiToRaw(), ESRecHitFitAlgo::EvalAmplitude(), ESRecHitAnalyticAlgo::EvalAmplitude(), ESRecHitSimAlgo::EvalAmplitude(), operator<<(), ESZeroSuppressionProducer::produce(), and ESUnpacker::word2digi().
void ESDataFrame::setSample | ( | int | i, |
const ESSample & | sam | ||
) | [inline] |
Definition at line 30 of file ESDataFrame.h.
Referenced by ESElectronicsSim::analogToDigital(), ESElectronicsSimFast::analogToDigital(), edm::DataMixingEMDigiWorker::putEM(), and ESUnpacker::word2digi().
void ESDataFrame::setSize | ( | int | size | ) |
Definition at line 27 of file ESDataFrame.cc.
References MAXSAMPLES, size(), and size_.
Referenced by ESElectronicsSim::analogToDigital(), ESElectronicsSimFast::analogToDigital(), ESDataFrame(), and ESUnpacker::word2digi().
{ if (size > MAXSAMPLES) size_ = MAXSAMPLES; else if (size <= 0) size_=0; else size_ = size; }
int ESDataFrame::size | ( | void | ) | const [inline] |
Definition at line 23 of file ESDataFrame.h.
References size_.
Referenced by ESElectronicsSim::analogToDigital(), EcalPreshowerDigisValidation::analyze(), ESTimingTask::analyze(), EcalPreshowerNoiseDistrib::analyze(), EcalMixingModuleValidation::analyze(), ESElectronicsSim::digitalToAnalog(), ESDataFormatterV4::DigiToRaw(), ESDataFormatterV1_1::DigiToRaw(), ESRecHitFitAlgo::EvalAmplitude(), ESRecHitAnalyticAlgo::EvalAmplitude(), ESRecHitSimAlgo::EvalAmplitude(), GlobalDigisAnalyzer::fillECal(), GlobalDigisProducer::fillECal(), operator<<(), edm::DataMixingEMDigiWorker::putEM(), and setSize().
{ return size_; }
ESSample ESDataFrame::data_[MAXSAMPLES] [private] |
Definition at line 39 of file ESDataFrame.h.
Referenced by ESDataFrame(), operator[](), sample(), and setSample().
ESDetId ESDataFrame::id_ [private] |
Definition at line 36 of file ESDataFrame.h.
Referenced by id().
const int ESDataFrame::MAXSAMPLES = 3 [static] |
Definition at line 32 of file ESDataFrame.h.
Referenced by EcalPreshowerDigisValidation::analyze(), EcalPreshowerNoiseDistrib::analyze(), EcalMixingModuleValidation::analyze(), EcalMixingModuleValidation::computeSDBunchDigi(), EcalMixingModuleValidation::endRun(), GlobalDigisAnalyzer::fillECal(), GlobalDigisProducer::fillECal(), and setSize().
int ESDataFrame::size_ [private] |
Definition at line 37 of file ESDataFrame.h.
Referenced by ESDataFrame(), setSize(), and size().