CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CastorCoderDb.h
Go to the documentation of this file.
1 #ifndef CASTOR_CODER_DB_H
2 #define CASTOR_CODER_DB_H
3 
7 
14 class CastorQIECoder;
15 class CastorQIEShape;
16 
17 class CastorCoderDb : public CastorCoder {
18 public:
19  CastorCoderDb (const CastorQIECoder& fCoder, const CastorQIEShape& fShape);
20 
21  virtual void adc2fC(const CastorDataFrame& df, CaloSamples& lf) const;
22 
23  virtual void fC2adc(const CaloSamples& clf, CastorDataFrame& df, int fCapIdOffset) const;
24 
25  private:
26  template <class Digi> void adc2fC_ (const Digi& df, CaloSamples& clf) const;
27  template <class Digi> void fC2adc_ (const CaloSamples& clf, Digi& df, int fCapIdOffset) const;
28 
31 };
32 
33 #endif
CastorCoderDb(const CastorQIECoder &fCoder, const CastorQIEShape &fShape)
void adc2fC_(const Digi &df, CaloSamples &clf) const
const CastorQIEShape * mShape
Definition: CastorCoderDb.h:30
virtual void fC2adc(const CaloSamples &clf, CastorDataFrame &df, int fCapIdOffset) const
void fC2adc_(const CaloSamples &clf, Digi &df, int fCapIdOffset) const
const CastorQIECoder * mCoder
Definition: CastorCoderDb.h:29
virtual void adc2fC(const CastorDataFrame &df, CaloSamples &lf) const