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  virtual void adc2fC(const QIE10DataFrame& df, CaloSamples& lf) const;
26 
27  virtual void fC2adc(const CaloSamples& clf, HBHEDataFrame& df, int fCapIdOffset) const;
28  virtual void fC2adc(const CaloSamples& clf, HFDataFrame& df, int fCapIdOffset) const;
29  virtual void fC2adc(const CaloSamples& clf, HODataFrame& df, int fCapIdOffset) const;
30  virtual void fC2adc(const CaloSamples& clf, ZDCDataFrame& df, int fCapIdOffset) const;
31  virtual void fC2adc(const CaloSamples& clf, HcalCalibDataFrame& df, int fCapIdOffset) const;
32  virtual void fC2adc(const CaloSamples& clf, HcalUpgradeDataFrame& df, int fCapIdOffset) const;
33  virtual void fC2adc(const CaloSamples& clf, QIE10DataFrame& df, int fCapIdOffset) const;
34 
35 private:
36  template <class Digi> void adc2fC_ (const Digi& df, CaloSamples& clf) const;
37  template <class Digi> void fC2adc_ (const CaloSamples& clf, Digi& df, int fCapIdOffset) const;
38  template <class Digi> void fCUpgrade2adc_ (const CaloSamples& clf, Digi& df, int fCapIdOffset) const;
39 
42 };
43 
44 #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:42
std::tuple< unsigned int, int, int, DigiType, int, int, int, float > Digi
Definition: GenericDigi.h:30
virtual void fC2adc(const CaloSamples &clf, HBHEDataFrame &df, int fCapIdOffset) const
Definition: HcalCoderDb.cc:68
HcalCoderDb(const HcalQIECoder &fCoder, const HcalQIEShape &fShape)
Definition: HcalCoderDb.cc:11
void fC2adc_(const CaloSamples &clf, Digi &df, int fCapIdOffset) const
Definition: HcalCoderDb.cc:32
virtual void adc2fC(const HBHEDataFrame &df, CaloSamples &lf) const
Definition: HcalCoderDb.cc:60
const HcalQIEShape * mShape
Definition: HcalCoderDb.h:41
const HcalQIECoder * mCoder
Definition: HcalCoderDb.h:40