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