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
CastorCoder.h
TrendClient_cfi.Digi
Digi
Definition: TrendClient_cfi.py:7
CastorChannelCoder.h
CastorCoderDb
Definition: CastorCoderDb.h:16
CastorCoderDb::fC2adc
void fC2adc(const CaloSamples &clf, CastorDataFrame &df, int fCapIdOffset) const override
Definition: CastorCoderDB.cc:36
CastorCoderDb::mShape
const CastorQIEShape * mShape
Definition: CastorCoderDb.h:31
CastorCoderDb::fC2adc_
void fC2adc_(const CaloSamples &clf, Digi &df, int fCapIdOffset) const
Definition: CastorCoderDB.cc:24
CastorDataFrame
Definition: CastorDataFrame.h:15
CastorCoderDb::mCoder
const CastorQIECoder * mCoder
Definition: CastorCoderDb.h:30
CastorCoderDb::CastorCoderDb
CastorCoderDb(const CastorQIECoder &fCoder, const CastorQIEShape &fShape)
Definition: CastorCoderDB.cc:11
CaloSamples
Definition: CaloSamples.h:14
hgcalPerformanceValidation.df
df
Definition: hgcalPerformanceValidation.py:733
CastorCoderDb::adc2fC_
void adc2fC_(const Digi &df, CaloSamples &clf) const
Definition: CastorCoderDB.cc:15
CastorQIECoder
Definition: CastorQIECoder.h:21
CastorCoderDb::adc2fC
void adc2fC(const CastorDataFrame &df, CaloSamples &lf) const override
Definition: CastorCoderDB.cc:34
CastorCoder
Definition: CastorCoder.h:13
CastorQIEShape
Definition: CastorQIEShape.h:14