00001 #ifndef REACTORSCINT_HH
00002 #define REACTORSCINT_HH
00003 #include "ReactorConstants.hh"
00004
00005 class ReactorScint{
00006
00007 public:
00008
00009
00010
00011 ReactorScint();
00012 ReactorScint(double,double,double*);
00013 ReactorScint(ReactorConstants&,double,double*,double*);
00014 ~ReactorScint();
00015 ReactorScint(const ReactorScint&);
00016 ReactorScint& operator=(const ReactorScint&);
00017
00018 int GetPoints() const {return Points;}
00019 double* GetNextXYZ();
00020 double GetNextEnergy();
00021 double GetNextTime();
00022
00023 void SetPoints(int pts) {Points = pts;}
00024 void SetRxyzPoint(double* rxyz);
00025 void SetPxyzPoint(double* pxyz);
00026
00027 void ResetNext();
00028
00029 private:
00030
00031 int Points;
00032 double* RxyzPoints;
00033 double* PxyzPoints;
00034 double* NextXYZ;
00035 double* NextEnergy;
00036 double* NextTime;
00037
00038 static const double TooSoftToTrack = 0.1;
00039
00040
00041 };
00042 #endif