CMS 3D CMS Logo

CopyPerformanceSummary.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // Package:    DQM/SiStripHistoricInfoClient
00003 // Class:      CopyPerformanceSummary
00009 // Original Author:  Dorian Kcira
00010 //         Created:  Wed Apr 25 05:10:12 CEST 2007
00011 // $Id: CopyPerformanceSummary.h,v 1.3 2008/03/02 00:07:41 dutta Exp $
00012 #include <memory>
00013 #include "FWCore/Framework/interface/Frameworkfwd.h"
00014 #include "FWCore/Framework/interface/EDAnalyzer.h"
00015 #include "FWCore/Framework/interface/Event.h"
00016 #include "FWCore/Framework/interface/Run.h"
00017 #include "FWCore/Framework/interface/MakerMacros.h"
00018 #include "FWCore/ServiceRegistry/interface/Service.h"
00019 #include "CondFormats/SiStripObjects/interface/SiStripPerformanceSummary.h"
00020 
00021 namespace edm {
00022     class ParameterSet;
00023     class Event;
00024     class EventId;
00025     class Timestamp;
00026 }
00027 
00028 class CopyPerformanceSummary : public edm::EDAnalyzer {
00029    public:
00030       explicit CopyPerformanceSummary(const edm::ParameterSet&);
00031       ~CopyPerformanceSummary();
00032    private:
00033       virtual void beginJob(const edm::EventSetup&) ;
00034       virtual void beginRun(const edm::Run&, const edm::EventSetup&) ;
00035       virtual void endRun(const edm::Run&, const edm::EventSetup&) ;
00036       virtual void analyze(const edm::Event&, const edm::EventSetup&);
00037       virtual void endJob() ;
00038       void writeToDB(const edm::Run& run) const;
00039    private:
00040       int nevents;
00041       bool firstEventInRun;
00042       SiStripPerformanceSummary* pSummary_;
00043 };
00044 

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