00001 #ifndef lccd_h 00002 #define lccd_h 1 00003 00004 #include "lcio.h" 00005 00006 #include <bitset> 00007 #include <string> 00008 00009 00010 #ifdef USE_CONDDB 00011 class SimpleTime ; 00012 #endif 00013 00014 00015 // Provides common definitions and typedefs for LCCD. 00018 namespace lccd{ 00019 00020 00021 00024 typedef lcio::long64 LCCDTimeStamp ; 00025 00028 extern LCCDTimeStamp LCCDMinusInf ; 00029 00032 extern LCCDTimeStamp LCCDPlusInf ; 00033 00036 void ensure_LCCDTimeStamp_is_64bit() ; 00037 00038 00039 00041 extern std::string DBSINCE ; 00042 00044 extern std::string DBTILL ; 00045 00047 extern std::string DBQUERYTIME ; 00048 00050 extern std::string DBINSERTIONTIME ; 00051 00053 extern std::string DBTAG ; 00054 00056 extern std::string DBFOLDER ; 00057 00059 extern std::string DBNAME ; 00060 00062 extern std::string DBLAYER ; 00063 00065 extern std::string DBTIMESTAMP ; 00066 00067 00073 std::string getDBInitString() ; 00074 00075 00076 #ifdef USE_CONDDB 00077 00080 LCCDTimeStamp fromSimpleTime( SimpleTime st ) ; 00081 #endif 00082 00083 }; 00084 00085 #endif