00001 #ifndef _CondTools_Ecal_EcalCondHeader_h_ 00002 #define _CondTools_Ecal_EcalCondHeader_h_ 00003 00004 00014 #include "CondCore/DBCommon/interface/Time.h" 00015 #include <string> 00016 00017 struct EcalCondHeader { 00018 00019 00020 std::string method_; 00021 std::string version_; 00022 std::string datasource_; 00023 cond::Time_t since_; 00024 std::string tag_; 00025 std::string date_; 00026 00027 EcalCondHeader():method_(""), 00028 version_(""), 00029 datasource_(""), 00030 since_(0), 00031 tag_(""), 00032 date_(""){} 00033 00034 00035 void reset(){method_=version_=datasource_=tag_=date_="";since_=0;} 00036 00037 }; 00038 00039 #endif