#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 | fC2adc (const CaloSamples &clf, HBHEDataFrame &df, int fCapIdOffset) const |
virtual void | fC2adc (const CaloSamples &clf, ZDCDataFrame &df, int fCapIdOffset) const |
virtual void | fC2adc (const CaloSamples &clf, HcalCalibDataFrame &df, int fCapIdOffset) const |
virtual void | fC2adc (const CaloSamples &clf, HFDataFrame &df, int fCapIdOffset) const |
virtual void | fC2adc (const CaloSamples &clf, HODataFrame &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 |
Private Attributes | |
const HcalQIECoder * | mCoder |
const HcalQIEShape * | mShape |
coder which uses DB services to convert to fC $Author: ratnikov
Definition at line 19 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 37 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(), HcalSignalGenerator< HBHEDigitizerTraits >::samplesInPE(), and HcaluLUTTPGCoder::update().
{adc2fC_ (df, lf);}
void HcalCoderDb::adc2fC | ( | const HODataFrame & | df, |
CaloSamples & | lf | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 38 of file HcalCoderDb.cc.
References adc2fC_().
{adc2fC_ (df, lf);}
void HcalCoderDb::adc2fC | ( | const ZDCDataFrame & | df, |
CaloSamples & | lf | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 40 of file HcalCoderDb.cc.
References adc2fC_().
{adc2fC_ (df, lf);}
void HcalCoderDb::adc2fC | ( | const HcalCalibDataFrame & | df, |
CaloSamples & | lf | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 41 of file HcalCoderDb.cc.
References adc2fC_().
{adc2fC_ (df, lf);}
void HcalCoderDb::adc2fC | ( | const HFDataFrame & | df, |
CaloSamples & | lf | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 39 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 44 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 43 of file HcalCoderDb.cc.
References fC2adc_().
Referenced by edm::DataMixingHcalDigiWorker::putHcal().
{fC2adc_ (clf, df, fCapIdOffset);}
void HcalCoderDb::fC2adc | ( | const CaloSamples & | clf, |
HcalCalibDataFrame & | df, | ||
int | fCapIdOffset | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 47 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 45 of file HcalCoderDb.cc.
References fC2adc_().
{fC2adc_ (clf, df, fCapIdOffset);}
void HcalCoderDb::fC2adc | ( | const CaloSamples & | clf, |
ZDCDataFrame & | df, | ||
int | fCapIdOffset | ||
) | const [virtual] |
Implements HcalCoder.
Definition at line 46 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().
const HcalQIECoder* HcalCoderDb::mCoder [private] |
Definition at line 37 of file HcalCoderDb.h.
const HcalQIEShape* HcalCoderDb::mShape [private] |
Definition at line 38 of file HcalCoderDb.h.