00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef STSVTPROBVALUES_HH
00026 #define STSVTPROBVALUES_HH
00027
00028 #define MAX_ADC_COUNTS 14
00029
00030 class StSvtProbValues
00031 {
00032 public:
00033 StSvtProbValues();
00034 ~StSvtProbValues();
00035
00036 void SetProbValue(float sigma=0);
00037 double GetProbValue(int adc);
00038 double GetSigma();
00039 private:
00040 double mSigma;
00041 double mProb[MAX_ADC_COUNTS];
00042
00043
00044 };
00045
00046 inline double StSvtProbValues::GetProbValue(int adc){ return mProb[adc]; }
00047 inline double StSvtProbValues::GetSigma( ){ return mSigma; }
00048 #endif
00049