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
reco::castor::QieShape
Definition: QieShape.h:13
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
reco::castor::QieShape::binSize
double binSize(int fAdc) const
Definition: QieShape.h:19
reco::castor::QieShape::QieShape
QieShape(const double fAdcShape[32], const double fAdcBin[32])
Definition: QieShape.cc:14
reco::castor::QieShape::mBinSize
double mBinSize[128]
Definition: QieShape.h:23
reco::castor::QieShape::linearization
double linearization(int fAdc) const
Definition: QieShape.h:17
reco::castor::QieShape::mLinearization
double mLinearization[128]
Definition: QieShape.h:22
castorDigitizer_cfi.castor
castor
Definition: castorDigitizer_cfi.py:9