CMS 3D CMS Logo

QieShape.h
Go to the documentation of this file.
1 #ifndef QIE_SHAPE_H
2 #define QIE_SHAPE_H
3 
10 namespace reco {
11  namespace castor {
12 
13  class QieShape {
14  public:
15  QieShape(const double fAdcShape[32], const double fAdcBin[32]);
16  // center of the nominal linearized QIE bin
17  double linearization(int fAdc) const { return mLinearization[fAdc]; }
18  // width of the nominal linearized bin
19  double binSize(int fAdc) const { return mBinSize[fAdc]; }
20 
21  private:
22  double mLinearization[128];
23  double mBinSize[128];
24  };
25 
26  } // namespace castor
27 } // namespace reco
28 
29 #endif
double linearization(int fAdc) const
Definition: QieShape.h:17
double mLinearization[128]
Definition: QieShape.h:22
double binSize(int fAdc) const
Definition: QieShape.h:19
double mBinSize[128]
Definition: QieShape.h:23
fixed size matrix
QieShape(const double fAdcShape[32], const double fAdcBin[32])
Definition: QieShape.cc:14