File indexing completed on 2024-04-06 12:09:51
0001
0002 #ifndef HLTTauDQML1Plotter_h
0003 #define HLTTauDQML1Plotter_h
0004
0005 #include "DQMOffline/Trigger/interface/HLTTauDQMPlotter.h"
0006 #include "DQMOffline/Trigger/interface/HistoWrapper.h"
0007
0008 #include "FWCore/Utilities/interface/InputTag.h"
0009
0010 #include "DataFormats/L1Trigger/interface/Tau.h"
0011 #include "DataFormats/L1Trigger/interface/EtSum.h"
0012
0013 #include "FWCore/Framework/interface/ConsumesCollector.h"
0014
0015 class HLTTauDQML1Plotter : private HLTTauDQMPlotter {
0016 public:
0017 HLTTauDQML1Plotter(const edm::ParameterSet&,
0018 edm::ConsumesCollector&& cc,
0019 int phibins,
0020 double maxpt,
0021 double maxhighpt,
0022 bool ref,
0023 double dr,
0024 const std::string& dqmBaseFolder);
0025 ~HLTTauDQML1Plotter();
0026
0027 using HLTTauDQMPlotter::isValid;
0028
0029 void bookHistograms(HistoWrapper& iWrapper, DQMStore::IBooker& iBooker);
0030 void analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup, const HLTTauDQMOfflineObjects& refC);
0031
0032 private:
0033
0034 edm::InputTag l1stage2Taus_;
0035 edm::EDGetTokenT<l1t::TauBxCollection> l1stage2TausToken_;
0036 edm::InputTag l1stage2Sums_;
0037 edm::EDGetTokenT<l1t::EtSumBxCollection> l1stage2SumsToken_;
0038
0039 const bool doRefAnalysis_;
0040 const double matchDeltaR_;
0041 double l1JetMinEt_;
0042 double l1ETMMin_;
0043
0044 const double maxPt_;
0045 const double maxHighPt_;
0046 const int binsEt_;
0047 const int binsEta_;
0048 const int binsPhi_;
0049 const double maxEta_;
0050
0051
0052 MonitorElement* l1tauEt_;
0053 MonitorElement* l1tauEta_;
0054 MonitorElement* l1tauPhi_;
0055
0056 MonitorElement* l1isotauEt_;
0057 MonitorElement* l1isotauEta_;
0058 MonitorElement* l1isotauPhi_;
0059
0060 MonitorElement* l1jetEt_;
0061 MonitorElement* l1jetEta_;
0062 MonitorElement* l1jetPhi_;
0063
0064 MonitorElement* l1etmEt_;
0065 MonitorElement* l1etmPhi_;
0066
0067
0068 MonitorElement* l1tauEtRes_;
0069 MonitorElement* l1isotauEtRes_;
0070 MonitorElement* l1jetEtRes_;
0071
0072 MonitorElement* l1tauEtEffNum_;
0073 MonitorElement* l1tauEtEffDenom_;
0074
0075 MonitorElement* l1tauHighEtEffNum_;
0076 MonitorElement* l1tauHighEtEffDenom_;
0077
0078 MonitorElement* l1tauEtaEffNum_;
0079 MonitorElement* l1tauEtaEffDenom_;
0080
0081 MonitorElement* l1tauPhiEffNum_;
0082 MonitorElement* l1tauPhiEffDenom_;
0083
0084 MonitorElement* l1isotauEtEffNum_;
0085 MonitorElement* l1isotauEtEffDenom_;
0086
0087 MonitorElement* l1isotauHighEtEffNum_;
0088 MonitorElement* l1isotauHighEtEffDenom_;
0089
0090 MonitorElement* l1isotauEtaEffNum_;
0091 MonitorElement* l1isotauEtaEffDenom_;
0092
0093 MonitorElement* l1isotauPhiEffNum_;
0094 MonitorElement* l1isotauPhiEffDenom_;
0095
0096 MonitorElement* l1jetEtEffNum_;
0097 MonitorElement* l1jetEtEffDenom_;
0098
0099 MonitorElement* l1jetHighEtEffNum_;
0100 MonitorElement* l1jetHighEtEffDenom_;
0101
0102 MonitorElement* l1jetEtaEffNum_;
0103 MonitorElement* l1jetEtaEffDenom_;
0104
0105 MonitorElement* l1jetPhiEffNum_;
0106 MonitorElement* l1jetPhiEffDenom_;
0107
0108 MonitorElement* firstTauEt_;
0109 MonitorElement* firstTauEta_;
0110 MonitorElement* firstTauPhi_;
0111
0112 MonitorElement* secondTauEt_;
0113 MonitorElement* secondTauEta_;
0114 MonitorElement* secondTauPhi_;
0115
0116 MonitorElement* firstIsoTauEt_;
0117 MonitorElement* firstIsoTauEta_;
0118 MonitorElement* firstIsoTauPhi_;
0119
0120 MonitorElement* secondIsoTauEt_;
0121 MonitorElement* secondIsoTauEta_;
0122 MonitorElement* secondIsoTauPhi_;
0123
0124 MonitorElement* l1etmEtEffNum_;
0125 MonitorElement* l1etmEtEffDenom_;
0126 };
0127 #endif