1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef _CondTools_Ecal_EcalCondHeader_h_
#define _CondTools_Ecal_EcalCondHeader_h_
/** Header to be associated with a set of ecal conditions
* stored in XML format
*
* \author S. Argiro
* \todo Strong types instead of strings
*
* $Id: EcalCondHeader.h,v 1.2 2008/10/22 08:41:31 argiro Exp $
*/
#include "CondCore/CondDB/interface/Time.h"
#include <string>
struct EcalCondHeader {
std::string method_;
std::string version_;
std::string datasource_;
cond::Time_t since_;
std::string tag_;
std::string date_;
EcalCondHeader() : method_(""), version_(""), datasource_(""), since_(0), tag_(""), date_("") {}
void reset() {
method_ = version_ = datasource_ = tag_ = date_ = "";
since_ = 0;
}
};
#endif
|