CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalFloatCondObjectContainerHandler.cc
Go to the documentation of this file.
1 
14 #include <utility>
15 
17 
19  : xmlFileSource_(ps.getUntrackedParameter<std::string>("xmlFile")),
20  since_(ps.getUntrackedParameter<long long>("since")) {}
21 
23  EcalCondHeader header;
24 
25  // we allocate on the heap here, knowing that popcon will
26  // take care of deleting the payload
28 
30 
31  //cond::Time_t snc = header.since_;
32  //for now we don't make use of the xml header to read the since
33  //but rely on the one passed from parameter set
34 
35  m_to_transfer.push_back(std::make_pair(payload, since_));
36 }
37 
39  // We have to think if this is the right thing to do ...
40 
41  EcalCondHeader header;
43  return header.tag_;
44 }
45 
46 // Configure (x)emacs for this file ...
47 // Local Variables:
48 // mode:c++
49 // compile-command: "scram b"
50 // 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::vector< std::pair< EcalFloatCondObjectContainer *, Time_t > > m_to_transfer
std::string tag_
EcalCondObjectContainer< float > EcalFloatCondObjectContainer