#include <EcalCondHandler.h>
Public Member Functions | |
EcalCondHandler (const edm::ParameterSet &ps) | |
virtual void | getNewObjects () |
virtual std::string | id () const |
Private Attributes | |
long long | since_ |
std::string | xmlFileSource_ |
Definition at line 10 of file EcalCondHandler.h.
EcalCondHandler< Payload, XMLTranslator >::EcalCondHandler | ( | const edm::ParameterSet & | ps | ) | [inline] |
Definition at line 15 of file EcalCondHandler.h.
: xmlFileSource_(ps.getUntrackedParameter<std::string>("xmlFile")), since_(ps.getUntrackedParameter<long long>("since")){}
virtual void EcalCondHandler< Payload, XMLTranslator >::getNewObjects | ( | ) | [inline, virtual] |
Implements popcon::PopConSourceHandler< Payload >.
Definition at line 19 of file EcalCondHandler.h.
References insertMaterial::readXML(), EcalCondHandler< Payload, XMLTranslator >::since_, and EcalCondHandler< Payload, XMLTranslator >::xmlFileSource_.
{ EcalCondHeader header; Payload * payload = new Payload; XMLTranslator::readXML(xmlFileSource_,header,*payload); popcon::PopConSourceHandler<Payload>::m_to_transfer.push_back( std::make_pair(payload,since_)); }
virtual std::string EcalCondHandler< Payload, XMLTranslator >::id | ( | void | ) | const [inline, virtual] |
Implements popcon::PopConSourceHandler< Payload >.
Definition at line 28 of file EcalCondHandler.h.
{return std::string("dummy");}
long long EcalCondHandler< Payload, XMLTranslator >::since_ [private] |
Definition at line 33 of file EcalCondHandler.h.
Referenced by EcalCondHandler< Payload, XMLTranslator >::getNewObjects().
std::string EcalCondHandler< Payload, XMLTranslator >::xmlFileSource_ [private] |
Definition at line 32 of file EcalCondHandler.h.
Referenced by EcalCondHandler< Payload, XMLTranslator >::getNewObjects().