CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DQMOffline/Trigger/interface/HLTTauCertifier.h

Go to the documentation of this file.
00001 /*HLT Tau DQM Certification Module
00002 Author : Michail Bachtis
00003 University of Wisconsin-Madison
00004 bachtis@hep.wisc.edu
00005 */
00006 
00007  
00008 #include <memory>
00009 #include <unistd.h>
00010 #include <FWCore/Framework/interface/EDAnalyzer.h>
00011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00012 #include "DQMServices/Core/interface/MonitorElement.h"
00013 #include "DQMServices/Core/interface/DQMStore.h"
00014 #include "DataFormats/Common/interface/Handle.h"
00015 #include "FWCore/Framework/interface/Event.h"
00016 #include "FWCore/Framework/interface/EventSetup.h"
00017 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00018 #include "FWCore/ServiceRegistry/interface/Service.h"
00019 #include "DataFormats/Math/interface/LorentzVector.h"
00020 
00021 class HLTTauCertifier : public edm::EDAnalyzer {
00022 public:
00023   HLTTauCertifier( const edm::ParameterSet& );
00024   ~HLTTauCertifier();
00025 
00026 protected:
00027    
00029   void beginJob();
00030 
00032   void beginRun(const edm::Run& r, const edm::EventSetup& c);
00033 
00035   void analyze(const edm::Event& e, const edm::EventSetup& c) ;
00036 
00038   void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg, 
00039                             const edm::EventSetup& context) ;
00041   void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, 
00042                           const edm::EventSetup& c);
00044   void endRun(const edm::Run& r, const edm::EventSetup& c);
00045 
00047   void endJob();
00048 
00049 private:
00050   DQMStore* dbe_;  
00051   std::string targetME_;
00052   std::string targetFolder_;
00053   std::vector<std::string> inputMEs_;
00054   bool setBadRunOnWarnings_;
00055   bool setBadRunOnErrors_;
00056 
00057 
00058 };
00059