CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/CalibFormats/HcalObjects/interface/HcalCoder.h

Go to the documentation of this file.
00001 #ifndef HCALCODER_H
00002 #define HCALCODER_H 1
00003 
00004 #include "DataFormats/HcalDigi/interface/HBHEDataFrame.h"
00005 #include "DataFormats/HcalDigi/interface/HFDataFrame.h"
00006 #include "DataFormats/HcalDigi/interface/HODataFrame.h"
00007 #include "DataFormats/HcalDigi/interface/HcalCalibDataFrame.h"
00008 #include "DataFormats/HcalDigi/interface/ZDCDataFrame.h"
00009 #include "CalibFormats/CaloObjects/interface/CaloSamples.h"
00010 
00019 class HcalCoder {
00020 public:
00021   virtual void adc2fC(const HBHEDataFrame& df, CaloSamples& lf) const = 0;
00022   virtual void adc2fC(const HODataFrame& df, CaloSamples& lf) const = 0;
00023   virtual void adc2fC(const HFDataFrame& df, CaloSamples& lf) const = 0;
00024   virtual void adc2fC(const ZDCDataFrame& df, CaloSamples& lf) const = 0;
00025   virtual void adc2fC(const HcalCalibDataFrame& df, CaloSamples& lf) const = 0;
00026   virtual void fC2adc(const CaloSamples& clf, HBHEDataFrame& df, int fCapIdOffset) const = 0;
00027   virtual void fC2adc(const CaloSamples& clf, HFDataFrame& df, int fCapIdOffset) const = 0;
00028   virtual void fC2adc(const CaloSamples& clf, HODataFrame& df, int fCapIdOffset) const = 0;
00029   virtual void fC2adc(const CaloSamples& clf, ZDCDataFrame& df, int fCapIdOffset) const = 0;
00030   virtual void fC2adc(const CaloSamples& clf, HcalCalibDataFrame& df, int fCapIdOffset) const = 0;
00031 };
00032 
00033 #endif