#include <HcalCoderDb.h>
Public Member Functions | |
void | adc2fC (const HBHEDataFrame &df, CaloSamples &lf) const override |
void | adc2fC (const HODataFrame &df, CaloSamples &lf) const override |
void | adc2fC (const HFDataFrame &df, CaloSamples &lf) const override |
void | adc2fC (const ZDCDataFrame &df, CaloSamples &lf) const override |
void | adc2fC (const HcalCalibDataFrame &df, CaloSamples &lf) const override |
void | adc2fC (const QIE10DataFrame &df, CaloSamples &lf) const override |
void | adc2fC (const QIE11DataFrame &df, CaloSamples &lf) const override |
void | fC2adc (const CaloSamples &clf, HBHEDataFrame &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, ZDCDataFrame &df, int fCapIdOffset) const override |
void | fC2adc (const CaloSamples &clf, HcalCalibDataFrame &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 |
HcalCoderDb (const HcalQIECoder &fCoder, const HcalQIEShape &fShape) | |
Public Member Functions inherited from HcalCoder | |
virtual | ~HcalCoder ()=default |
Private Member Functions | |
template<> | |
void | adc2fC_ (const QIE10DataFrame &df, CaloSamples &clf) const |
template<> | |
void | adc2fC_ (const QIE11DataFrame &df, CaloSamples &clf) const |
template<class Digi > | |
void | adc2fC_ (const Digi &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 68 of file HcalCoderDb.cc.
References adc2fC_().
Referenced by edm::DataMixingHcalDigiWorker::addHcalPileups(), edm::DataMixingHcalDigiWorker::addHcalSignals(), HGCalDigiValidation::analyze(), HcalDataFrameFilter_impl::energySum< QIE11DataFrame >(), reco::HcalNoiseInfoProducer::filldigis(), GlobalDigisProducer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), HcalFeatureHFEMBit::getE(), PFHBHERecHitCreatorMaxSample::importRecHits(), hcaldqm::utilities::loadADC2fCDB(), HBHEPhase1Reconstructor::processData(), HcalDigiTester::reco(), HcalDigisValidation::reco(), and HcalSignalGenerator< HBHEDigitizerTraits >::samplesInPE().
|
overridevirtual |
Implements HcalCoder.
Definition at line 69 of file HcalCoderDb.cc.
References adc2fC_().
|
overridevirtual |
Implements HcalCoder.
Definition at line 70 of file HcalCoderDb.cc.
References adc2fC_().
|
overridevirtual |
Implements HcalCoder.
Definition at line 71 of file HcalCoderDb.cc.
References adc2fC_().
|
overridevirtual |
Implements HcalCoder.
Definition at line 72 of file HcalCoderDb.cc.
References adc2fC_().
|
overridevirtual |
Implements HcalCoder.
Definition at line 73 of file HcalCoderDb.cc.
References adc2fC_().
|
overridevirtual |
Implements HcalCoder.
Definition at line 74 of file HcalCoderDb.cc.
References adc2fC_().
|
private |
Definition at line 23 of file HcalCoderDb.cc.
References ecalMGPA::adc(), HcalQIECoder::charge(), mps_fire::i, mCoder, and mShape.
|
private |
Definition at line 31 of file HcalCoderDb.cc.
References ecalMGPA::adc(), HcalQIECoder::charge(), mps_fire::i, mCoder, and mShape.
|
private |
Definition at line 15 of file HcalCoderDb.cc.
References ecalMGPA::adc(), HcalQIECoder::charge(), mps_fire::i, mCoder, mShape, and CaloSamples::setPresamples().
Referenced by adc2fC().
|
overridevirtual |
Implements HcalCoder.
Definition at line 76 of file HcalCoderDb.cc.
References fC2adc_().
Referenced by edm::DataMixingHcalDigiWorker::putHcal().
|
overridevirtual |
Implements HcalCoder.
Definition at line 77 of file HcalCoderDb.cc.
References fC2adc_().
|
overridevirtual |
Implements HcalCoder.
Definition at line 78 of file HcalCoderDb.cc.
References fC2adc_().
|
overridevirtual |
Implements HcalCoder.
Definition at line 79 of file HcalCoderDb.cc.
References fC2adc_().
|
overridevirtual |
Implements HcalCoder.
Definition at line 80 of file HcalCoderDb.cc.
References fC2adc_().
|
overridevirtual |
Implements HcalCoder.
Definition at line 81 of file HcalCoderDb.cc.
References fC2adc_().
|
overridevirtual |
Implements HcalCoder.
Definition at line 82 of file HcalCoderDb.cc.
References fC2adc_().
|
private |
Definition at line 39 of file HcalCoderDb.cc.
References HcalQIECoder::adc(), mps_fire::i, CaloSamples::id(), mCoder, mShape, CaloSamples::presamples(), and CaloSamples::size().
Referenced by fC2adc().
|
private |
Definition at line 49 of file HcalCoderDb.cc.
References HcalQIECoder::adc(), mps_fire::i, mCoder, and mShape.
|
private |
Definition at line 58 of file HcalCoderDb.cc.
References HcalQIECoder::adc(), mps_fire::i, mCoder, and mShape.
|
private |
Definition at line 40 of file HcalCoderDb.h.
|
private |
Definition at line 41 of file HcalCoderDb.h.