#include <CondTools/SiStrip/plugins/SiStripPerformanceSummaryReader.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
SiStripPerformanceSummaryReader (const edm::ParameterSet &) | |
~SiStripPerformanceSummaryReader () | |
Private Attributes | |
uint32_t | printdebug_ |
Definition at line 16 of file SiStripPerformanceSummaryReader.h.
SiStripPerformanceSummaryReader::SiStripPerformanceSummaryReader | ( | const edm::ParameterSet & | iConfig | ) | [explicit] |
Definition at line 11 of file SiStripPerformanceSummaryReader.cc.
00011 : 00012 printdebug_(iConfig.getUntrackedParameter<int32_t>("printDebug",1)){}
SiStripPerformanceSummaryReader::~SiStripPerformanceSummaryReader | ( | ) |
void SiStripPerformanceSummaryReader::analyze | ( | const edm::Event & | e, | |
const edm::EventSetup & | iSetup | |||
) | [virtual] |
Implements edm::EDAnalyzer.
Definition at line 16 of file SiStripPerformanceSummaryReader.cc.
References lat::endl(), and edm::EventSetup::get().
00016 { 00017 edm::LogInfo("SiStripPerformanceSummaryReader") << "[SiStripPerformanceSummaryReader::analyze] Start Reading SiStripPerformanceSummary" << std::endl; 00018 edm::ESHandle<SiStripPerformanceSummary> SiStripPerformanceSummary_; 00019 iSetup.get<SiStripPerformanceSummaryRcd>().get(SiStripPerformanceSummary_); 00020 edm::LogInfo("SiStripPerformanceSummaryReader") << "[SiStripPerformanceSummaryReader::analyze] End Reading SiStripPerformanceSummary" << std::endl; 00021 SiStripPerformanceSummary_->print(); 00022 std::vector<uint32_t> all_detids; 00023 all_detids.clear(); 00024 SiStripPerformanceSummary_->getDetIds(all_detids); 00025 if( all_detids.size()>0 ) SiStripPerformanceSummary_->print(all_detids[0]); 00026 SiStripPerformanceSummary_->printall(); // print all summaries 00027 }
uint32_t SiStripPerformanceSummaryReader::printdebug_ [private] |
Definition at line 25 of file SiStripPerformanceSummaryReader.h.