CMS 3D CMS Logo

L1TObjectsTiming.h
Go to the documentation of this file.
1 #ifndef DQM_L1TMonitor_L1TObjectsTiming_h
2 #define DQM_L1TMonitor_L1TObjectsTiming_h
3 
4 // System include files
5 #include <memory>
6 #include <vector>
7 
13 
16 
29 
31 
32  public:
33 
35  ~L1TObjectsTiming() override;
36  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
37 
38  protected:
39 
40  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
41  void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&) override;
42  void bookHistograms(DQMStore::IBooker&, const edm::Run&, const edm::EventSetup&) override;
43  void analyze(const edm::Event&, const edm::EventSetup&) override;
44 
45  private:
46 
52 
53  edm::EDGetTokenT<GlobalAlgBlkBxCollection> l1tStage2uGtProducer_; // input tag for L1 uGT DAQ readout record
54 
56  bool verbose_;
57 
58  // To get the algo bits corresponding to algo names
59  std::shared_ptr<l1t::L1TGlobalUtil> gtUtil_;
60 
61  // For the timing histograms
66  const unsigned int bxrange_; //this is the out bx range
67 
68 
69 //---------Histograms booking---------
70  std::vector<MonitorElement*> muons_eta_phi;
71  std::vector<MonitorElement*> jet_eta_phi;
72  std::vector<MonitorElement*> egamma_eta_phi;
73  std::vector<MonitorElement*> tau_eta_phi;
74  std::vector<MonitorElement*> etsum_eta_phi_MET;
75  std::vector<MonitorElement*> etsum_eta_phi_METHF;
76  std::vector<MonitorElement*> etsum_eta_phi_MHT;
77  std::vector<MonitorElement*> etsum_eta_phi_MHTHF;
78 
79  std::vector<MonitorElement*> muons_eta_phi_isolated;
80  std::vector<MonitorElement*> jet_eta_phi_isolated;
81  std::vector<MonitorElement*> egamma_eta_phi_isolated;
82  std::vector<MonitorElement*> tau_eta_phi_isolated;
83  std::vector<MonitorElement*> etsum_eta_phi_MET_isolated;
84  std::vector<MonitorElement*> etsum_eta_phi_METHF_isolated;
85  std::vector<MonitorElement*> etsum_eta_phi_MHT_isolated;
86  std::vector<MonitorElement*> etsum_eta_phi_MHTHF_isolated;
87 
88  std::vector<MonitorElement*> muons_eta_phi_firstbunch;
89  std::vector<MonitorElement*> jet_eta_phi_firstbunch;
90  std::vector<MonitorElement*> egamma_eta_phi_firstbunch;
91  std::vector<MonitorElement*> tau_eta_phi_firstbunch;
92  std::vector<MonitorElement*> etsum_eta_phi_firstbunch;
93  std::vector<MonitorElement*> etsum_eta_phi_MET_firstbunch;
94  std::vector<MonitorElement*> etsum_eta_phi_METHF_firstbunch;
95  std::vector<MonitorElement*> etsum_eta_phi_MHT_firstbunch;
96  std::vector<MonitorElement*> etsum_eta_phi_MHTHF_firstbunch;
97 
98  std::vector<MonitorElement*> muons_eta_phi_lastbunch;
99  std::vector<MonitorElement*> jet_eta_phi_lastbunch;
100  std::vector<MonitorElement*> egamma_eta_phi_lastbunch;
101  std::vector<MonitorElement*> tau_eta_phi_lastbunch;
102  std::vector<MonitorElement*> etsum_eta_phi_MET_lastbunch;
103  std::vector<MonitorElement*> etsum_eta_phi_METHF_lastbunch;
104  std::vector<MonitorElement*> etsum_eta_phi_MHT_lastbunch;
105  std::vector<MonitorElement*> etsum_eta_phi_MHTHF_lastbunch;
106 
107 };
108 
109 #endif
std::vector< MonitorElement * > egamma_eta_phi_isolated
std::vector< MonitorElement * > jet_eta_phi_firstbunch
std::vector< MonitorElement * > etsum_eta_phi_firstbunch
edm::EDGetTokenT< l1t::EGammaBxCollection > stage2CaloLayer2EGammaToken_
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
edm::EDGetTokenT< GlobalAlgBlkBxCollection > l1tStage2uGtProducer_
std::vector< MonitorElement * > etsum_eta_phi_MET_isolated
std::vector< MonitorElement * > etsum_eta_phi_METHF_isolated
std::vector< MonitorElement * > muons_eta_phi_isolated
std::vector< MonitorElement * > egamma_eta_phi
std::vector< MonitorElement * > jet_eta_phi_lastbunch
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
std::vector< MonitorElement * > tau_eta_phi_lastbunch
void analyze(const edm::Event &, const edm::EventSetup &) override
const unsigned int bxrange_
std::vector< MonitorElement * > etsum_eta_phi_MET_firstbunch
std::vector< MonitorElement * > etsum_eta_phi_MHT_lastbunch
std::vector< MonitorElement * > muons_eta_phi_lastbunch
std::vector< MonitorElement * > etsum_eta_phi_MHT
void bookHistograms(DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override
std::vector< MonitorElement * > etsum_eta_phi_MET_lastbunch
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< MonitorElement * > jet_eta_phi
std::vector< MonitorElement * > etsum_eta_phi_METHF_firstbunch
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_isolated
L1TObjectsTiming(const edm::ParameterSet &ps)
edm::EDGetTokenT< l1t::MuonBxCollection > ugmtMuonToken_
std::vector< MonitorElement * > egamma_eta_phi_lastbunch
std::vector< MonitorElement * > muons_eta_phi_firstbunch
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_lastbunch
edm::EDGetTokenT< l1t::EtSumBxCollection > stage2CaloLayer2EtSumToken_
edm::EDGetTokenT< l1t::JetBxCollection > stage2CaloLayer2JetToken_
edm::EDGetTokenT< l1t::TauBxCollection > stage2CaloLayer2TauToken_
std::vector< MonitorElement * > tau_eta_phi_isolated
std::vector< MonitorElement * > etsum_eta_phi_METHF
std::vector< MonitorElement * > etsum_eta_phi_MHTHF
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_firstbunch
std::vector< MonitorElement * > tau_eta_phi
std::vector< MonitorElement * > egamma_eta_phi_firstbunch
std::string monitorDir_
std::vector< MonitorElement * > etsum_eta_phi_MHT_isolated
std::vector< MonitorElement * > etsum_eta_phi_METHF_lastbunch
const std::string algoNameLastBxInTrain_
std::vector< MonitorElement * > etsum_eta_phi_MET
~L1TObjectsTiming() override
std::vector< MonitorElement * > jet_eta_phi_isolated
std::vector< MonitorElement * > muons_eta_phi
const std::string algoNameFirstBxInTrain_
std::vector< MonitorElement * > etsum_eta_phi_MHT_firstbunch
std::shared_ptr< l1t::L1TGlobalUtil > gtUtil_
Definition: Run.h:43
std::vector< MonitorElement * > tau_eta_phi_firstbunch