Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:07:45

0001 #ifndef DQM_L1TMonitor_L1TStage2uGMTMuon_h
0002 #define DQM_L1TMonitor_L1TStage2uGMTMuon_h
0003 
0004 #include "DataFormats/L1Trigger/interface/Muon.h"
0005 
0006 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0007 #include "DQMServices/Core/interface/DQMStore.h"
0008 
0009 #include "FWCore/Framework/interface/Event.h"
0010 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0012 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0013 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0014 
0015 class L1TStage2uGMTMuon : public DQMEDAnalyzer {
0016 public:
0017   L1TStage2uGMTMuon(const edm::ParameterSet& ps);
0018   ~L1TStage2uGMTMuon() override;
0019   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0020 
0021 protected:
0022   void bookHistograms(DQMStore::IBooker&, const edm::Run&, const edm::EventSetup&) override;
0023   void analyze(const edm::Event&, const edm::EventSetup&) override;
0024 
0025 private:
0026   edm::EDGetTokenT<l1t::MuonBxCollection> ugmtMuonToken;
0027   std::string monitorDir;
0028   std::string titlePrefix;
0029   bool verbose;
0030   bool makeMuonAtVtxPlots;
0031   bool displacedQuantities_;
0032 
0033   MonitorElement* ugmtMuonBX;
0034   MonitorElement* ugmtnMuons;
0035   MonitorElement* ugmtMuonhwPt;
0036   MonitorElement* ugmtMuonhwPtUnconstrained;
0037   MonitorElement* ugmtMuonhwDXY;
0038   MonitorElement* ugmtMuonhwEta;
0039   MonitorElement* ugmtMuonhwPhi;
0040   MonitorElement* ugmtMuonhwEtaAtVtx;
0041   MonitorElement* ugmtMuonhwPhiAtVtx;
0042   MonitorElement* ugmtMuonhwCharge;
0043   MonitorElement* ugmtMuonhwChargeValid;
0044   MonitorElement* ugmtMuonhwQual;
0045 
0046   MonitorElement* ugmtMuonPt;
0047   MonitorElement* ugmtMuonPtUnconstrained;
0048   MonitorElement* ugmtMuonEta;
0049   MonitorElement* ugmtMuonPhi;
0050   MonitorElement* ugmtMuonEtaAtVtx;
0051   MonitorElement* ugmtMuonPhiAtVtx;
0052   MonitorElement* ugmtMuonCharge;
0053 
0054   MonitorElement* ugmtMuonPtvsEta;
0055   MonitorElement* ugmtMuonPtvsPhi;
0056   MonitorElement* ugmtMuonPhivsEta;
0057   MonitorElement* ugmtMuonPtvsEtaAtVtx;
0058   MonitorElement* ugmtMuonPtvsPhiAtVtx;
0059   MonitorElement* ugmtMuonPhiAtVtxvsEtaAtVtx;
0060 
0061   MonitorElement* ugmtMuonBXvshwPt;
0062   MonitorElement* ugmtMuonBXvshwEta;
0063   MonitorElement* ugmtMuonBXvshwPhi;
0064   MonitorElement* ugmtMuonBXvshwEtaAtVtx;
0065   MonitorElement* ugmtMuonBXvshwPhiAtVtx;
0066   MonitorElement* ugmtMuonBXvshwCharge;
0067   MonitorElement* ugmtMuonBXvshwChargeValid;
0068   MonitorElement* ugmtMuonBXvshwQual;
0069 };
0070 
0071 #endif