#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 22 of file EcalMGPASample.h.
|
inline |
Definition at line 24 of file EcalMGPASample.h.
|
inline |
Definition at line 25 of file EcalMGPASample.h.
References ecalMGPA::adc(), data, and ecalMGPA::gainId().
EcalMGPASample::EcalMGPASample | ( | int | adc, |
int | gainId | ||
) |
|
inline |
get the ADC sample (12 bits)
Definition at line 31 of file EcalMGPASample.h.
Referenced by EcalSelectiveReadoutSuppressor::accept(), JetToDigiDump::analyze(), EcalTBValidation::analyze(), EcalTPInputAnalyzer::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), EcalBarrelDigisValidation::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalEndcapDigisValidation::analyze(), EcalEndcapRecHitsValidation::analyze(), testChannel::analyze(), EcalPulseShapeGrapher::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::LedTask::runOnDigis(), ecaldqm::LaserTask::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 33 of file EcalMGPASample.h.
Referenced by EcalSelectiveReadoutSuppressor::accept(), JetToDigiDump::analyze(), EcalBarrelDigisValidation::analyze(), EcalEndcapDigisValidation::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 |
Definition at line 36 of file EcalMGPASample.h.
|
inline |
|
inline |
get the raw word
Definition at line 29 of file EcalMGPASample.h.
Referenced by EcalSimRawData::getEbDigi(), EcalDigiSelector::produce(), and EcalFenixLinearizer::setInput().
|
private |
Definition at line 39 of file EcalMGPASample.h.
Referenced by EcalMGPASample().