CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalCoderDb.h
Go to the documentation of this file.
1 #ifndef HCAL_CODER_DB_H
2 #define HCAL_CODER_DB_H
3 
5 
12 class HcalQIECoder;
13 class HcalQIEShape;
14 
15 class HcalCoderDb : public HcalCoder {
16 public:
17  HcalCoderDb (const HcalQIECoder& fCoder, const HcalQIEShape& fShape);
18 
19  virtual void adc2fC(const HBHEDataFrame& df, CaloSamples& lf) const;
20  virtual void adc2fC(const HODataFrame& df, CaloSamples& lf) const;
21  virtual void adc2fC(const HFDataFrame& df, CaloSamples& lf) const;
22  virtual void adc2fC(const ZDCDataFrame& df, CaloSamples& lf) const;
23  virtual void adc2fC(const HcalCalibDataFrame& df, CaloSamples& lf) const;
24  virtual void adc2fC(const HcalUpgradeDataFrame& df, CaloSamples& lf) const;
25 
26  virtual void fC2adc(const CaloSamples& clf, HBHEDataFrame& df, int fCapIdOffset) const;
27  virtual void fC2adc(const CaloSamples& clf, HFDataFrame& df, int fCapIdOffset) const;
28  virtual void fC2adc(const CaloSamples& clf, HODataFrame& df, int fCapIdOffset) const;
29  virtual void fC2adc(const CaloSamples& clf, ZDCDataFrame& df, int fCapIdOffset) const;
30  virtual void fC2adc(const CaloSamples& clf, HcalCalibDataFrame& df, int fCapIdOffset) const;
31  virtual void fC2adc(const CaloSamples& clf, HcalUpgradeDataFrame& df, int fCapIdOffset) const;
32 
33 private:
34  template <class Digi> void adc2fC_ (const Digi& df, CaloSamples& clf) const;
35  template <class Digi> void fC2adc_ (const CaloSamples& clf, Digi& df, int fCapIdOffset) const;
36  template <class Digi> void fCUpgrade2adc_ (const CaloSamples& clf, Digi& df, int fCapIdOffset) const;
37 
40 };
41 
42 #endif
void adc2fC_(const Digi &df, CaloSamples &clf) const
Definition: HcalCoderDb.cc:16
void fCUpgrade2adc_(const CaloSamples &clf, Digi &df, int fCapIdOffset) const
Definition: HcalCoderDb.cc:34
virtual void fC2adc(const CaloSamples &clf, HBHEDataFrame &df, int fCapIdOffset) const
Definition: HcalCoderDb.cc:51
HcalCoderDb(const HcalQIECoder &fCoder, const HcalQIEShape &fShape)
Definition: HcalCoderDb.cc:11
void fC2adc_(const CaloSamples &clf, Digi &df, int fCapIdOffset) const
Definition: HcalCoderDb.cc:24
virtual void adc2fC(const HBHEDataFrame &df, CaloSamples &lf) const
Definition: HcalCoderDb.cc:44
const HcalQIEShape * mShape
Definition: HcalCoderDb.h:39
const HcalQIECoder * mCoder
Definition: HcalCoderDb.h:38