#ifndef __HDTOOLS_H #define __HDTOOLS_H #include "SdTools.h" #include "FdTools.h" #include "TCdasUtil.h" #define MAXTIMEDIFF 500 // micro seconds // UTCTime = GPSTime + GPS_TO_UTC #define MAYFIRST2004_UTC 1083369600 #define MAYFIRST2004_GPS (MAYFIRST2004_UTC - kCdasUtil::GPSStartSecond + 13) #define JUNE21ST2004_23H00_UTC 1087858800 #define JUNE21ST2004_23H00_GPS (JUNE21ST2004_23H00_UTC - kCdasUtil::GPSStartSecond + 13) class HdT3 { public : HdT3(); int SdId; std::vector FdIds; std::vector DTimes; }; class SdmT3 : public SdT3 { public : SdmT3(IoSdEvent &ev, const int position); int Saved; int Matched; std::vector Eyes; std::vector FdT3Ids; }; int HdToolsBuildHybridList(std::vector &sdT3s, std::vector &fdT3s, std::vector &hdT3s, bool verbose); int HdToolsBuildLaserList(std::vector &fdT3s, std::vector &hdT3s, bool verbose); double timeDiff(FdT3 &fd, SdmT3 &sd); #endif