#include <EcalMGPASample.h>
Public Member Functions | |
int | adc () const |
get the ADC sample (12 bits) | |
EcalMGPASample () | |
EcalMGPASample (uint16_t data) | |
EcalMGPASample (int adc, int gainId) | |
int | gainId () const |
get the gainId (2 bits) | |
operator uint16_t () const | |
uint16_t | operator() () const |
for streaming | |
uint16_t | raw () const |
get the raw word | |
Private Attributes | |
uint16_t | theSample |
Simple container packer/unpacker for a single sample from teh MGPA electronics
Definition at line 26 of file EcalMGPASample.h.
EcalMGPASample::EcalMGPASample | ( | ) | [inline] |
EcalMGPASample::EcalMGPASample | ( | uint16_t | data | ) | [inline] |
EcalMGPASample::EcalMGPASample | ( | int | adc, |
int | gainId | ||
) |
int EcalMGPASample::adc | ( | ) | const [inline] |
get the ADC sample (12 bits)
Definition at line 35 of file EcalMGPASample.h.
References theSample.
Referenced by EcalSelectiveReadoutSuppressor::accept(), EELedTask::analyze(), EcalEndcapRecHitsValidation::analyze(), EBLaserTask::analyze(), EcnaAnalyzer::analyze(), EBTestPulseTask::analyze(), EcalTPInputAnalyzer::analyze(), EELaserTask::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalDigisValidation::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), EBPedestalOnlineTask::analyze(), EcalEndcapDigisValidation::analyze(), JetToDigiDump::analyze(), EcalBarrelRecHitsValidation::analyze(), EBPedestalTask::analyze(), EEPedestalOnlineTask::analyze(), EETestPulseTask::analyze(), EcalBarrelDigisValidation::analyze(), EcalPulseShapeGrapher::analyze(), EcalTBValidation::analyze(), testChannel::analyze(), EEPedestalTask::analyze(), EcalMixingModuleValidation::analyze(), EBSelectiveReadoutTask::dccZsFIR(), EESelectiveReadoutTask::dccZsFIR(), EcalSelectiveReadoutValidation::dccZsFIR(), GlobalDigisAnalyzer::fillECal(), GlobalDigisProducer::fillECal(), HSCPValidator::makeSimDigiPlotsECAL(), operator<<(), ecaldqm::TestPulseTask::runOnDigis(), ecaldqm::PedestalTask::runOnDigis(), ecaldqm::LaserTask::runOnDigis(), ecaldqm::LedTask::runOnDigis(), ecaldqm::SelectiveReadoutTask::runOnDigis(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), EcalFenixLinearizer::setInput(), and EBDataFrame::spikeEstimator().
{ return theSample&0xFFF; }
int EcalMGPASample::gainId | ( | ) | const [inline] |
get the gainId (2 bits)
Definition at line 37 of file EcalMGPASample.h.
References theSample.
Referenced by EcalSelectiveReadoutSuppressor::accept(), EcalDigisValidation::analyze(), EBPedestalOnlineTask::analyze(), EcalEndcapDigisValidation::analyze(), JetToDigiDump::analyze(), EBPedestalTask::analyze(), EEPedestalOnlineTask::analyze(), EcalBarrelDigisValidation::analyze(), EcalPulseShapeGrapher::analyze(), testChannel::analyze(), EEPedestalTask::analyze(), EcalMixingModuleValidation::analyze(), EBSelectiveReadoutTask::dccZsFIR(), EESelectiveReadoutTask::dccZsFIR(), EcalSelectiveReadoutValidation::dccZsFIR(), EcalCoder::encode(), GlobalDigisAnalyzer::fillECal(), GlobalDigisProducer::fillECal(), operator<<(), EcalTBWeightUncalibRecHitProducer::produce(), ecaldqm::TestPulseTask::runOnDigis(), ecaldqm::PedestalTask::runOnDigis(), ecaldqm::SelectiveReadoutTask::runOnDigis(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), and EcalFenixLinearizer::setInput().
{ return (theSample>>12)&0x3; }
EcalMGPASample::operator uint16_t | ( | ) | const [inline] |
uint16_t EcalMGPASample::operator() | ( | ) | const [inline] |
for streaming
Definition at line 39 of file EcalMGPASample.h.
References theSample.
{ return theSample; }
uint16_t EcalMGPASample::raw | ( | ) | const [inline] |
get the raw word
Definition at line 33 of file EcalMGPASample.h.
References theSample.
Referenced by EcalSimRawData::getEbDigi(), EcalDigiSelector::produce(), and EcalFenixLinearizer::setInput().
{ return theSample; }
uint16_t EcalMGPASample::theSample [private] |
Definition at line 43 of file EcalMGPASample.h.
Referenced by adc(), EcalMGPASample(), gainId(), operator uint16_t(), operator()(), and raw().