Go to the documentation of this file.00001 #ifndef DQMOffline_L1Trigger_L1ExtraRecoDQM_h
00002 #define DQMOffline_L1Trigger_L1ExtraRecoDQM_h
00003
00020
00021 #include <iosfwd>
00022 #include <memory>
00023 #include <vector>
00024 #include <string>
00025 #include <algorithm>
00026
00027
00028
00029 #include "FWCore/Framework/interface/EDAnalyzer.h"
00030
00031
00032 #include "FWCore/Framework/interface/Frameworkfwd.h"
00033 #include "FWCore/ServiceRegistry/interface/Service.h"
00034 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00035
00036 #include "FWCore/Framework/interface/Event.h"
00037 #include "FWCore/Framework/interface/Run.h"
00038 #include "FWCore/Framework/interface/EventSetup.h"
00039
00040 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00041 #include "FWCore/Utilities/interface/InputTag.h"
00042
00043 #include "DataFormats/Common/interface/Handle.h"
00044 #include "FWCore/Framework/interface/ESHandle.h"
00045 #include "DataFormats/Common/interface/OrphanHandle.h"
00046
00047
00048 #include "DataFormats/L1Trigger/interface/L1MuonParticle.h"
00049 #include "DataFormats/L1Trigger/interface/L1MuonParticleFwd.h"
00050 #include "DataFormats/L1Trigger/interface/L1EmParticle.h"
00051 #include "DataFormats/L1Trigger/interface/L1EmParticleFwd.h"
00052 #include "DataFormats/L1Trigger/interface/L1JetParticle.h"
00053 #include "DataFormats/L1Trigger/interface/L1JetParticleFwd.h"
00054 #include "DataFormats/L1Trigger/interface/L1EtMissParticle.h"
00055 #include "DataFormats/L1Trigger/interface/L1EtMissParticleFwd.h"
00056 #include "DataFormats/L1Trigger/interface/L1HFRings.h"
00057 #include "DataFormats/L1Trigger/interface/L1HFRingsFwd.h"
00058
00059 #include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutSetupFwd.h"
00060
00061 #include "L1Trigger/GlobalTriggerAnalyzer/interface/L1PhiConversion.h"
00062 #include "L1Trigger/GlobalTriggerAnalyzer/interface/L1GetHistLimits.h"
00063 #include "L1Trigger/GlobalTriggerAnalyzer/interface/L1RetrieveL1Extra.h"
00064
00065 #include "DQMServices/Core/interface/DQMStore.h"
00066 #include "DQMServices/Core/interface/MonitorElement.h"
00067
00068 #include "boost/lexical_cast.hpp"
00069
00070
00071
00072
00073
00074 class L1ExtraRecoDQM: public edm::EDAnalyzer {
00075
00076 public:
00077
00078
00079 explicit L1ExtraRecoDQM(const edm::ParameterSet&);
00080
00081
00082 virtual ~L1ExtraRecoDQM();
00083
00084 private:
00085
00086 virtual void beginJob();
00087 virtual void beginRun(const edm::Run&, const edm::EventSetup&);
00088 virtual void beginLuminosityBlock(const edm::LuminosityBlock&,
00089 const edm::EventSetup&);
00090
00091 virtual void analyze(const edm::Event&, const edm::EventSetup&);
00092
00094 virtual void endLuminosityBlock(const edm::LuminosityBlock&,
00095 const edm::EventSetup&);
00096 virtual void endRun(const edm::Run&, const edm::EventSetup&);
00097
00098 virtual void endJob();
00099
00100 private:
00101
00103
00104 L1RetrieveL1Extra m_retrieveL1Extra;
00105
00107 std::string m_dirName;
00108
00110 int m_nrBxInEventGmt;
00111 int m_nrBxInEventGct;
00112
00114
00115 DQMStore* m_dbe;
00116
00117 bool m_resetModule;
00118 int m_currentRun;
00119
00121 int m_nrEvJob;
00122 int m_nrEvRun;
00123
00124 };
00125
00126 #endif