Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef DQM_L1TMonitor_L1TStage2RegionalShower_h
0002 #define DQM_L1TMonitor_L1TStage2RegionalShower_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/DQMOneEDAnalyzer.h"
0009 #include "DQMServices/Core/interface/DQMStore.h"
0010 
0011 #include "DataFormats/L1TMuon/interface/EMTFDaqOut.h"
0012 #include "DataFormats/L1TMuon/interface/EMTFHit.h"
0013 #include "DataFormats/L1TMuon/interface/EMTFTrack.h"
0014 #include "DataFormats/L1TMuon/interface/RegionalMuonCand.h"
0015 #include "DataFormats/CSCDigi/interface/CSCShowerDigiCollection.h"
0016 #include "DataFormats/L1TMuon/interface/RegionalMuonShower.h"
0017 
0018 class L1TStage2RegionalShower : public DQMOneEDAnalyzer<> {
0019 public:
0020   L1TStage2RegionalShower(const edm::ParameterSet& ps);
0021   ~L1TStage2RegionalShower() override;
0022 
0023 protected:
0024   void bookHistograms(DQMStore::IBooker&, const edm::Run&, const edm::EventSetup&) override;
0025   void analyze(const edm::Event&, const edm::EventSetup&) override;
0026 
0027 private:
0028   edm::EDGetTokenT<l1t::RegionalMuonShowerBxCollection> EMTFShowerToken;
0029   edm::EDGetTokenT<CSCShowerDigiCollection> CSCShowerToken;
0030   std::string monitorDir;
0031   bool verbose;
0032 
0033   MonitorElement* cscShowerOccupancyLoose;
0034   MonitorElement* cscShowerOccupancyNom;
0035   MonitorElement* cscShowerOccupancyTight;
0036   MonitorElement* cscShowerStationRing;
0037   MonitorElement* cscShowerChamber;
0038 
0039   MonitorElement* emtfShowerTypeOccupancy;
0040 };
0041 
0042 #endif