CMS 3D CMS Logo

SiStripPerformanceSummaryReader Class Reference

#include <CondTools/SiStrip/plugins/SiStripPerformanceSummaryReader.h>

Inheritance diagram for SiStripPerformanceSummaryReader:

edm::EDAnalyzer

List of all members.

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &)
 SiStripPerformanceSummaryReader (const edm::ParameterSet &)
 ~SiStripPerformanceSummaryReader ()

Private Attributes

uint32_t printdebug_


Detailed Description

Definition at line 16 of file SiStripPerformanceSummaryReader.h.


Constructor & Destructor Documentation

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 (  ) 

Definition at line 14 of file SiStripPerformanceSummaryReader.cc.

00014 {}


Member Function Documentation

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 }


Member Data Documentation

uint32_t SiStripPerformanceSummaryReader::printdebug_ [private]

Definition at line 25 of file SiStripPerformanceSummaryReader.h.


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:32:29 2009 for CMSSW by  doxygen 1.5.4