#include <EcalMGPASample.h>
Public Member Functions | |
int | adc () const |
get the ADC sample (12 bits) More... | |
EcalMGPASample () | |
EcalMGPASample (int adc, int gainId) | |
EcalMGPASample (uint16_t data) | |
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 22 of file EcalMGPASample.h.
|
inline |
|
inline |
EcalMGPASample::EcalMGPASample | ( | int | adc, |
int | gainId | ||
) |
|
inline |
get the ADC sample (12 bits)
Definition at line 31 of file EcalMGPASample.h.
References theSample.
Referenced by JetToDigiDump::analyze(), EcalTBValidation::analyze(), EcalTPInputAnalyzer::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), EcalBarrelDigisValidation::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalEndcapRecHitsValidation::analyze(), testChannel::analyze(), EcalPulseShapeGrapher::analyze(), EcnaAnalyzer::analyze(), EcalMGPASample(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), HSCPValidator::makeSimDigiPlotsECAL(), operator<<(), ecaldqm::PedestalTask::runOnDigis(), ecaldqm::TestPulseTask::runOnDigis(), ecaldqm::LedTask::runOnDigis(), ecaldqm::LaserTask::runOnDigis(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), EcalFenixLinearizer::setInput(), and EBDataFrame::spikeEstimator().
|
inline |
get the gainId (2 bits)
Definition at line 33 of file EcalMGPASample.h.
References theSample.
Referenced by JetToDigiDump::analyze(), EcalBarrelDigisValidation::analyze(), testChannel::analyze(), EcalPulseShapeGrapher::analyze(), EcalMGPASample(), EcalCoder::encode(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), operator<<(), EcalTBWeightUncalibRecHitProducer::produce(), ecaldqm::PedestalTask::runOnDigis(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), and EcalFenixLinearizer::setInput().
|
inline |
|
inline |
|
inline |
get the raw word
Definition at line 29 of file EcalMGPASample.h.
References theSample.
Referenced by EcalDigiSelector::produce(), and EcalFenixLinearizer::setInput().
|
private |
Definition at line 39 of file EcalMGPASample.h.
Referenced by adc(), EcalMGPASample(), gainId(), operator uint16_t(), operator()(), and raw().