00001 #ifndef QIE_SHAPE_H 00002 #define QIE_SHAPE_H 00003 00011 class QieShape { 00012 public: 00013 QieShape (const double fAdcShape [32], const double fAdcBin [32]); 00014 // center of the nominal linearized QIE bin 00015 double linearization (int fAdc) const {return mLinearization [fAdc];} 00016 // width of the nominal linearized bin 00017 double binSize (int fAdc) const {return mBinSize [fAdc];} 00018 private: 00019 double mLinearization [128]; 00020 double mBinSize [128]; 00021 }; 00022 00023 #endif