00001 00002 //$Id: DmxChiSqrStat.h,v 1.14 2001/11/16 03:07:01 brebel Exp $ 00003 // 00004 //DmxChiSqrStat.h 00005 // 00006 //DmxChiSqrStat is a Statistic class returning a Chi^2 statistic 00007 //for a given signal/strip reconstruction 00008 // 00009 //Author: B. Rebel 6/2000 00011 00012 00013 #ifndef DMXCHISQRSTAT_H 00014 #define DMXCHISQRSTAT_H 00015 00016 #include "DeMux/DmxStatistic.h" 00017 00018 class DmxChiSqrStat : public DmxStatistic{ 00019 00020 00021 public: 00022 00023 DmxChiSqrStat(); 00024 DmxChiSqrStat(Float_t *SignalW, Float_t *SignalE, Float_t CoG); 00025 virtual ~DmxChiSqrStat(); 00026 Float_t GetGoodness() const; 00027 Float_t GetTieBreaker() const; 00028 Float_t GetPredictor() const; 00029 void SetPredictor(Float_t predictor); 00030 00031 private: 00032 00033 //DataMembers 00034 00035 Float_t fChi2; 00036 Float_t fRms; 00037 Float_t fCoG; //center of gravity of hits 00038 Float_t fPredictor; //predictor of signal on E side based on W signal 00039 00040 ClassDef(DmxChiSqrStat,0) //DmxChiSqrStat 00041 }; 00042 00043 #endif // DMXCHISQRSTAT_H 00044
1.3.9.1