Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:20

0001 #ifndef HCALNOMINALCODER_H
0002 #define HCALNOMINALCODER_H 1
0003 
0004 #include "CalibFormats/HcalObjects/interface/HcalCoder.h"
0005 
0006 /** \class HcalNominalCoder
0007     
0008     Simple coder which uses the QIESample to convert to fC
0009 
0010 */
0011 class HcalNominalCoder : public HcalCoder {
0012 public:
0013   void adc2fC(const HBHEDataFrame& df, CaloSamples& lf) const override;
0014   void adc2fC(const HODataFrame& df, CaloSamples& lf) const override;
0015   void adc2fC(const HFDataFrame& df, CaloSamples& lf) const override;
0016   void adc2fC(const ZDCDataFrame& df, CaloSamples& lf) const override;
0017   void adc2fC(const HcalCalibDataFrame& df, CaloSamples& lf) const override;
0018   void fC2adc(const CaloSamples& clf, HBHEDataFrame& df, int fCapIdOffset) const override;
0019   void fC2adc(const CaloSamples& clf, HFDataFrame& df, int fCapIdOffset) const override;
0020   void fC2adc(const CaloSamples& clf, HODataFrame& df, int fCapIdOffset) const override;
0021   void fC2adc(const CaloSamples& clf, ZDCDataFrame& df, int fCapIdOffset) const override;
0022   void fC2adc(const CaloSamples& clf, HcalCalibDataFrame& df, int fCapIdOffset) const override;
0023   void adc2fC(const QIE10DataFrame& df, CaloSamples& lf) const override {}
0024   void fC2adc(const CaloSamples& clf, QIE10DataFrame& df, int fCapIdOffset) const override {}
0025   void adc2fC(const QIE11DataFrame& df, CaloSamples& lf) const override {}
0026   void fC2adc(const CaloSamples& clf, QIE11DataFrame& df, int fCapIdOffset) const override {}
0027 };
0028 
0029 #endif