00001 00008 #ifndef TOF_h 00009 #define TOF_h 00010 00016 class TOF{ 00017 public: 00018 TOF(){ Clear(); } 00019 virtual ~TOF() {} 00020 void Clear(){ 00021 found_pulse = false; 00022 integral = 0; 00023 start_time = 0; 00024 amplitude = 0; 00025 peak_time = 0; 00026 length = 0; 00027 constant_fraction_time = 0; 00028 } 00029 00030 bool found_pulse; 00031 double integral; 00032 double start_time; 00033 double amplitude; 00034 double peak_time; 00035 double length; 00036 double constant_fraction_time; 00037 ClassDef(TOF,1) 00038 }; 00039 00040 #endif