Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:47:54

0001 #ifndef _CondTools_Ecal_EcalCondHeader_h_
0002 #define _CondTools_Ecal_EcalCondHeader_h_
0003 
0004 /** Header to be associated with a set of ecal conditions
0005  *  stored in XML format
0006  *
0007  *  \author S. Argiro
0008  *  \todo Strong types instead of strings
0009  *
0010  * $Id: EcalCondHeader.h,v 1.2 2008/10/22 08:41:31 argiro Exp $
0011  */
0012 
0013 #include "CondCore/CondDB/interface/Time.h"
0014 #include <string>
0015 
0016 struct EcalCondHeader {
0017   std::string method_;
0018   std::string version_;
0019   std::string datasource_;
0020   cond::Time_t since_;
0021   std::string tag_;
0022   std::string date_;
0023 
0024   EcalCondHeader() : method_(""), version_(""), datasource_(""), since_(0), tag_(""), date_("") {}
0025 
0026   void reset() {
0027     method_ = version_ = datasource_ = tag_ = date_ = "";
0028     since_ = 0;
0029   }
0030 };
0031 
0032 #endif