#ifndef HCALNOMINALCODER_H
#define HCALNOMINALCODER_H 1

#include "CalibFormats/HcalObjects/interface/HcalCoder.h"

/** \class HcalNominalCoder
    
    Simple coder which uses the QIESample to convert to fC

*/
class HcalNominalCoder : public HcalCoder {
public:
  void adc2fC(const HBHEDataFrame& df, CaloSamples& lf) const override;
  void adc2fC(const HODataFrame& df, CaloSamples& lf) const override;
  void adc2fC(const HFDataFrame& df, CaloSamples& lf) const override;
  void adc2fC(const ZDCDataFrame& df, CaloSamples& lf) const override;
  void adc2fC(const HcalCalibDataFrame& df, CaloSamples& lf) const override;
  void fC2adc(const CaloSamples& clf, HBHEDataFrame& df, int fCapIdOffset) const override;
  void fC2adc(const CaloSamples& clf, HFDataFrame& df, int fCapIdOffset) const override;
  void fC2adc(const CaloSamples& clf, HODataFrame& df, int fCapIdOffset) const override;
  void fC2adc(const CaloSamples& clf, ZDCDataFrame& df, int fCapIdOffset) const override;
  void fC2adc(const CaloSamples& clf, HcalCalibDataFrame& df, int fCapIdOffset) const override;
  void adc2fC(const QIE10DataFrame& df, CaloSamples& lf) const override {}
  void fC2adc(const CaloSamples& clf, QIE10DataFrame& df, int fCapIdOffset) const override {}
  void adc2fC(const QIE11DataFrame& df, CaloSamples& lf) const override {}
  void fC2adc(const CaloSamples& clf, QIE11DataFrame& df, int fCapIdOffset) const override {}
};

#endif
