Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ArrivalTime.h

Go to the documentation of this file.
00001 
00002 // $Id: ArrivalTime.h,v 1.3 2006/06/15 18:39:21 rhatcher Exp $
00003 //
00004 // ArrivalTime 
00005 //
00006 // ArrivalTime is a utility class for the timing of the first
00007 // arrival photoelectron from WLS fiber.
00008 //
00009 // Author:  R. Lee 2002.02.25
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" // Needed for ClassDef and ClassImp macros
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) // ArrivalTime object
00055 
00056 };
00057 
00058 #endif  

Generated on Mon Feb 15 11:06:22 2010 for loon by  doxygen 1.3.9.1