File indexing completed on 2024-04-06 12:07:44
0001 #ifndef DQM_L1TMonitor_L1TdeStage2EMTF_h
0002 #define DQM_L1TMonitor_L1TdeStage2EMTF_h
0003
0004 #include "FWCore/Framework/interface/Event.h"
0005 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0007
0008 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0009 #include "DQMServices/Core/interface/DQMStore.h"
0010
0011 #include "DataFormats/L1TMuon/interface/RegionalMuonCand.h"
0012
0013 class L1TdeStage2EMTF : public DQMEDAnalyzer {
0014 public:
0015 L1TdeStage2EMTF(const edm::ParameterSet& ps);
0016 ~L1TdeStage2EMTF() override;
0017
0018 protected:
0019 void bookHistograms(DQMStore::IBooker&, const edm::Run&, const edm::EventSetup&) override;
0020 void analyze(const edm::Event&, const edm::EventSetup&) override;
0021
0022 private:
0023 edm::EDGetTokenT<l1t::RegionalMuonCandBxCollection> dataToken;
0024 edm::EDGetTokenT<l1t::RegionalMuonCandBxCollection> emulToken;
0025 std::string monitorDir;
0026 bool verbose;
0027
0028 MonitorElement* emtfComparenMuonsEvent;
0029
0030 MonitorElement* emtfDataBX;
0031 MonitorElement* emtfEmulBX;
0032 MonitorElement* emtfDatahwPt;
0033 MonitorElement* emtfEmulhwPt;
0034 MonitorElement* emtfDatahwEta;
0035 MonitorElement* emtfEmulhwEta;
0036 MonitorElement* emtfDatahwPhi;
0037 MonitorElement* emtfEmulhwPhi;
0038 MonitorElement* emtfDatahwQual;
0039 MonitorElement* emtfEmulhwQual;
0040
0041
0042
0043
0044
0045 };
0046
0047 #endif