CMS 3D CMS Logo

SiStripHistoricPlot.h

Go to the documentation of this file.
00001 #ifndef SiStripHistoricPlot_H
00002 #define SiStripHistoricPlot_H
00003 // -*- C++ -*-
00004 // Package:     SiStripHistoricInfoClient
00005 // Class  :     SiStripHistoricPlot
00009 // Original Author:  dkcira
00010 //         Created:  Wed May 9 17:08:21 CEST 2007
00011 // $Id: SiStripHistoricPlot.h,v 1.1 2007/05/16 07:42:04 dkcira Exp $
00012 #include "FWCore/Framework/interface/Frameworkfwd.h"
00013 #include "FWCore/Framework/interface/EDAnalyzer.h"
00014 #include "FWCore/Framework/interface/Event.h"
00015 #include "FWCore/Framework/interface/EventSetup.h"
00016 #include "FWCore/Framework/interface/ESHandle.h"
00017 #include "FWCore/ServiceRegistry/interface/Service.h"
00018 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00019 #include "FWCore/Framework/interface/Event.h"
00020 #include "FWCore/Framework/interface/Run.h"
00021 #include "TH1F.h"
00022 #include "TFile.h"
00023 #include "TObjArray.h"
00024 namespace cms{
00025   class SiStripHistoricPlot : public edm::EDAnalyzer {
00026   public:
00027     explicit SiStripHistoricPlot( const edm::ParameterSet& );
00028     ~SiStripHistoricPlot();
00029     virtual void beginJob(const edm::EventSetup&);
00030     virtual void beginRun(const edm::Run&, const edm::EventSetup&) ;
00031     virtual void analyze( const edm::Event&, const edm::EventSetup& );
00032     virtual void endRun(const edm::Run&, const edm::EventSetup&) ;
00033     virtual void endJob();
00034     void fillHistograms(edm::ESHandle<SiStripPerformanceSummary> pS);
00035     TString detHistoTitle(uint32_t detid, std::string);
00036   private:
00037     bool printdebug_;
00038     unsigned int presentRunNr_;
00039     TH1F *ClusterSizesAllDets;
00040     TH1F *ClusterChargeAllDets;
00041     TH1F *OccupancyAllDets;
00042     TH1F *PercentNoisyStripsAllDets;
00043     TObjArray *AllDetHistograms;
00044     TFile *outputfile;
00045     std::vector<uint32_t> activeDets;
00046   };
00047 }
00048 #endif

Generated on Tue Jun 9 17:33:34 2009 for CMSSW by  doxygen 1.5.4