#include <HcalCoderDb.h>
Public Member Functions | |
void | adc2fC (const HBHEDataFrame &df, CaloSamples &lf) const override |
void | adc2fC (const HcalCalibDataFrame &df, CaloSamples &lf) const override |
void | adc2fC (const HFDataFrame &df, CaloSamples &lf) const override |
void | adc2fC (const HODataFrame &df, CaloSamples &lf) const override |
void | adc2fC (const QIE10DataFrame &df, CaloSamples &lf) const override |
void | adc2fC (const QIE11DataFrame &df, CaloSamples &lf) const override |
void | adc2fC (const ZDCDataFrame &df, CaloSamples &lf) const override |
void | fC2adc (const CaloSamples &clf, HBHEDataFrame &df, int fCapIdOffset) const override |
void | fC2adc (const CaloSamples &clf, HcalCalibDataFrame &df, int fCapIdOffset) const override |
void | fC2adc (const CaloSamples &clf, HFDataFrame &df, int fCapIdOffset) const override |
void | fC2adc (const CaloSamples &clf, HODataFrame &df, int fCapIdOffset) const override |
void | fC2adc (const CaloSamples &clf, QIE10DataFrame &df, int fCapIdOffset) const override |
void | fC2adc (const CaloSamples &clf, QIE11DataFrame &df, int fCapIdOffset) const override |
void | fC2adc (const CaloSamples &clf, ZDCDataFrame &df, int fCapIdOffset) const override |
HcalCoderDb (const HcalQIECoder &fCoder, const HcalQIEShape &fShape) | |
Public Member Functions inherited from HcalCoder | |
virtual | ~HcalCoder ()=default |
Private Member Functions | |
template<class Digi > | |
void | adc2fC_ (const Digi &df, CaloSamples &clf) const |
template<> | |
void | adc2fC_ (const QIE10DataFrame &df, CaloSamples &clf) const |
template<> | |
void | adc2fC_ (const QIE11DataFrame &df, CaloSamples &clf) const |
template<class Digi > | |
void | fC2adc_ (const CaloSamples &clf, Digi &df, int fCapIdOffset) const |
template<> | |
void | fC2adc_ (const CaloSamples &clf, QIE10DataFrame &df, int fCapIdOffset) const |
template<> | |
void | fC2adc_ (const CaloSamples &clf, QIE11DataFrame &df, int fCapIdOffset) const |
Private Attributes | |
const HcalQIECoder * | mCoder |
const HcalQIEShape * | mShape |
coder which uses DB services to convert to fC $Author: ratnikov
Definition at line 15 of file HcalCoderDb.h.
HcalCoderDb::HcalCoderDb | ( | const HcalQIECoder & | fCoder, |
const HcalQIEShape & | fShape | ||
) |
Definition at line 10 of file HcalCoderDb.cc.
|
overridevirtual |
Implements HcalCoder.
Definition at line 73 of file HcalCoderDb.cc.
References adc2fC_().
Referenced by edm::DataMixingHcalDigiWorker::addHcalPileups(), edm::DataMixingHcalDigiWorker::addHcalSignals(), HGCalDigiValidation::analyze(), HcalDataFrameFilter_impl::energySum< QIE11DataFrame >(), CMTRawAnalyzer::fillDigiAmplitude(), CMTRawAnalyzer::fillDigiAmplitudeHF(), CMTRawAnalyzer::fillDigiAmplitudeHFQIE10(), CMTRawAnalyzer::fillDigiAmplitudeHO(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), reco::HcalNoiseInfoProducer::filldigis(), GlobalDigisProducer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), hcaldqm::utilities::loadADC2fCDB(), HBHEPhase1Reconstructor::processData(), HcalDigisValidation::reco(), and HcalSignalGenerator< HBHEDigitizerTraits >::samplesInPE().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
private |
Definition at line 13 of file HcalCoderDb.cc.
References ecalMGPA::adc(), HcalQIECoder::charge(), mps_fire::i, mCoder, mShape, and CaloSamples::setPresamples().
Referenced by adc2fC().
|
private |
Definition at line 22 of file HcalCoderDb.cc.
References ecalMGPA::adc(), HcalQIECoder::charge(), mps_fire::i, QIE10DataFrame::id(), mCoder, mShape, QIE10DataFrame::samples(), and CaloSamples::setPresamples().
|
private |
Definition at line 32 of file HcalCoderDb.cc.
References ecalMGPA::adc(), HcalQIECoder::charge(), mps_fire::i, QIE11DataFrame::id(), mCoder, mShape, QIE11DataFrame::samples(), and CaloSamples::setPresamples().
|
overridevirtual |
Implements HcalCoder.
Definition at line 81 of file HcalCoderDb.cc.
References fC2adc_().
Referenced by edm::DataMixingHcalDigiWorker::putHcal().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
private |
Definition at line 42 of file HcalCoderDb.cc.
References HcalQIECoder::adc(), TrendClient_cfi::Digi, mps_fire::i, CaloSamples::id(), mCoder, mShape, CaloSamples::presamples(), and CaloSamples::size().
Referenced by fC2adc().
|
private |
Definition at line 53 of file HcalCoderDb.cc.
References HcalQIECoder::adc(), mps_fire::i, mCoder, mShape, CaloSamples::presamples(), QIE10DataFrame::setSample(), and CaloSamples::size().
|
private |
Definition at line 63 of file HcalCoderDb.cc.
References HcalQIECoder::adc(), mps_fire::i, mCoder, mShape, CaloSamples::presamples(), QIE11DataFrame::setCapid0(), QIE11DataFrame::setSample(), and CaloSamples::size().
|
private |
Definition at line 42 of file HcalCoderDb.h.
|
private |
Definition at line 43 of file HcalCoderDb.h.