CMS 3D CMS Logo

HLTMuonDQMSource.h

Go to the documentation of this file.
00001 #ifndef HLTMuonDQMSource_H
00002 #define HLTMuonDQMSource_H
00003 
00013 #include <memory>
00014 #include <unistd.h>
00015 
00016 #include <FWCore/Framework/interface/EDAnalyzer.h>
00017 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00018 #include "DQMServices/Core/interface/DQMStore.h"
00019 #include "DQMServices/Core/interface/MonitorElement.h"
00020 
00021 //
00022 // class declaration
00023 //
00024 
00025 class HLTMuonDQMSource : public edm::EDAnalyzer {
00026 public:
00027   HLTMuonDQMSource( const edm::ParameterSet& );
00028   ~HLTMuonDQMSource();
00029 
00030 protected:
00031    
00033   void beginJob(const edm::EventSetup& c);
00034 
00036   void beginRun(const edm::Run& r, const edm::EventSetup& c);
00037 
00039   void analyze(const edm::Event& e, const edm::EventSetup& c) ;
00040 
00041   void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg, 
00042                             const edm::EventSetup& context) ;
00043 
00045   void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, 
00046                           const edm::EventSetup& c);
00047 
00049   void endRun(const edm::Run& r, const edm::EventSetup& c);
00050 
00052   void endJob();
00053 
00054 private:
00055  
00056   edm::ParameterSet parameters_;
00057 
00058   DQMStore* dbe_;  
00059   std::string monitorName_;
00060   std::string outputFile_;
00061   int counterEvt_;      
00062   int prescaleEvt_;     
00063   double coneSize_;
00064   edm::InputTag l2collectionTag_;
00065   edm::InputTag l2isolationTag_;
00066   edm::InputTag l2seedscollectionTag_;
00067   edm::InputTag l3collectionTag_;
00068   edm::InputTag l3isolationTag_;
00069   //  edm::InputTag l3linksTag_;
00070 
00071   // ----------member data ---------------------------
00072   bool verbose_;
00073 
00074   MonitorElement * hNMu[4];
00075   MonitorElement * hcharge[4];
00076   MonitorElement * hpt[4];
00077   MonitorElement * hptlx[2];
00078   MonitorElement * heta[4];
00079   MonitorElement * hphi[4];
00080   MonitorElement * hptphi[4];
00081   MonitorElement * hpteta[4];
00082   MonitorElement * hptres[3];
00083   MonitorElement * hetares[3];
00084   MonitorElement * hetareseta[3];
00085   MonitorElement * hphires[3];
00086   MonitorElement * hphiresphi[3];
00087   MonitorElement * hetaphi[4];
00088   MonitorElement * hdr[2];
00089   MonitorElement * hd0[2];
00090   MonitorElement * hdz[2];
00091   MonitorElement * hdrphi[2];
00092   MonitorElement * hd0phi[2];
00093   MonitorElement * hdzeta[2];
00094   MonitorElement * herr0[2];
00095   MonitorElement * hnhit[4];
00096   MonitorElement * hdimumass[2];
00097   MonitorElement * hiso[2];
00098   MonitorElement * hl1quality;
00099   float XMIN; float XMAX;
00100 };
00101 
00102 #endif
00103 

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