Public Types | |
typedef popcon::EcalChannelStatusHandler | SourceHandler |
Public Member Functions | |
ExTestEcalChannelStatusAnalyzer (const edm::ParameterSet &pset) | |
Private Member Functions | |
virtual void | analyze (const edm::Event &ev, const edm::EventSetup &iSetup) |
virtual void | endJob () |
void | write () |
Private Attributes | |
const EcalElectronicsMapping * | ecalElectronicsMap |
popcon::PopCon | m_populator |
SourceHandler | m_source |
Definition at line 5 of file TestEcalChannelStatusAnalyzer.cc.
Reimplemented from popcon::PopConAnalyzer< popcon::EcalChannelStatusHandler >.
Definition at line 9 of file TestEcalChannelStatusAnalyzer.cc.
ExTestEcalChannelStatusAnalyzer::ExTestEcalChannelStatusAnalyzer | ( | const edm::ParameterSet & | pset | ) | [inline] |
Definition at line 11 of file TestEcalChannelStatusAnalyzer.cc.
: popcon::PopConAnalyzer<popcon::EcalChannelStatusHandler>(pset), m_populator(pset), m_source(pset.getParameter<edm::ParameterSet>("Source")) {}
virtual void ExTestEcalChannelStatusAnalyzer::analyze | ( | const edm::Event & | ev, |
const edm::EventSetup & | iSetup | ||
) | [inline, private, virtual] |
Reimplemented from popcon::PopConAnalyzer< popcon::EcalChannelStatusHandler >.
Definition at line 18 of file TestEcalChannelStatusAnalyzer.cc.
References ecalElectronicsMap, edm::EventSetup::get(), and edm::ESHandle< T >::product().
{ edm::ESHandle<EcalElectronicsMapping> eleMap; iSetup.get< EcalMappingRcd >().get(eleMap); ecalElectronicsMap = eleMap.product(); }
virtual void ExTestEcalChannelStatusAnalyzer::endJob | ( | void | ) | [inline, private, virtual] |
Reimplemented from popcon::PopConAnalyzer< popcon::EcalChannelStatusHandler >.
Definition at line 25 of file TestEcalChannelStatusAnalyzer.cc.
References ecalElectronicsMap, m_source, popcon::EcalChannelStatusHandler::setElectronicsMap(), and write().
{ m_source.setElectronicsMap(ecalElectronicsMap); write(); }
void ExTestEcalChannelStatusAnalyzer::write | ( | void | ) | [inline, private] |
Reimplemented from popcon::PopConAnalyzer< popcon::EcalChannelStatusHandler >.
Definition at line 31 of file TestEcalChannelStatusAnalyzer.cc.
References m_populator, m_source, and popcon::PopCon::write().
Referenced by endJob().
{ m_populator.write(m_source); }
Definition at line 38 of file TestEcalChannelStatusAnalyzer.cc.
Reimplemented from popcon::PopConAnalyzer< popcon::EcalChannelStatusHandler >.
Definition at line 36 of file TestEcalChannelStatusAnalyzer.cc.
Referenced by write().
Reimplemented from popcon::PopConAnalyzer< popcon::EcalChannelStatusHandler >.
Definition at line 37 of file TestEcalChannelStatusAnalyzer.cc.