CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalFloatCondObjectContainerHandler.cc
Go to the documentation of this file.
1 
14 #include <utility>
15 
18 
21  xmlFileSource_(ps.getUntrackedParameter<std::string>("xmlFile")),
22  since_(ps.getUntrackedParameter<long long>("since"))
23 {
24 }
25 
27 
28  EcalCondHeader header;
29 
30  // we allocate on the heap here, knowing that popcon will
31  // take care of deleting the payload
33 
35 
36 
37  //cond::Time_t snc = header.since_;
38  //for now we don't make use of the xml header to read the since
39  //but rely on the one passed from parameter set
40 
41  m_to_transfer.push_back(std::make_pair(payload,since_));
42 
43 }
44 
46 
47  // We have to think if this is the right thing to do ...
48 
49  EcalCondHeader header;
51  return header.tag_;
52 }
53 
54 
55 // Configure (x)emacs for this file ...
56 // Local Variables:
57 // mode:c++
58 // compile-command: "scram b"
59 // End:
EcalFloatCondObjectContainerHandler(const edm::ParameterSet &ps)
static int readXML(const std::string &filename, EcalCondHeader &header, EcalFloatCondObjectContainer &record)
void readHeader(xercesc::DOMNode *parentNode, EcalCondHeader &header)
read header from
std::string tag_
EcalCondObjectContainer< float > EcalFloatCondObjectContainer