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