Public Types | |
typedef CastorQIEDataHandler | SourceHandler |
Public Member Functions | |
CastorQIEDataPopConAnalyzer (const edm::ParameterSet &pset) | |
Private Member Functions | |
virtual void | analyze (const edm::Event &ev, const edm::EventSetup &esetup) |
virtual void | endJob () |
void | write () |
Private Attributes | |
popcon::PopCon | m_populator |
SourceHandler | m_source |
CastorQIEData * | myDBObject |
Definition at line 7 of file CastorQIEDataPopConAnalyzer.cc.
Reimplemented from popcon::PopConAnalyzer< CastorQIEDataHandler >.
Definition at line 10 of file CastorQIEDataPopConAnalyzer.cc.
CastorQIEDataPopConAnalyzer::CastorQIEDataPopConAnalyzer | ( | const edm::ParameterSet & | pset | ) | [inline] |
Definition at line 12 of file CastorQIEDataPopConAnalyzer.cc.
: popcon::PopConAnalyzer<CastorQIEDataHandler>(pset), m_populator(pset), m_source(pset.getParameter<edm::ParameterSet>("Source")) {}
virtual void CastorQIEDataPopConAnalyzer::analyze | ( | const edm::Event & | ev, |
const edm::EventSetup & | esetup | ||
) | [inline, private, virtual] |
Reimplemented from popcon::PopConAnalyzer< CastorQIEDataHandler >.
Definition at line 24 of file CastorQIEDataPopConAnalyzer.cc.
References edm::EventSetup::get(), myDBObject, and edm::ESHandle< T >::product().
{ //Using ES to get the data: edm::ESHandle<CastorQIEData> objecthandle; esetup.get<CastorQIEDataRcd>().get(objecthandle); myDBObject = new CastorQIEData(*objecthandle.product() ); }
virtual void CastorQIEDataPopConAnalyzer::endJob | ( | void | ) | [inline, private, virtual] |
Reimplemented from popcon::PopConAnalyzer< CastorQIEDataHandler >.
Definition at line 18 of file CastorQIEDataPopConAnalyzer.cc.
References CastorQIEDataHandler::initObject(), m_source, myDBObject, and write().
{ m_source.initObject(myDBObject); write(); }
void CastorQIEDataPopConAnalyzer::write | ( | void | ) | [inline, private] |
Reimplemented from popcon::PopConAnalyzer< CastorQIEDataHandler >.
Definition at line 33 of file CastorQIEDataPopConAnalyzer.cc.
References m_populator, m_source, and popcon::PopCon::write().
Referenced by endJob().
{ m_populator.write(m_source); }
Reimplemented from popcon::PopConAnalyzer< CastorQIEDataHandler >.
Definition at line 36 of file CastorQIEDataPopConAnalyzer.cc.
Referenced by write().
Reimplemented from popcon::PopConAnalyzer< CastorQIEDataHandler >.
Definition at line 37 of file CastorQIEDataPopConAnalyzer.cc.
Definition at line 39 of file CastorQIEDataPopConAnalyzer.cc.