#include <EcalDataFrame.h>
Public Member Functions | |
EcalDataFrame () | |
EcalDataFrame (edm::DataFrame const &iframe) | |
edm::DataFrame const & | frame () const |
edm::DataFrame & | frame () |
DetId | id () const |
bool | isSaturated () const |
int | lastUnsaturatedSample () const |
EcalMGPASample | operator[] (int i) const |
EcalMGPASample | sample (int i) const |
void | setSample (int i, EcalMGPASample sam) |
void | setSize (int) |
int | size () const |
virtual | ~EcalDataFrame () |
Static Public Attributes | |
static const int | MAXSAMPLES = 10 |
Private Attributes | |
edm::DataFrame | m_data |
Definition at line 15 of file EcalDataFrame.h.
EcalDataFrame::EcalDataFrame | ( | ) | [inline] |
Definition at line 17 of file EcalDataFrame.h.
{}
EcalDataFrame::EcalDataFrame | ( | edm::DataFrame const & | iframe | ) | [inline] |
Definition at line 19 of file EcalDataFrame.h.
: m_data(iframe){}
virtual EcalDataFrame::~EcalDataFrame | ( | ) | [inline, virtual] |
Definition at line 21 of file EcalDataFrame.h.
{}
edm::DataFrame const& EcalDataFrame::frame | ( | ) | const [inline] |
Definition at line 46 of file EcalDataFrame.h.
References m_data.
Referenced by edm::DataMixingEMDigiWorker::putEM(), and EcalTBReadout::readOut().
{ return m_data;}
edm::DataFrame& EcalDataFrame::frame | ( | ) | [inline] |
DetId EcalDataFrame::id | ( | void | ) | const [inline] |
Reimplemented in EBDataFrame, and EEDataFrame.
Definition at line 23 of file EcalDataFrame.h.
References edm::DataFrame::id(), and m_data.
Referenced by EBDataFrame::id(), and EEDataFrame::id().
bool EcalDataFrame::isSaturated | ( | ) | const [inline] |
Definition at line 37 of file EcalDataFrame.h.
References lastUnsaturatedSample().
{ return ( lastUnsaturatedSample() != -1 ); }
int EcalDataFrame::lastUnsaturatedSample | ( | ) | const |
Definition at line 3 of file EcalDataFrame.cc.
References i, j, m_data, and edm::DataFrame::size().
Referenced by isSaturated().
EcalMGPASample EcalDataFrame::operator[] | ( | int | i | ) | const [inline] |
EcalMGPASample EcalDataFrame::sample | ( | int | i | ) | const [inline] |
Definition at line 28 of file EcalDataFrame.h.
Referenced by EELedTask::analyze(), EBLaserTask::analyze(), EcnaAnalyzer::analyze(), EBTestPulseTask::analyze(), EBBeamCaloTask::analyze(), EELaserTask::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), EBPedestalOnlineTask::analyze(), EEBeamCaloTask::analyze(), JetToDigiDump::analyze(), EBPedestalTask::analyze(), EEPedestalOnlineTask::analyze(), EETestPulseTask::analyze(), EcalPulseShapeGrapher::analyze(), EcalTBValidation::analyze(), testChannel::analyze(), EEPedestalTask::analyze(), TowerBlockFormatter::DigiToRaw(), EcalCoder::encode(), EcalSimRawData::getEbDigi(), HSCPValidator::makeSimDigiPlotsECAL(), operator<<(), EcalDigiSelector::produce(), EcalTBWeightUncalibRecHitProducer::produce(), EcalDigiDisplay::readEBDigis(), EcalDigiDisplay::readEEDigis(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), and EBDataFrame::spikeEstimator().
void EcalDataFrame::setSample | ( | int | i, |
EcalMGPASample | sam | ||
) | [inline] |
Definition at line 42 of file EcalDataFrame.h.
Referenced by EcalCoder::encode(), EcalTB07DaqFormatter::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), EcalDigiSelector::produce(), and edm::DataMixingEMDigiWorker::putEM().
void EcalDataFrame::setSize | ( | int | ) | [inline] |
int EcalDataFrame::size | ( | void | ) | const [inline] |
Definition at line 25 of file EcalDataFrame.h.
References m_data, and edm::DataFrame::size().
Referenced by EcalTPInputAnalyzer::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalDigisValidation::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), EcalEndcapDigisValidation::analyze(), EcalBarrelDigisValidation::analyze(), EcalTBValidation::analyze(), EcalMixingModuleValidation::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), EBSelectiveReadoutTask::dccZsFIR(), EESelectiveReadoutTask::dccZsFIR(), EcalSelectiveReadoutValidation::dccZsFIR(), TowerBlockFormatter::DigiToRaw(), GlobalDigisAnalyzer::fillECal(), GlobalDigisProducer::fillECal(), EcalSelectiveReadoutValidation::frame2Energy(), EcalSimRawData::getEbDigi(), HSCPValidator::makeSimDigiPlotsECAL(), operator<<(), EcalDigiSelector::produce(), EcalTBWeightUncalibRecHitProducer::produce(), edm::DataMixingEMDigiWorker::putEM(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), and EBDataFrame::spikeEstimator().
edm::DataFrame EcalDataFrame::m_data [private] |
Definition at line 51 of file EcalDataFrame.h.
Referenced by frame(), id(), lastUnsaturatedSample(), operator[](), sample(), setSample(), and size().
const int EcalDataFrame::MAXSAMPLES = 10 [static] |
Definition at line 44 of file EcalDataFrame.h.
Referenced by EcalDigisValidation::analyze(), EcalEndcapDigisValidation::analyze(), EcalBarrelDigisValidation::analyze(), testChannel::analyze(), EcalMixingModuleValidation::analyze(), EcalMixingModuleValidation::endRun(), GlobalDigisAnalyzer::fillECal(), GlobalDigisProducer::fillECal(), EcalPedOffset::readDACs(), and EcalUncalibRecHitWorkerGlobal::run().