#include <CastorCoderDb.h>
Public Member Functions | |
void | adc2fC (const CastorDataFrame &df, CaloSamples &lf) const override |
CastorCoderDb (const CastorQIECoder &fCoder, const CastorQIEShape &fShape) | |
void | fC2adc (const CaloSamples &clf, CastorDataFrame &df, int fCapIdOffset) const override |
Public Member Functions inherited from CastorCoder | |
virtual | ~CastorCoder ()=default |
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 CastorQIECoder * | mCoder |
const CastorQIEShape * | mShape |
coder which uses DB services to convert to fC
Definition at line 16 of file CastorCoderDb.h.
CastorCoderDb::CastorCoderDb | ( | const CastorQIECoder & | fCoder, |
const CastorQIEShape & | fShape | ||
) |
Definition at line 11 of file CastorCoderDB.cc.
|
overridevirtual |
Implements CastorCoder.
Definition at line 34 of file CastorCoderDB.cc.
References adc2fC_(), and das-up-to-nevents::df.
Referenced by CastorTTRecord::getEnergy_fC().
|
private |
Definition at line 15 of file CastorCoderDB.cc.
References gpuClustering::adc, CastorQIECoder::charge(), das-up-to-nevents::df, mps_fire::i, mCoder, mShape, and CaloSamples::setPresamples().
Referenced by adc2fC().
|
overridevirtual |
Implements CastorCoder.
Definition at line 36 of file CastorCoderDB.cc.
References das-up-to-nevents::df, and fC2adc_().
|
private |
Definition at line 24 of file CastorCoderDB.cc.
References CastorQIECoder::adc(), das-up-to-nevents::df, TrendClient_cfi::Digi, mps_fire::i, CaloSamples::id(), mCoder, mShape, CaloSamples::presamples(), and CaloSamples::size().
Referenced by fC2adc().
|
private |
Definition at line 30 of file CastorCoderDb.h.
|
private |
Definition at line 31 of file CastorCoderDb.h.