Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:10:32

0001 #ifndef DQM_L1TMonitor_L1TStage2OMTF_h
0002 #define DQM_L1TMonitor_L1TStage2OMTF_h
0003 
0004 /*
0005  * \file L1TStage2OMTF.h
0006  * \Author Esmaeel Eskandari Tadavani
0007  * \December 2015 
0008 */
0009 
0010 // system requirements
0011 #include <iosfwd>
0012 #include <memory>
0013 #include <vector>
0014 #include <string>
0015 #include <algorithm>
0016 
0017 // general requirements
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 // stage2 requirements
0026 #include "DataFormats/L1TMuon/interface/RegionalMuonCand.h"
0027 
0028 // dqm requirements
0029 #include "DQMServices/Core/interface/DQMStore.h"
0030 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0031 
0032 // class decleration
0033 
0034 class L1TStage2OMTF : public DQMEDAnalyzer {
0035 public:
0036   // class constructor
0037   L1TStage2OMTF(const edm::ParameterSet& ps);
0038   // class destructor
0039   ~L1TStage2OMTF() override;
0040 
0041   // member functions
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   // data members
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