CMS 3D CMS Logo

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 
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 
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
EcalCondObjectContainer< float > EcalFloatCondObjectContainer