#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(), EcalTPInputAnalyzer::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalBarrelDigisValidation::analyze(), EcalEndcapDigisValidation::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalEndcapRecHitsValidation::analyze(), EcalPulseShapeGrapher::analyze(), testChannel::analyze(), EcalDigisValidation::analyze(), EcalMixingModuleValidation::analyze(), EcnaAnalyzer::analyze(), EcalSelectiveReadoutValidation::dccZsFIR(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), EcalUncalibRecHitMultiFitAlgo::makeRecHit(), HSCPValidator::makeSimDigiPlotsECAL(), operator<<(), ecaldqm::PedestalTask::runOnDigis(), ecaldqm::TestPulseTask::runOnDigis(), ecaldqm::LaserTask::runOnDigis(), ecaldqm::LedTask::runOnDigis(), ecaldqm::SelectiveReadoutTask::runOnDigis(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), EcalFenixLinearizer::setInput(), EBDataFrame::spikeEstimator(), and EcalUncalibRecHitTimeWeightsAlgo< EBDataFrame >::time().
|
inline |
get the gainId (2 bits)
Definition at line 36 of file EcalMGPASample.h.
References theSample.
Referenced by EcalSelectiveReadoutSuppressor::accept(), JetToDigiDump::analyze(), EcalEndcapDigisValidation::analyze(), EcalBarrelDigisValidation::analyze(), testChannel::analyze(), EcalPulseShapeGrapher::analyze(), EcalDigisValidation::analyze(), EcalMixingModuleValidation::analyze(), EcalSelectiveReadoutValidation::dccZsFIR(), EcalCoder::encode(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), EcalUncalibRecHitMultiFitAlgo::makeRecHit(), operator<<(), EcalTBWeightUncalibRecHitProducer::produce(), ecaldqm::PedestalTask::runOnDigis(), ecaldqm::SelectiveReadoutTask::runOnDigis(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), EcalFenixLinearizer::setInput(), and EcalUncalibRecHitTimeWeightsAlgo< EBDataFrame >::time().
|
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().