00001 #ifndef CASTORCODER_H 00002 #define CASTORCODER_H 1 00003 00004 #include "DataFormats/HcalDigi/interface/CastorDataFrame.h" 00005 #include "CalibFormats/CaloObjects/interface/CaloSamples.h" 00006 00013 class CastorCoder { 00014 public: 00015 virtual void adc2fC(const CastorDataFrame& df, CaloSamples& lf) const = 0; 00016 virtual void fC2adc(const CaloSamples& clf, CastorDataFrame& df, int fCapIdOffset) const = 0; 00017 }; 00018 00019 #endif