StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSvtHybridAnodeDriftCorr.hh
1 /***************************************************************************
2  *
3  * $Id: StSvtHybridAnodeDriftCorr.hh,v 1.2 2004/08/02 17:15:01 munhoz Exp $
4  *
5  * Author: Marcelo Munhoz
6  *
7  ***************************************************************************
8  *
9  * Description: Correction factors for drift velocity as a function of anodes
10  *
11  ***************************************************************************/
12 
13 #ifndef STSVTHYBRIDANODEDRIFTCORR_HH
14 #define STSVTHYBRIDANODEDRIFTCORR_HH
15 
16 #include "StSvtClassLibrary/StSvtHybridObject.hh"
17 
18 #define MAX_NUMBER_OF_ANODES 240
19 
21 {
22 public:
24  StSvtHybridAnodeDriftCorr(int barrel, int ladder, int wafer, int hybrid);
26 
27  void setValue(int anode, float value){mDriftCorr[anode-1]=value;}
28  float getValue(int anode){return mDriftCorr[anode-1];}
29 
30 protected:
31 
32  float mDriftCorr[MAX_NUMBER_OF_ANODES];
33 };
34 
35 #endif