File indexing completed on 2023-10-25 09:42:31
0001 #ifndef DQM_L1TMonitor_L1TStage2OMTF_h
0002 #define DQM_L1TMonitor_L1TStage2OMTF_h
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include <iosfwd>
0012 #include <memory>
0013 #include <vector>
0014 #include <string>
0015 #include <algorithm>
0016
0017
0018 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0019 #include "FWCore/Framework/interface/Event.h"
0020 #include "FWCore/Framework/interface/Run.h"
0021 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0022 #include "FWCore/Utilities/interface/InputTag.h"
0023 #include "DataFormats/Common/interface/Handle.h"
0024
0025
0026 #include "DataFormats/L1TMuon/interface/RegionalMuonCand.h"
0027
0028
0029 #include "DQMServices/Core/interface/DQMStore.h"
0030 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0031
0032
0033
0034 class L1TStage2OMTF : public DQMEDAnalyzer {
0035 public:
0036
0037 L1TStage2OMTF(const edm::ParameterSet& ps);
0038
0039 ~L1TStage2OMTF() override;
0040
0041
0042 protected:
0043 void analyze(const edm::Event&, const edm::EventSetup&) override;
0044 void bookHistograms(DQMStore::IBooker&, const edm::Run&, const edm::EventSetup&) override;
0045
0046
0047 private:
0048 std::string monitorDir;
0049 edm::InputTag omtfSource;
0050 bool verbose;
0051 edm::EDGetToken omtfToken;
0052 float global_phi;
0053
0054 MonitorElement* omtf_hwEta;
0055 MonitorElement* omtf_hwLocalPhi;
0056 MonitorElement* omtf_hwPt;
0057 MonitorElement* omtf_hwQual;
0058 MonitorElement* omtf_proc;
0059 MonitorElement* omtf_bx;
0060
0061 MonitorElement* omtf_hwEta_hwLocalPhi;
0062 MonitorElement* omtf_hwPt_hwEta;
0063 MonitorElement* omtf_hwPt_hwLocalPhi;
0064
0065 MonitorElement* omtf_hwEta_bx;
0066 MonitorElement* omtf_hwLocalPhi_bx;
0067 MonitorElement* omtf_hwPt_bx;
0068 MonitorElement* omtf_hwQual_bx;
0069 };
0070
0071 #endif