#include <HcalCoderDb.h>
Public Member Functions | |
virtual void | adc2fC (const HBHEDataFrame &df, CaloSamples &lf) const |
virtual void | adc2fC (const HFDataFrame &df, CaloSamples &lf) const |
virtual void | adc2fC (const ZDCDataFrame &df, CaloSamples &lf) const |
virtual void | adc2fC (const HODataFrame &df, CaloSamples &lf) const |
virtual void | adc2fC (const HcalCalibDataFrame &df, CaloSamples &lf) const |
virtual void | adc2fC (const HcalUpgradeDataFrame &df, CaloSamples &lf) const |
virtual void | fC2adc (const CaloSamples &clf, HcalCalibDataFrame &df, int fCapIdOffset) const |
virtual void | fC2adc (const CaloSamples &clf, HODataFrame &df, int fCapIdOffset) const |
virtual void | fC2adc (const CaloSamples &clf, ZDCDataFrame &df, int fCapIdOffset) const |
virtual void | fC2adc (const CaloSamples &clf, HcalUpgradeDataFrame &df, int fCapIdOffset) const |
virtual void | fC2adc (const CaloSamples &clf, HBHEDataFrame &df, int fCapIdOffset) const |
virtual void | fC2adc (const CaloSamples &clf, HFDataFrame &df, int fCapIdOffset) const |
HcalCoderDb (const HcalQIECoder &fCoder, const HcalQIEShape &fShape) | |
Private Member Functions | |
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<class Digi > | |
void | fCUpgrade2adc_ (const CaloSamples &clf, Digi &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 17 of file HcalCoderDb.h.
HcalCoderDb::HcalCoderDb | ( | const HcalQIECoder & | fCoder, |
const HcalQIEShape & | fShape | ||
) |
Definition at line 13 of file HcalCoderDb.cc.
void HcalCoderDb::adc2fC | ( | const HBHEDataFrame & | df, |
CaloSamples & | lf | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 46 of file HcalCoderDb.cc.
References adc2fC_().
Referenced by edm::DataMixingHcalDigiWorker::addHcalPileups(), edm::DataMixingHcalDigiWorker::addHcalSignals(), HcalNoiseMonitor::analyze(), reco::HcalNoiseInfoProducer::filldigis(), GlobalDigisAnalyzer::fillHCal(), GlobalDigisProducer::fillHCal(), HcalDigiTester::reco(), HcalDigisValidation::reco(), HcalSignalGenerator< HBHEDigitizerTraits >::samplesInPE(), and HcaluLUTTPGCoder::update().
{adc2fC_ (df, lf);}
void HcalCoderDb::adc2fC | ( | const HODataFrame & | df, |
CaloSamples & | lf | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 47 of file HcalCoderDb.cc.
References adc2fC_().
{adc2fC_ (df, lf);}
void HcalCoderDb::adc2fC | ( | const ZDCDataFrame & | df, |
CaloSamples & | lf | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 49 of file HcalCoderDb.cc.
References adc2fC_().
{adc2fC_ (df, lf);}
void HcalCoderDb::adc2fC | ( | const HcalCalibDataFrame & | df, |
CaloSamples & | lf | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 50 of file HcalCoderDb.cc.
References adc2fC_().
{adc2fC_ (df, lf);}
void HcalCoderDb::adc2fC | ( | const HFDataFrame & | df, |
CaloSamples & | lf | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 48 of file HcalCoderDb.cc.
References adc2fC_().
{adc2fC_ (df, lf);}
void HcalCoderDb::adc2fC | ( | const HcalUpgradeDataFrame & | df, |
CaloSamples & | lf | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 51 of file HcalCoderDb.cc.
References adc2fC_().
{adc2fC_ (df, lf);}
void HcalCoderDb::adc2fC_ | ( | const Digi & | df, |
CaloSamples & | clf | ||
) | const [private] |
Definition at line 18 of file HcalCoderDb.cc.
References ecalMGPA::adc(), HcalQIECoder::charge(), i, mCoder, mShape, and CaloSamples::setPresamples().
Referenced by adc2fC().
void HcalCoderDb::fC2adc | ( | const CaloSamples & | clf, |
HFDataFrame & | df, | ||
int | fCapIdOffset | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 54 of file HcalCoderDb.cc.
References fC2adc_().
{fC2adc_ (clf, df, fCapIdOffset);}
void HcalCoderDb::fC2adc | ( | const CaloSamples & | clf, |
HODataFrame & | df, | ||
int | fCapIdOffset | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 55 of file HcalCoderDb.cc.
References fC2adc_().
{fC2adc_ (clf, df, fCapIdOffset);}
void HcalCoderDb::fC2adc | ( | const CaloSamples & | clf, |
HBHEDataFrame & | df, | ||
int | fCapIdOffset | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 53 of file HcalCoderDb.cc.
References fC2adc_().
Referenced by edm::DataMixingHcalDigiWorker::putHcal().
{fC2adc_ (clf, df, fCapIdOffset);}
void HcalCoderDb::fC2adc | ( | const CaloSamples & | clf, |
HcalUpgradeDataFrame & | df, | ||
int | fCapIdOffset | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 58 of file HcalCoderDb.cc.
References fCUpgrade2adc_().
{fCUpgrade2adc_ (clf, df, fCapIdOffset);}
void HcalCoderDb::fC2adc | ( | const CaloSamples & | clf, |
ZDCDataFrame & | df, | ||
int | fCapIdOffset | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 56 of file HcalCoderDb.cc.
References fC2adc_().
{fC2adc_ (clf, df, fCapIdOffset);}
void HcalCoderDb::fC2adc | ( | const CaloSamples & | clf, |
HcalCalibDataFrame & | df, | ||
int | fCapIdOffset | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 57 of file HcalCoderDb.cc.
References fC2adc_().
{fC2adc_ (clf, df, fCapIdOffset);}
void HcalCoderDb::fC2adc_ | ( | const CaloSamples & | clf, |
Digi & | df, | ||
int | fCapIdOffset | ||
) | const [private] |
Definition at line 26 of file HcalCoderDb.cc.
References HcalQIECoder::adc(), i, CaloSamples::id(), mCoder, mShape, CaloSamples::presamples(), and CaloSamples::size().
Referenced by fC2adc().
void HcalCoderDb::fCUpgrade2adc_ | ( | const CaloSamples & | clf, |
Digi & | df, | ||
int | fCapIdOffset | ||
) | const [private] |
Definition at line 36 of file HcalCoderDb.cc.
References HcalQIECoder::adc(), i, CaloSamples::id(), mCoder, mShape, CaloSamples::presamples(), HcalUpgradeDataFrame::setSample(), and CaloSamples::size().
Referenced by fC2adc().
const HcalQIECoder* HcalCoderDb::mCoder [private] |
Definition at line 40 of file HcalCoderDb.h.
Referenced by adc2fC_(), fC2adc_(), and fCUpgrade2adc_().
const HcalQIEShape* HcalCoderDb::mShape [private] |
Definition at line 41 of file HcalCoderDb.h.
Referenced by adc2fC_(), fC2adc_(), and fCUpgrade2adc_().