File indexing completed on 2024-04-06 11:58:11
0001 #ifndef QIE_SHAPE_H
0002 #define QIE_SHAPE_H
0003
0004
0005
0006
0007
0008
0009
0010 namespace reco {
0011 namespace castor {
0012
0013 class QieShape {
0014 public:
0015 QieShape(const double fAdcShape[32], const double fAdcBin[32]);
0016
0017 double linearization(int fAdc) const { return mLinearization[fAdc]; }
0018
0019 double binSize(int fAdc) const { return mBinSize[fAdc]; }
0020
0021 private:
0022 double mLinearization[128];
0023 double mBinSize[128];
0024 };
0025
0026 }
0027 }
0028
0029 #endif