Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:11

0001 #ifndef QIE_SHAPE_H
0002 #define QIE_SHAPE_H
0003 
0004 /** \class QieShape
0005     
0006     basic linearization function for HCAL/castor QIE
0007    $Author: ratnikov
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       // center of the nominal linearized QIE bin
0017       double linearization(int fAdc) const { return mLinearization[fAdc]; }
0018       // width of the nominal linearized bin
0019       double binSize(int fAdc) const { return mBinSize[fAdc]; }
0020 
0021     private:
0022       double mLinearization[128];
0023       double mBinSize[128];
0024     };
0025 
0026   }  // namespace castor
0027 }  // namespace reco
0028 
0029 #endif