CMS 3D CMS Logo

CastorCoderDb.h
Go to the documentation of this file.
1 #ifndef CASTOR_CODER_DB_H
2 #define CASTOR_CODER_DB_H
3 
6 
13 class CastorQIECoder;
14 class CastorQIEShape;
15 
16 class CastorCoderDb : public CastorCoder {
17 public:
18  CastorCoderDb(const CastorQIECoder& fCoder, const CastorQIEShape& fShape);
19 
20  void adc2fC(const CastorDataFrame& df, CaloSamples& lf) const override;
21 
22  void fC2adc(const CaloSamples& clf, CastorDataFrame& df, int fCapIdOffset) const override;
23 
24 private:
25  template <class Digi>
26  void adc2fC_(const Digi& df, CaloSamples& clf) const;
27  template <class Digi>
28  void fC2adc_(const CaloSamples& clf, Digi& df, int fCapIdOffset) const;
29 
32 };
33 
34 #endif
CastorCoderDb(const CastorQIECoder &fCoder, const CastorQIEShape &fShape)
void fC2adc_(const CaloSamples &clf, Digi &df, int fCapIdOffset) const
const CastorQIEShape * mShape
Definition: CastorCoderDb.h:31
void adc2fC(const CastorDataFrame &df, CaloSamples &lf) const override
void adc2fC_(const Digi &df, CaloSamples &clf) const
const CastorQIECoder * mCoder
Definition: CastorCoderDb.h:30
void fC2adc(const CaloSamples &clf, CastorDataFrame &df, int fCapIdOffset) const override