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 
10 static const char CVSId[] = "$Id: EcalFloatCondObjectContainerHandler.cc,v 1.2 2009/11/06 11:32:53 fra Exp $";
11 
17 #include <utility>
18 
21 
24  xmlFileSource_(ps.getUntrackedParameter<std::string>("xmlFile")),
25  since_(ps.getUntrackedParameter<long long>("since"))
26 {
27 }
28 
30 
32 
33  // we allocate on the heap here, knowing that popcon will
34  // take care of deleting the payload
36 
38 
39 
40  //cond::Time_t snc = header.since_;
41  //for now we don't make use of the xml header to read the since
42  //but rely on the one passed from parameter set
43 
44  m_to_transfer.push_back(std::make_pair(payload,since_));
45 
46 }
47 
49 
50  // We have to think if this is the right thing to do ...
51 
54  return header.tag_;
55 }
56 
57 
58 // Configure (x)emacs for this file ...
59 // Local Variables:
60 // mode:c++
61 // compile-command: "scram b"
62 // End:
static const char CVSId[]
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