WCSimWaterModel.hh

Go to the documentation of this file.
00001 #ifndef WCSIMWATERMODEL_HH
00002 #define WCSIMWATERMODEL_HH
00003 
00004 #include <cmath>
00005 #include "TMath.h"
00006 #include "TH1.h"
00007 
00008 #include "TObject.h"
00009 
00010 class TH1D;
00011 class TH1F;
00012 
00013 class WCSimWaterModel : public TObject {
00014 
00015   public:
00016     //WCSimWaterModel(TH1D* itime);
00017     WCSimWaterModel(){}
00018     ~WCSimWaterModel();
00019     void Reset();
00020 
00021     Double_t N_Index(Double_t flmda);
00022     Double_t Vg(Double_t flmda);
00023     Double_t AvgVg(Double_t distance);
00024     Double_t InitSpect(Double_t flmda);
00025     Double_t AbsLength(Double_t flmda);
00026     Double_t Atten(Double_t flmda, Double_t fdist);
00027     Double_t FinlSpect(Double_t flmda, Double_t fdist);
00028 
00029     TH1D *FinlTimeSpect(TH1D *dhist);
00030 
00031   private:
00032     Double_t flmda;
00033     Double_t fdist;
00034     TH1D *finittime;
00035 
00036     Double_t findex;
00037     Double_t fvelo;
00038     Double_t finitintensity;
00039     Double_t fabslength;
00040     Double_t fatten;
00041     Double_t ffinlintensity;
00042     TH1D *ffinltime;
00043 
00044     Double_t Temp; //Celsius Degree
00045     Double_t r5; //kg*m^-3
00046     Double_t r1; //Celsius Degree
00047     Double_t r2;
00048     Double_t r3;
00049     Double_t r4;
00050     Double_t a0;
00051     Double_t a1;
00052     Double_t a2;
00053     Double_t a3;
00054     Double_t a4;
00055     Double_t a5;
00056     Double_t a6;
00057     Double_t a7;
00058     Double_t lambdauv;
00059     Double_t lambdair;  
00060     Double_t C; // cm/ns
00061     Double_t N;
00062     Double_t dndl;
00063     Int_t numD;
00064     Double_t minDist;
00065     Double_t width;
00066     Double_t Dist;
00067     Double_t numPh;
00068     Double_t TimePh;
00069     Int_t TimeBin;
00070     Double_t Intensity;
00071     Double_t rho;
00072     Double_t A0;
00073     Double_t A1;
00074     Double_t A2;
00075     Double_t A3;
00076     Double_t A4;
00077     Double_t A5;
00078     Double_t A6;
00079     Double_t A7;
00080     Double_t A;
00081 
00082     ClassDef (WCSimWaterModel,0);
00083 
00084 };
00085 
00086 #endif