Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-04-19 22:45:11

0001 #ifndef TrackingMonitor_TrackFoldedOccupancyClient_h
0002 #define TrackingMonitor_TrackFoldedOccupancyClient_h
0003 // -*- C++ -*-
0004 //
0005 // Package:    TrackingMonitor
0006 // Class  :    TrackFoldedOccupancyClient
0007 //
0008 //DQM class to plot occupancy in eta phi
0009 
0010 #include <string>
0011 
0012 #include "DQMServices/Core/interface/DQMEDHarvester.h"
0013 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0014 #include "FWCore/Framework/interface/ESHandle.h"
0015 #include "FWCore/Framework/interface/LuminosityBlock.h"
0016 #include "FWCore/Framework/interface/Run.h"
0017 #include "FWCore/Framework/interface/EventSetup.h"
0018 #include "FWCore/Framework/interface/MakerMacros.h"
0019 #include "DQMServices/Core/interface/DQMStore.h"
0020 
0021 class TrackFoldedOccupancyClient : public DQMEDHarvester {
0022 public:
0023   /// Constructor
0024   TrackFoldedOccupancyClient(const edm::ParameterSet& ps);
0025 
0026   /// Destructor
0027   ~TrackFoldedOccupancyClient() override;
0028 
0029 protected:
0030   /// BeginJob
0031   void beginJob(void) override;
0032 
0033   /// BeginRun
0034   void beginRun(edm::Run const& run, edm::EventSetup const& eSetup) override;
0035 
0036   /// EndJob
0037   void dqmEndJob(DQMStore::IBooker& ibooker_, DQMStore::IGetter& igetter_) override;
0038 
0039 private:
0040   /// book MEs
0041   void bookMEs(DQMStore::IBooker& ibooker_);
0042 
0043   edm::ParameterSet conf_;
0044   std::string algoName_;
0045   std::string quality_;
0046   std::string state_;
0047   std::string histTag_;
0048   std::string TopFolder_;
0049 
0050   MonitorElement* TkEtaPhi_RelativeDifference_byFoldingmap = nullptr;
0051   MonitorElement* TkEtaPhi_RelativeDifference_byFoldingmap_op = nullptr;
0052   MonitorElement* TkEtaPhi_Ratio_byFoldingmap = nullptr;
0053   MonitorElement* TkEtaPhi_Ratio_byFoldingmap_op = nullptr;
0054 };
0055 #endif