00001 #ifndef PrePulse_h__ 00002 #define PrePulse_h__ 00003 00004 #include "TPulseIsland.h" 00005 00006 #include <vector> 00007 00008 class PrePulse { 00009 00010 private: 00011 int fStart; 00012 int fStop; 00013 int fLocation; 00014 int fHeight; 00015 TPulseIsland* fPulse; 00016 00017 public: 00018 PrePulse(int start, int stop, int location, int height, TPulseIsland* pulse); 00019 ~PrePulse(); 00020 00021 public: 00022 int GetStart() const; 00023 int GetStop() const; 00024 int GetLocation() const; 00025 int GetHeight() const; 00026 TPulseIsland* GetPulse() const; 00027 00028 public: 00029 void Print(); 00030 00031 public: 00032 static std::vector<PrePulse> FindPrePulses(TPulseIsland*, int rise, int fall); 00033 00034 }; 00035 00036 #endif