CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/SiStripMonitorSummary/interface/SiStripMonitorCondDataOnDemandExample.h

Go to the documentation of this file.
00001 #ifndef SiStripMonitorSummary_SiStripMonitorCondDataOnDemandExample_h
00002 #define SiStripMonitorSummary_SiStripMonitorCondDataOnDemandExample_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     SiStripMonitorSummary
00006 // Class  :     SiStripMonitorCondDataOnDemandExample
00007 // 
00008 // Original Author:  Evelyne Delmeire
00009 //
00010 
00011 
00012 // system include files
00013 #include <memory>
00014 
00015 // user include files
00016 #include "FWCore/Framework/interface/Frameworkfwd.h"
00017 #include "FWCore/Framework/interface/EDAnalyzer.h"
00018 #include "FWCore/Framework/interface/ESHandle.h"
00019 
00020 #include "FWCore/Framework/interface/Event.h"
00021 #include "FWCore/Framework/interface/MakerMacros.h"
00022 
00023 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00024 
00025 #include "boost/cstdint.hpp"
00026 #include <iostream>
00027 #include <string>
00028 #include <vector>
00029 
00030 class SiStripClassToMonitorCondData;
00031 
00032 class SiStripMonitorCondDataOnDemandExample : public edm::EDAnalyzer {
00033  
00034  public:
00035  
00036    explicit SiStripMonitorCondDataOnDemandExample(const edm::ParameterSet&);
00037  
00038    ~SiStripMonitorCondDataOnDemandExample();
00039    
00040    virtual void beginJob() ;  
00041    virtual void beginRun(edm::Run const& run, edm::EventSetup const& eSetup);
00042    virtual void analyze(const edm::Event&, const edm::EventSetup&);
00043    virtual void endRun(edm::Run const& run, edm::EventSetup const& eSetup);
00044    virtual void endJob() ;
00045   
00046    
00047   
00048  private: 
00049   int eventCounter_; 
00050   edm::ParameterSet conf_;
00051   SiStripClassToMonitorCondData*    condDataMonitoring_ ;
00052 
00053 };
00054 
00055 #endif