Public Types | |
typedef HcalRespCorrsHandler | SourceHandler |
Public Member Functions | |
HcalRespCorrsPopConAnalyzer (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 |
HcalRespCorrs * | myDBObject |
Definition at line 7 of file HcalRespCorrsPopConAnalyzer.cc.
Reimplemented from popcon::PopConAnalyzer< HcalRespCorrsHandler >.
Definition at line 10 of file HcalRespCorrsPopConAnalyzer.cc.
HcalRespCorrsPopConAnalyzer::HcalRespCorrsPopConAnalyzer | ( | const edm::ParameterSet & | pset | ) | [inline] |
Definition at line 12 of file HcalRespCorrsPopConAnalyzer.cc.
00012 : 00013 popcon::PopConAnalyzer<HcalRespCorrsHandler>(pset), 00014 m_populator(pset), 00015 m_source(pset.getParameter<edm::ParameterSet>("Source")) {}
virtual void HcalRespCorrsPopConAnalyzer::analyze | ( | const edm::Event & | ev, | |
const edm::EventSetup & | esetup | |||
) | [inline, private, virtual] |
Reimplemented from popcon::PopConAnalyzer< HcalRespCorrsHandler >.
Definition at line 24 of file HcalRespCorrsPopConAnalyzer.cc.
References edm::EventSetup::get(), myDBObject, and edm::ESHandle< T >::product().
00025 { 00026 //Using ES to get the data: 00027 00028 edm::ESHandle<HcalRespCorrs> objecthandle; 00029 esetup.get<HcalRespCorrsRcd>().get(objecthandle); 00030 myDBObject = new HcalRespCorrs(*objecthandle.product() ); 00031 }
Reimplemented from popcon::PopConAnalyzer< HcalRespCorrsHandler >.
Definition at line 18 of file HcalRespCorrsPopConAnalyzer.cc.
References HcalRespCorrsHandler::initObject(), m_source, myDBObject, and write().
00019 { 00020 m_source.initObject(myDBObject); 00021 write(); 00022 }
Reimplemented from popcon::PopConAnalyzer< HcalRespCorrsHandler >.
Definition at line 33 of file HcalRespCorrsPopConAnalyzer.cc.
References m_populator, m_source, and popcon::PopCon::write().
Referenced by endJob().
00033 { m_populator.write(m_source); }
Reimplemented from popcon::PopConAnalyzer< HcalRespCorrsHandler >.
Definition at line 36 of file HcalRespCorrsPopConAnalyzer.cc.
Referenced by write().
Reimplemented from popcon::PopConAnalyzer< HcalRespCorrsHandler >.
Definition at line 37 of file HcalRespCorrsPopConAnalyzer.cc.
Definition at line 39 of file HcalRespCorrsPopConAnalyzer.cc.