L1TStage2CaloLayer2

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
#ifndef DQM_L1TMonitor_L1TStage2CaloLayer2_h
#define DQM_L1TMonitor_L1TStage2CaloLayer2_h

//   base classes
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

// DQM
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/DQMEDAnalyzer.h"

// stage2 collection

#include "DataFormats/L1Trigger/interface/EGamma.h"
#include "DataFormats/L1Trigger/interface/Jet.h"
#include "DataFormats/L1Trigger/interface/EtSum.h"
#include "DataFormats/L1Trigger/interface/Tau.h"

class L1TStage2CaloLayer2 : public DQMEDAnalyzer {
public:
  L1TStage2CaloLayer2(const edm::ParameterSet& ps);

  ~L1TStage2CaloLayer2() override;

protected:
  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
  void bookHistograms(DQMStore::IBooker&, const edm::Run&, const edm::EventSetup&) override;

private:
  std::string monitorDir_;

  edm::EDGetTokenT<l1t::JetBxCollection> stage2CaloLayer2JetToken_;
  edm::EDGetTokenT<l1t::EGammaBxCollection> stage2CaloLayer2EGammaToken_;
  edm::EDGetTokenT<l1t::TauBxCollection> stage2CaloLayer2TauToken_;
  edm::EDGetTokenT<l1t::EtSumBxCollection> stage2CaloLayer2EtSumToken_;

  bool verbose_;

  MonitorElement* stage2CaloLayer2CenJetEtEtaPhi_;
  MonitorElement* stage2CaloLayer2CenJetEtEtaPhi_shift_;
  MonitorElement* stage2CaloLayer2CenJetEta_;
  MonitorElement* stage2CaloLayer2CenJetPhi_;
  MonitorElement* stage2CaloLayer2CenJetRank_;
  MonitorElement* stage2CaloLayer2CenJetOcc_;
  MonitorElement* stage2CaloLayer2CenJetBxOcc_;
  MonitorElement* stage2CaloLayer2CenJetQual_;

  MonitorElement* stage2CaloLayer2ForJetEtEtaPhi_;
  MonitorElement* stage2CaloLayer2ForJetEtEtaPhi_shift_;
  MonitorElement* stage2CaloLayer2ForJetEta_;
  MonitorElement* stage2CaloLayer2ForJetPhi_;
  MonitorElement* stage2CaloLayer2ForJetRank_;
  MonitorElement* stage2CaloLayer2ForJetOcc_;
  MonitorElement* stage2CaloLayer2ForJetBxOcc_;
  MonitorElement* stage2CaloLayer2ForJetQual_;

  MonitorElement* stage2CaloLayer2EGIso_;

  MonitorElement* stage2CaloLayer2IsoEGEtEtaPhi_;
  MonitorElement* stage2CaloLayer2IsoEGEtEtaPhi_shift_;
  MonitorElement* stage2CaloLayer2IsoEGEta_;
  MonitorElement* stage2CaloLayer2IsoEGPhi_;
  MonitorElement* stage2CaloLayer2IsoEGRank_;
  MonitorElement* stage2CaloLayer2IsoEGOcc_;
  MonitorElement* stage2CaloLayer2IsoEGBxOcc_;
  MonitorElement* stage2CaloLayer2IsoEGQual_;

  MonitorElement* stage2CaloLayer2NonIsoEGEtEtaPhi_;
  MonitorElement* stage2CaloLayer2NonIsoEGEtEtaPhi_shift_;
  MonitorElement* stage2CaloLayer2NonIsoEGEta_;
  MonitorElement* stage2CaloLayer2NonIsoEGPhi_;
  MonitorElement* stage2CaloLayer2NonIsoEGRank_;
  MonitorElement* stage2CaloLayer2NonIsoEGOcc_;
  MonitorElement* stage2CaloLayer2NonIsoEGBxOcc_;
  MonitorElement* stage2CaloLayer2NonIsoEGQual_;

  MonitorElement* stage2CaloLayer2TauIso_;

  MonitorElement* stage2CaloLayer2IsoTauEtEtaPhi_;
  MonitorElement* stage2CaloLayer2IsoTauEtEtaPhi_shift_;
  MonitorElement* stage2CaloLayer2IsoTauEta_;
  MonitorElement* stage2CaloLayer2IsoTauPhi_;
  MonitorElement* stage2CaloLayer2IsoTauRank_;
  MonitorElement* stage2CaloLayer2IsoTauOcc_;
  MonitorElement* stage2CaloLayer2IsoTauBxOcc_;
  MonitorElement* stage2CaloLayer2IsoTauQual_;

  MonitorElement* stage2CaloLayer2TauEtEtaPhi_;
  MonitorElement* stage2CaloLayer2TauEtEtaPhi_shift_;
  MonitorElement* stage2CaloLayer2TauEta_;
  MonitorElement* stage2CaloLayer2TauPhi_;
  MonitorElement* stage2CaloLayer2TauRank_;
  MonitorElement* stage2CaloLayer2TauOcc_;
  MonitorElement* stage2CaloLayer2TauBxOcc_;
  MonitorElement* stage2CaloLayer2TauQual_;

  MonitorElement* stage2CaloLayer2EtSumBxOcc_;
  MonitorElement* stage2CaloLayer2METRank_;
  MonitorElement* stage2CaloLayer2METPhi_;
  MonitorElement* stage2CaloLayer2ETTRank_;
  MonitorElement* stage2CaloLayer2MHTRank_;
  MonitorElement* stage2CaloLayer2MHTPhi_;
  MonitorElement* stage2CaloLayer2HTTRank_;
  MonitorElement* stage2CaloLayer2METHFRank_;
  MonitorElement* stage2CaloLayer2METHFPhi_;
  // MonitorElement* stage2CaloLayer2ETTHFRank_;
  MonitorElement* stage2CaloLayer2MHTHFRank_;
  MonitorElement* stage2CaloLayer2MHTHFPhi_;
  // MonitorElement* stage2CaloLayer2HTTHFRank_;
  MonitorElement* stage2CaloLayer2MinBiasHFP0_;
  MonitorElement* stage2CaloLayer2MinBiasHFM0_;
  MonitorElement* stage2CaloLayer2MinBiasHFP1_;
  MonitorElement* stage2CaloLayer2MinBiasHFM1_;
  MonitorElement* stage2CaloLayer2ETTEMRank_;
  MonitorElement* stage2CaloLayer2TowCount_;
  MonitorElement* stage2CaloLayer2Asymmetry_;
  MonitorElement* stage2CaloLayer2Centrality_;

  MonitorElement* timingStage2CaloLayer2CenJetBxOcc_;
  MonitorElement* timingStage2CaloLayer2ForJetBxOcc_;
  MonitorElement* timingStage2CaloLayer2IsoEGBxOcc_;
  MonitorElement* timingStage2CaloLayer2NonIsoEGBxOcc_;
  MonitorElement* timingStage2CaloLayer2IsoTauBxOcc_;
  MonitorElement* timingStage2CaloLayer2TauBxOcc_;
  MonitorElement* timingStage2CaloLayer2EtSumBxOcc_;
};

#endif