#include <CastorNominalCoder.h>
Public Member Functions | |
virtual void | adc2fC (const CastorDataFrame &df, CaloSamples &lf) const |
virtual void | fC2adc (const CaloSamples &clf, CastorDataFrame &df, int fCapIdOffset) const |
Simple coder which uses the QIESample to convert to fC
Definition at line 11 of file CastorNominalCoder.h.
void CastorNominalCoder::adc2fC | ( | const CastorDataFrame & | df, |
CaloSamples & | lf | ||
) | const [virtual] |
Implements CastorCoder.
Definition at line 3 of file CastorNominalCoder.cc.
References i, CastorDataFrame::id(), CastorDataFrame::presamples(), CaloSamples::setPresamples(), and CastorDataFrame::size().
{ lf=CaloSamples(df.id(),df.size()); for (int i=0; i<df.size(); i++) lf[i]=df[i].nominal_fC(); lf.setPresamples(df.presamples()); }
void CastorNominalCoder::fC2adc | ( | const CaloSamples & | clf, |
CastorDataFrame & | df, | ||
int | fCapIdOffset | ||
) | const [virtual] |
Implements CastorCoder.
Definition at line 29 of file CastorNominalCoder.cc.
References align_tpl::process.
{ CastorNominalCoderTemplate::process(clf,df, fCapIdOffset); }