00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00012
00013
00014 #ifndef ARRIVALTIME_H
00015 #define ARRIVALTIME_H
00016
00017 #ifndef ROOT_Rtypes
00018 #if !defined(__CINT__) || defined(__MAKECINT__)
00019 #include "Rtypes.h"
00020 #endif
00021 #endif
00022
00023 class ArrivalTime
00024 {
00025
00026 public:
00027
00028 ArrivalTime();
00029 virtual ~ArrivalTime() { }
00030
00031 Double_t Uncertainty(Double_t npe) const;
00032 Double_t Weight(Double_t npe) const;
00033 Double_t PDF(Double_t npe,Double_t t) const;
00034
00035 void SetTimeWindow(Double_t t0, Double_t t1);
00036 void SetMinimumProbability(Double_t prob);
00037
00038 private:
00039
00040 void Renormalize();
00041
00042 Double_t minprob;
00043 Double_t timewindow[2];
00044
00045 Double_t a0[16];
00046 Double_t a1[16];
00047 Double_t a2[16];
00048 Double_t a3[16];
00049 Double_t tab[16];
00050 Double_t b0[16];
00051 Double_t b1[16];
00052 Int_t pe[16];
00053
00054 ClassDef(ArrivalTime,0)
00055
00056 };
00057
00058 #endif