CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HLTTauDQML1Plotter Class Reference

#include <HLTTauDQML1Plotter.h>

Inheritance diagram for HLTTauDQML1Plotter:
HLTTauDQMPlotter

Public Member Functions

void analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup, const HLTTauDQMOfflineObjects &refC)
 
void bookHistograms (DQMStore::IBooker &iBooker)
 
 HLTTauDQML1Plotter (const edm::ParameterSet &, edm::ConsumesCollector &&cc, int phibins, double maxpt, double maxhighpt, bool ref, double dr, const std::string &dqmBaseFolder)
 
 ~HLTTauDQML1Plotter ()
 

Private Attributes

const int binsEt_
 
const int binsEta_
 
const int binsPhi_
 
const bool doRefAnalysis_
 
MonitorElementfirstIsoTauEt_
 
MonitorElementfirstIsoTauEta_
 
MonitorElementfirstIsoTauPhi_
 
MonitorElementfirstTauEt_
 
MonitorElementfirstTauEta_
 
MonitorElementfirstTauPhi_
 
MonitorElementl1etmEt_
 
MonitorElementl1etmEtEffDenom_
 
MonitorElementl1etmEtEffNum_
 
double l1ETMMin_
 
MonitorElementl1etmPhi_
 
MonitorElementl1isotauEt_
 
MonitorElementl1isotauEta_
 
MonitorElementl1isotauEtaEffDenom_
 
MonitorElementl1isotauEtaEffNum_
 
MonitorElementl1isotauEtEffDenom_
 
MonitorElementl1isotauEtEffNum_
 
MonitorElementl1isotauEtRes_
 
MonitorElementl1isotauHighEtEffDenom_
 
MonitorElementl1isotauHighEtEffNum_
 
MonitorElementl1isotauPhi_
 
MonitorElementl1isotauPhiEffDenom_
 
MonitorElementl1isotauPhiEffNum_
 
MonitorElementl1jetEt_
 
MonitorElementl1jetEta_
 
MonitorElementl1jetEtaEffDenom_
 
MonitorElementl1jetEtaEffNum_
 
MonitorElementl1jetEtEffDenom_
 
MonitorElementl1jetEtEffNum_
 
MonitorElementl1jetEtRes_
 
MonitorElementl1jetHighEtEffDenom_
 
MonitorElementl1jetHighEtEffNum_
 
double l1JetMinEt_
 
MonitorElementl1jetPhi_
 
MonitorElementl1jetPhiEffDenom_
 
MonitorElementl1jetPhiEffNum_
 
edm::InputTag l1stage2Sums_
 
edm::EDGetTokenT< l1t::EtSumBxCollectionl1stage2SumsToken_
 
edm::InputTag l1stage2Taus_
 
edm::EDGetTokenT< l1t::TauBxCollectionl1stage2TausToken_
 
MonitorElementl1tauEt_
 
MonitorElementl1tauEta_
 
MonitorElementl1tauEtaEffDenom_
 
MonitorElementl1tauEtaEffNum_
 
MonitorElementl1tauEtEffDenom_
 
MonitorElementl1tauEtEffNum_
 
MonitorElementl1tauEtRes_
 
MonitorElementl1tauHighEtEffDenom_
 
MonitorElementl1tauHighEtEffNum_
 
MonitorElementl1tauPhi_
 
MonitorElementl1tauPhiEffDenom_
 
MonitorElementl1tauPhiEffNum_
 
const double matchDeltaR_
 
const double maxEta_
 
const double maxHighPt_
 
const double maxPt_
 
MonitorElementsecondIsoTauEt_
 
MonitorElementsecondIsoTauEta_
 
MonitorElementsecondIsoTauPhi_
 
MonitorElementsecondTauEt_
 
MonitorElementsecondTauEta_
 
MonitorElementsecondTauPhi_
 
- Private Attributes inherited from HLTTauDQMPlotter
bool configValid_
 
std::string dqmFolder_
 
std::string dqmFullFolder_
 

Additional Inherited Members

- Private Member Functions inherited from HLTTauDQMPlotter
 HLTTauDQMPlotter (const edm::ParameterSet &pset, std::string dqmBaseFolder)
 
 HLTTauDQMPlotter (const std::string &dqmFolder, const std::string &dqmBaseFolder)
 
bool isValid () const
 
 ~HLTTauDQMPlotter ()
 
std::pair< bool, LVmatch (const LV &, const LVColl &, double)
 
const std::string & triggerTag () const
 

Detailed Description

Definition at line 14 of file HLTTauDQML1Plotter.h.

Constructor & Destructor Documentation

HLTTauDQML1Plotter::HLTTauDQML1Plotter ( const edm::ParameterSet ps,
edm::ConsumesCollector &&  cc,
int  phibins,
double  maxpt,
double  maxhighpt,
bool  ref,
double  dr,
const std::string &  dqmBaseFolder 
)

Definition at line 17 of file HLTTauDQML1Plotter.cc.

References HLTTauDQMPlotter::configValid_, edm::ParameterSet::getUntrackedParameter(), l1ETMMin_, l1stage2Sums_, l1stage2SumsToken_, l1stage2Taus_, and l1stage2TausToken_.

17  :
18  HLTTauDQMPlotter(ps, dqmBaseFolder),
19  doRefAnalysis_(ref),
21  maxPt_(maxpt),
22  maxHighPt_(maxhighpt),
23  binsEt_(ps.getUntrackedParameter<int>("EtHistoBins", 25)),
24  binsEta_(ps.getUntrackedParameter<int>("EtaHistoBins", 14)),
25  binsPhi_(phibins),
26  maxEta_(getMaxEta(binsEta_, ps.getUntrackedParameter<double>("EtaHistoBinWidth", 0.348)))
27 {
28  if(!configValid_)
29  return;
30 
31  //Process PSet
34 
37  l1ETMMin_ = ps.getUntrackedParameter<double>("L1ETMMin");
38 
39  configValid_ = true;
40 }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getUntrackedParameter(std::string const &, T const &) const
const double matchDeltaR_
edm::EDGetTokenT< l1t::TauBxCollection > l1stage2TausToken_
edm::InputTag l1stage2Taus_
HLTTauDQMPlotter(const edm::ParameterSet &pset, std::string dqmBaseFolder)
edm::InputTag l1stage2Sums_
edm::EDGetTokenT< l1t::EtSumBxCollection > l1stage2SumsToken_
HLTTauDQML1Plotter::~HLTTauDQML1Plotter ( )
default

Referenced by bookHistograms().

Member Function Documentation

void HLTTauDQML1Plotter::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup,
const HLTTauDQMOfflineObjects refC 
)

Definition at line 136 of file HLTTauDQML1Plotter.cc.

References a, b, BXVector< T >::begin(), doRefAnalysis_, edm::InputTag::encode(), BXVector< T >::end(), PVValHelper::eta, MonitorElement::Fill(), firstIsoTauEt_, firstIsoTauEta_, firstIsoTauPhi_, firstTauEt_, firstTauEta_, firstTauPhi_, edm::Event::getByToken(), BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), mps_fire::i, edm::HandleBase::isValid(), L1Analysis::kMissingEt, l1etmEt_, l1etmEtEffDenom_, l1etmEtEffNum_, l1ETMMin_, l1etmPhi_, l1isotauEt_, l1isotauEta_, l1isotauEtaEffDenom_, l1isotauEtaEffNum_, l1isotauEtEffDenom_, l1isotauEtEffNum_, l1isotauEtRes_, l1isotauPhi_, l1isotauPhiEffDenom_, l1isotauPhiEffNum_, l1stage2Sums_, l1stage2SumsToken_, l1stage2Taus_, l1stage2TausToken_, l1tauEt_, l1tauEta_, l1tauEtaEffDenom_, l1tauEtaEffNum_, l1tauEtEffDenom_, l1tauEtEffNum_, l1tauEtRes_, l1tauHighEtEffDenom_, l1tauHighEtEffNum_, l1tauPhi_, l1tauPhiEffDenom_, l1tauPhiEffNum_, funct::m, HLTTauDQMPlotter::match(), matchDeltaR_, HLTTauDQMOfflineObjects::met, phi, edm::Handle< T >::product(), EnergyCorrector::pt, secondIsoTauEt_, secondIsoTauEta_, secondIsoTauPhi_, secondTauEt_, secondTauEta_, secondTauPhi_, BXVector< T >::size(), metsig::tau, HLTTauDQMOfflineObjects::taus, and nano_cff::taus.

136  {
137  if ( doRefAnalysis_ ) {
138  //Tau reference
139  for (auto const & tau : refC.taus) {
140  l1tauEtEffDenom_->Fill(tau.pt());
142 
143  l1tauEtaEffDenom_->Fill(tau.eta());
144 
145  l1tauPhiEffDenom_->Fill(tau.phi());
146 
148  l1isotauEtaEffDenom_->Fill(tau.eta());
149  l1isotauPhiEffDenom_->Fill(tau.phi());
150  }
151  if(!refC.met.empty()) l1etmEtEffDenom_->Fill(refC.met[0].pt());
152  }
153 
154  //Analyze L1 Objects (Tau+Jets)
156  iEvent.getByToken(l1stage2TausToken_, taus);
157 
159  iEvent.getByToken(l1stage2SumsToken_, sums);
160 
161  LVColl pathTaus;
162  LVColl pathIsoTaus;
163 
164  //Set Variables for the threshold plot
165  LVColl l1taus;
166  LVColl l1isotaus;
167  LVColl l1met;
168 
169  if(taus.isValid()) {
170  for(auto const & i : *taus) {
171  l1taus.push_back(i.p4());
172  if(i.hwIso() > 0) l1isotaus.push_back(i.p4());
173  if(!doRefAnalysis_) {
174  l1tauEt_->Fill(i.et());
175  l1tauEta_->Fill(i.eta());
176  l1tauPhi_->Fill(i.phi());
177  pathTaus.push_back(i.p4());
178 
179  l1isotauEt_->Fill(i.et());
180  l1isotauEta_->Fill(i.eta());
181  l1isotauPhi_->Fill(i.phi());
182  if(i.hwIso() > 0) pathIsoTaus.push_back(i.p4());
183  }
184  }
185  }
186  else {
187  edm::LogWarning("HLTTauDQMOffline") << "HLTTauDQML1Plotter::analyze: unable to read L1 tau collection " << l1stage2Taus_.encode();
188  }
189 
190  if(sums.isValid() && sums.product()->size() > 0) {
191  if(!doRefAnalysis_) {
192  for (int ibx = sums->getFirstBX(); ibx <= sums->getLastBX(); ++ibx) {
193  for (auto it=sums->begin(ibx); it!=sums->end(ibx); it++) {
194  auto type = static_cast<int>( it->getType() );
196  }
197  }
198  }
199  }
200  else {
201  edm::LogWarning("HLTTauDQMOffline") << "HLTTauDQML1Plotter::analyze: unable to read L1 met collection " << l1stage2Sums_.encode();
202  }
203 
204  //Now do the efficiency matching
205  if ( doRefAnalysis_ ) {
206  for (auto const & tau : refC.taus) {
207  std::pair<bool,LV> m = match(tau,l1taus,matchDeltaR_);
208  if ( m.first ) {
209  l1tauEt_->Fill(m.second.pt());
210  l1tauEta_->Fill(m.second.eta());
211  l1tauPhi_->Fill(m.second.phi());
212 
213  l1tauEtEffNum_->Fill(tau.pt());
214  l1tauHighEtEffNum_->Fill(tau.pt());
215  l1tauEtaEffNum_->Fill(tau.eta());
216  l1tauPhiEffNum_->Fill(tau.phi());
217 
218  l1tauEtRes_->Fill((m.second.pt()-tau.pt())/tau.pt());
219 
220  pathTaus.push_back(m.second);
221  }
222  m = match(tau,l1isotaus,matchDeltaR_);
223  if ( m.first ) {
224  l1isotauEt_->Fill(m.second.pt());
225  l1isotauEta_->Fill(m.second.eta());
226  l1isotauPhi_->Fill(m.second.phi());
227 
228  l1isotauEtEffNum_->Fill(tau.pt());
229  l1isotauEtaEffNum_->Fill(tau.eta());
230  l1isotauPhiEffNum_->Fill(tau.phi());
231 
232  l1isotauEtRes_->Fill((m.second.pt()-tau.pt())/tau.pt());
233 
234  pathIsoTaus.push_back(m.second);
235  }
236 
237  }
238 
239  if(sums.isValid() && sums.product()->size() > 0) {
240  for (int ibx = sums->getFirstBX(); ibx <= sums->getLastBX(); ++ibx) {
241  for (auto it=sums->begin(ibx); it!=sums->end(ibx); it++) {
242  auto type = static_cast<int>( it->getType() );
244  l1etmEt_->Fill(it->et());
245  l1etmPhi_->Fill(it->phi());
246 
247  if( it->et() > l1ETMMin_){
248  l1etmEtEffNum_->Fill(it->et());
249  }
250  }
251  }
252  }
253  }
254  }
255 
256  //Fill the Threshold Monitoring
257  if(pathTaus.size() > 1) std::sort(pathTaus.begin(), pathTaus.end(), [](const LV& a, const LV& b) { return a.pt() > b.pt(); });
258  if ( !pathTaus.empty() ) {
259  firstTauEt_->Fill(pathTaus[0].pt());
260  firstTauEta_->Fill(pathTaus[0].eta());
261  firstTauPhi_->Fill(pathTaus[0].phi());
262  }
263  if ( pathTaus.size() > 1 ) {
264  secondTauEt_->Fill(pathTaus[1].pt());
265  secondTauEta_->Fill(pathTaus[1].eta());
266  secondTauPhi_->Fill(pathTaus[1].phi());
267  }
268  if(pathIsoTaus.size() > 1) std::sort(pathIsoTaus.begin(), pathIsoTaus.end(), [](const LV& a, const LV& b) { return a.pt() > b.pt(); });
269  if ( !pathIsoTaus.empty() ) {
270  firstIsoTauEt_->Fill(pathIsoTaus[0].pt());
271  firstIsoTauEta_->Fill(pathIsoTaus[0].eta());
272  firstIsoTauPhi_->Fill(pathIsoTaus[0].phi());
273  }
274  if ( pathIsoTaus.size() > 1 ) {
275  secondIsoTauEt_->Fill(pathIsoTaus[1].pt());
276  secondIsoTauEta_->Fill(pathIsoTaus[1].eta());
277  secondIsoTauPhi_->Fill(pathIsoTaus[1].phi());
278  }
279 }
const_iterator end(int bx) const
type
Definition: HCALResponse.h:21
MonitorElement * secondIsoTauPhi_
const double matchDeltaR_
unsigned size(int bx) const
MonitorElement * l1isotauEtEffDenom_
MonitorElement * secondTauEta_
std::vector< LV > taus
MonitorElement * l1isotauEta_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:579
MonitorElement * firstTauPhi_
math::XYZTLorentzVectorD LV
MonitorElement * l1etmEtEffNum_
MonitorElement * l1isotauPhiEffNum_
MonitorElement * l1isotauEt_
MonitorElement * firstIsoTauPhi_
MonitorElement * secondIsoTauEt_
MonitorElement * firstTauEta_
std::string encode() const
Definition: InputTag.cc:166
MonitorElement * l1tauEt_
MonitorElement * l1isotauEtaEffDenom_
MonitorElement * l1isotauPhiEffDenom_
MonitorElement * secondTauEt_
MonitorElement * l1tauEtEffDenom_
void Fill(long long x)
MonitorElement * secondIsoTauEta_
MonitorElement * l1tauEtaEffNum_
MonitorElement * firstTauEt_
MonitorElement * l1tauHighEtEffDenom_
edm::EDGetTokenT< l1t::TauBxCollection > l1stage2TausToken_
MonitorElement * l1etmEt_
edm::InputTag l1stage2Taus_
MonitorElement * l1tauEtEffNum_
MonitorElement * l1tauPhi_
bool isValid() const
Definition: HandleBase.h:74
std::vector< LV > met
MonitorElement * l1tauEta_
MonitorElement * l1isotauPhi_
int getFirstBX() const
MonitorElement * l1isotauEtaEffNum_
std::vector< LV > LVColl
MonitorElement * secondTauPhi_
T const * product() const
Definition: Handle.h:81
MonitorElement * l1tauPhiEffDenom_
double b
Definition: hdecay.h:120
MonitorElement * firstIsoTauEta_
MonitorElement * l1isotauEtEffNum_
MonitorElement * l1tauEtaEffDenom_
MonitorElement * l1tauEtRes_
double a
Definition: hdecay.h:121
int getLastBX() const
std::pair< bool, LV > match(const LV &, const LVColl &, double)
MonitorElement * l1isotauEtRes_
MonitorElement * l1etmEtEffDenom_
MonitorElement * l1etmPhi_
MonitorElement * firstIsoTauEt_
const_iterator begin(int bx) const
edm::InputTag l1stage2Sums_
MonitorElement * l1tauPhiEffNum_
MonitorElement * l1tauHighEtEffNum_
edm::EDGetTokenT< l1t::EtSumBxCollection > l1stage2SumsToken_
void HLTTauDQML1Plotter::bookHistograms ( DQMStore::IBooker iBooker)

Definition at line 42 of file HLTTauDQML1Plotter.cc.

References binsEt_, binsEta_, binsPhi_, DQMStore::IBooker::book1D(), edmScanValgrind::buffer, HLTTauDQMPlotter::configValid_, constexpr, doRefAnalysis_, firstIsoTauEt_, firstIsoTauEta_, firstIsoTauPhi_, firstTauEt_, firstTauEta_, firstTauPhi_, l1etmEt_, l1etmEtEffDenom_, l1etmEtEffNum_, l1etmPhi_, l1isotauEt_, l1isotauEta_, l1isotauEtaEffDenom_, l1isotauEtaEffNum_, l1isotauEtEffDenom_, l1isotauEtEffNum_, l1isotauEtRes_, l1isotauPhi_, l1isotauPhiEffDenom_, l1isotauPhiEffNum_, l1tauEt_, l1tauEta_, l1tauEtaEffDenom_, l1tauEtaEffNum_, l1tauEtEffDenom_, l1tauEtEffNum_, l1tauEtRes_, l1tauHighEtEffDenom_, l1tauHighEtEffNum_, l1tauPhi_, l1tauPhiEffDenom_, l1tauPhiEffNum_, maxEta_, maxHighPt_, trackingParticleSelector_cfi::maxPhi, maxPt_, trackingParticleSelector_cfi::minPhi, pi, secondIsoTauEt_, secondIsoTauEta_, secondIsoTauPhi_, secondTauEt_, secondTauEta_, secondTauPhi_, DQMStore::IBooker::setCurrentFolder(), HLTTauDQMPlotter::triggerTag(), and ~HLTTauDQML1Plotter().

42  {
43  if(!configValid_)
44  return;
45 
46  // The L1 phi plot is asymmetric around 0 because of the discrete nature of L1 phi
47  constexpr float pi = 3.1416f;
48  constexpr float phiShift = pi/18; // half of 2pi/18 bin
49  constexpr float minPhi = -pi+phiShift;
50  constexpr float maxPhi = pi+phiShift;
51 
52  constexpr int BUFMAX = 256;
53  char buffer[BUFMAX] = "";
54 
55  //Create the histograms
56  iBooker.setCurrentFolder(triggerTag());
57 
58  l1tauEt_ = iBooker.book1D("L1TauEt","L1 #tau E_{T};L1 #tau E_{T};entries",binsEt_,0,maxPt_);
59  l1tauEta_ = iBooker.book1D("L1TauEta","L1 #tau #eta;L1 #tau #eta;entries",binsEta_,-maxEta_,maxEta_);
60  l1tauPhi_ = iBooker.book1D("L1TauPhi","L1 #tau #phi;L1 #tau #phi;entries",binsPhi_,minPhi,maxPhi);
61 
62  l1isotauEt_ = iBooker.book1D("L1IsoTauEt","L1 isolated #tau E_{T};L1 #tau E_{T};entries",binsEt_,0,maxPt_);
63  l1isotauEta_ = iBooker.book1D("L1IsoTauEta","L1 isolated #tau #eta;L1 #tau #eta;entries",binsEta_,-maxEta_,maxEta_);
64  l1isotauPhi_ = iBooker.book1D("L1IsoTauPhi","L1 isolated #tau #phi;L1 #tau #phi;entries",binsPhi_,minPhi,maxPhi);
65 
66  l1etmEt_ = iBooker.book1D("L1ETM","L1 ETM E_{T};L1 ETM E_{T};entries",binsEt_,0,maxPt_);
67  l1etmPhi_ = iBooker.book1D("L1ETMPhi","L1 ETM #phi;L1 ETM #phi;entries",binsPhi_,minPhi,maxPhi);
68 
69  snprintf(buffer, BUFMAX, "L1 leading #tau E_{T};L1 #tau E_{T};entries");
70  firstTauEt_ = iBooker.book1D("L1LeadTauEt", buffer, binsEt_, 0, maxPt_);
71  snprintf(buffer, BUFMAX, "L1 leading #tau #eta;L1 #tau #eta;entries");
72  firstTauEta_ = iBooker.book1D("L1LeadTauEta", buffer, binsEta_, -maxEta_, maxEta_);
73  snprintf(buffer, BUFMAX, "L1 leading #tau #phi;L1 #tau #phi;entries");
74  firstTauPhi_ = iBooker.book1D("L1LeadTauPhi", buffer, binsPhi_, minPhi, maxPhi);
75 
76  snprintf(buffer, BUFMAX, "L1 second-leading #tau E_{T};L1 #tau E_{T};entries");
77  secondTauEt_ = iBooker.book1D("L1SecondTauEt", buffer, binsEt_, 0, maxPt_);
78  snprintf(buffer, BUFMAX, "L1 second-leading #tau #eta;L1 #tau #eta;entries");
79  secondTauEta_ = iBooker.book1D("L1SecondTauEta", buffer, binsEta_, -maxEta_, maxEta_);
80  snprintf(buffer, BUFMAX, "L1 second-leading #tau #phi;L1 #tau #phi;entries");
81  secondTauPhi_ = iBooker.book1D("L1SecondTauPhi", buffer, binsPhi_, minPhi, maxPhi);
82 
83  snprintf(buffer, BUFMAX, "L1 leading isolated #tau E_{T};L1 #tau E_{T};entries");
84  firstIsoTauEt_ = iBooker.book1D("L1LeadIsoTauEt", buffer, binsEt_, 0, maxPt_);
85  snprintf(buffer, BUFMAX, "L1 leading isolated #tau #eta;L1 #tau #eta;entries");
86  firstIsoTauEta_ = iBooker.book1D("L1LeadIsoTauEta", buffer, binsEta_, -maxEta_, maxEta_);
87  snprintf(buffer, BUFMAX, "L1 leading isolated #tau #phi;L1 #tau #phi;entries");
88  firstIsoTauPhi_ = iBooker.book1D("L1LeadIsoTauPhi", buffer, binsPhi_, minPhi, maxPhi);
89 
90  snprintf(buffer, BUFMAX, "L1 second-leading isolated #tau E_{T};L1 #tau E_{T};entries");
91  secondIsoTauEt_ = iBooker.book1D("L1SecondIsoTauEt", buffer, binsEt_, 0, maxPt_);
92  snprintf(buffer, BUFMAX, "L1 second-leading isolated #tau #eta;L1 #tau #eta;entries");
93  secondIsoTauEta_ = iBooker.book1D("L1SecondIsoTauEta", buffer, binsEta_, -maxEta_, maxEta_);
94  snprintf(buffer, BUFMAX, "L1 second-leading isolated #tau #phi;L1 #tau #phi;entries");
95  secondIsoTauPhi_ = iBooker.book1D("L1SecondIsoTauPhi", buffer, binsPhi_, minPhi, maxPhi);
96 
97  if (doRefAnalysis_) {
98  l1tauEtRes_ = iBooker.book1D("L1TauEtResol","L1 #tau E_{T} resolution;[L1 #tau E_{T}-Ref #tau E_{T}]/Ref #tau E_{T};entries",60,-1,4);
99  l1isotauEtRes_ = iBooker.book1D("L1IsoTauEtResol","L1 isolated #tau E_{T} resolution;[L1 #tau E_{T}-Ref #tau E_{T}]/Ref #tau E_{T};entries",60,-1,4);
100 
101  iBooker.setCurrentFolder(triggerTag()+"/helpers");
102 
103  l1tauEtEffNum_ = iBooker.book1D("L1TauEtEffNum","L1 #tau E_{T} Efficiency;Ref #tau E_{T};entries",binsEt_,0,maxPt_);
104  l1tauHighEtEffNum_ = iBooker.book1D("L1TauHighEtEffNum","L1 #tau E_{T} Efficiency (high E_{T});Ref #tau E_{T};entries",binsEt_,0,maxHighPt_);
105 
106  l1tauEtEffDenom_ = iBooker.book1D("L1TauEtEffDenom","L1 #tau E_{T} Denominator;Ref #tau E_{T};entries",binsEt_,0,maxPt_);
107  l1tauHighEtEffDenom_ = iBooker.book1D("L1TauHighEtEffDenom","L1 #tau E_{T} Denominator (high E_{T});Ref #tau E_{T};Efficiency",binsEt_,0,maxHighPt_);
108 
109  l1tauEtaEffNum_ = iBooker.book1D("L1TauEtaEffNum","L1 #tau #eta Efficiency;Ref #tau #eta;entries",binsEta_,-maxEta_,maxEta_);
110  l1tauEtaEffDenom_ = iBooker.book1D("L1TauEtaEffDenom","L1 #tau #eta Denominator;Ref #tau #eta;entries",binsEta_,-maxEta_,maxEta_);
111 
112  l1tauPhiEffNum_ = iBooker.book1D("L1TauPhiEffNum","L1 #tau #phi Efficiency;Ref #tau #phi;entries",binsPhi_,minPhi,maxPhi);
113  l1tauPhiEffDenom_ = iBooker.book1D("L1TauPhiEffDenom","L1 #tau #phi Denominator;Ref #tau #phi;Efficiency",binsPhi_,minPhi,maxPhi);
114 
115  l1isotauEtEffNum_ = iBooker.book1D("L1IsoTauEtEffNum","L1 isolated #tau E_{T} Efficiency;Ref #tau E_{T};entries",binsEt_,0,maxPt_);
116  l1isotauEtEffDenom_ = iBooker.book1D("L1IsoTauEtEffDenom","L1 isolated #tau E_{T} Denominator;Ref #tau E_{T};entries",binsEt_,0,maxPt_);
117 
118  l1isotauEtaEffNum_ = iBooker.book1D("L1IsoTauEtaEffNum","L1 isolated #tau #eta Efficiency;Ref #tau #eta;entries",binsEta_,-maxEta_,maxEta_);
119  l1isotauEtaEffDenom_ = iBooker.book1D("L1IsoTauEtaEffDenom","L1 isolated #tau #eta Denominator;Ref #tau #eta;entries",binsEta_,-maxEta_,maxEta_);
120 
121  l1isotauPhiEffNum_ = iBooker.book1D("L1IsoTauPhiEffNum","L1 isolated #tau #phi Efficiency;Ref #tau #phi;entries",binsPhi_,minPhi,maxPhi);
122  l1isotauPhiEffDenom_ = iBooker.book1D("L1IsoTauPhiEffDenom","L1 isolated #tau #phi Denominator;Ref #tau #phi;Efficiency",binsPhi_,minPhi,maxPhi);
123 
124  l1etmEtEffNum_ = iBooker.book1D("L1ETMEtEffNum", "L1 ETM Efficiency;Ref MET;entries",binsEt_, 0, maxPt_);
125  l1etmEtEffDenom_ = iBooker.book1D("L1ETMEtEffDenom","L1 ETM Denominator;Ref MET;entries",binsEt_,0,maxPt_);
126  }
127 }
MonitorElement * secondIsoTauPhi_
MonitorElement * l1isotauEtEffDenom_
MonitorElement * secondTauEta_
MonitorElement * l1isotauEta_
MonitorElement * firstTauPhi_
MonitorElement * l1etmEtEffNum_
MonitorElement * l1isotauPhiEffNum_
MonitorElement * l1isotauEt_
const std::string & triggerTag() const
MonitorElement * firstIsoTauPhi_
MonitorElement * secondIsoTauEt_
MonitorElement * firstTauEta_
#define constexpr
MonitorElement * l1tauEt_
MonitorElement * l1isotauEtaEffDenom_
MonitorElement * l1isotauPhiEffDenom_
MonitorElement * secondTauEt_
MonitorElement * l1tauEtEffDenom_
const Double_t pi
MonitorElement * secondIsoTauEta_
MonitorElement * l1tauEtaEffNum_
MonitorElement * firstTauEt_
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
MonitorElement * l1tauHighEtEffDenom_
MonitorElement * l1etmEt_
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:106
MonitorElement * l1tauEtEffNum_
MonitorElement * l1tauPhi_
MonitorElement * l1tauEta_
MonitorElement * l1isotauPhi_
MonitorElement * l1isotauEtaEffNum_
MonitorElement * secondTauPhi_
MonitorElement * l1tauPhiEffDenom_
MonitorElement * firstIsoTauEta_
MonitorElement * l1isotauEtEffNum_
MonitorElement * l1tauEtaEffDenom_
MonitorElement * l1tauEtRes_
MonitorElement * l1isotauEtRes_
MonitorElement * l1etmEtEffDenom_
MonitorElement * l1etmPhi_
MonitorElement * firstIsoTauEt_
MonitorElement * l1tauPhiEffNum_
MonitorElement * l1tauHighEtEffNum_

Member Data Documentation

const int HLTTauDQML1Plotter::binsEt_
private

Definition at line 38 of file HLTTauDQML1Plotter.h.

Referenced by bookHistograms().

const int HLTTauDQML1Plotter::binsEta_
private

Definition at line 39 of file HLTTauDQML1Plotter.h.

Referenced by bookHistograms().

const int HLTTauDQML1Plotter::binsPhi_
private

Definition at line 40 of file HLTTauDQML1Plotter.h.

Referenced by bookHistograms().

const bool HLTTauDQML1Plotter::doRefAnalysis_
private

Definition at line 31 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::firstIsoTauEt_
private

Definition at line 108 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::firstIsoTauEta_
private

Definition at line 109 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::firstIsoTauPhi_
private

Definition at line 110 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::firstTauEt_
private

Definition at line 100 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::firstTauEta_
private

Definition at line 101 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::firstTauPhi_
private

Definition at line 102 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1etmEt_
private

Definition at line 56 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1etmEtEffDenom_
private

Definition at line 117 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1etmEtEffNum_
private

Definition at line 116 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

double HLTTauDQML1Plotter::l1ETMMin_
private

Definition at line 34 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and HLTTauDQML1Plotter().

MonitorElement* HLTTauDQML1Plotter::l1etmPhi_
private

Definition at line 57 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1isotauEt_
private

Definition at line 48 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1isotauEta_
private

Definition at line 49 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1isotauEtaEffDenom_
private

Definition at line 83 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1isotauEtaEffNum_
private

Definition at line 82 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1isotauEtEffDenom_
private

Definition at line 77 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1isotauEtEffNum_
private

Definition at line 76 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1isotauEtRes_
private

Definition at line 61 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1isotauHighEtEffDenom_
private

Definition at line 80 of file HLTTauDQML1Plotter.h.

MonitorElement* HLTTauDQML1Plotter::l1isotauHighEtEffNum_
private

Definition at line 79 of file HLTTauDQML1Plotter.h.

MonitorElement* HLTTauDQML1Plotter::l1isotauPhi_
private

Definition at line 50 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1isotauPhiEffDenom_
private

Definition at line 86 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1isotauPhiEffNum_
private

Definition at line 85 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1jetEt_
private

Definition at line 52 of file HLTTauDQML1Plotter.h.

MonitorElement* HLTTauDQML1Plotter::l1jetEta_
private

Definition at line 53 of file HLTTauDQML1Plotter.h.

MonitorElement* HLTTauDQML1Plotter::l1jetEtaEffDenom_
private

Definition at line 95 of file HLTTauDQML1Plotter.h.

MonitorElement* HLTTauDQML1Plotter::l1jetEtaEffNum_
private

Definition at line 94 of file HLTTauDQML1Plotter.h.

MonitorElement* HLTTauDQML1Plotter::l1jetEtEffDenom_
private

Definition at line 89 of file HLTTauDQML1Plotter.h.

MonitorElement* HLTTauDQML1Plotter::l1jetEtEffNum_
private

Definition at line 88 of file HLTTauDQML1Plotter.h.

MonitorElement* HLTTauDQML1Plotter::l1jetEtRes_
private

Definition at line 62 of file HLTTauDQML1Plotter.h.

MonitorElement* HLTTauDQML1Plotter::l1jetHighEtEffDenom_
private

Definition at line 92 of file HLTTauDQML1Plotter.h.

MonitorElement* HLTTauDQML1Plotter::l1jetHighEtEffNum_
private

Definition at line 91 of file HLTTauDQML1Plotter.h.

double HLTTauDQML1Plotter::l1JetMinEt_
private

Definition at line 33 of file HLTTauDQML1Plotter.h.

MonitorElement* HLTTauDQML1Plotter::l1jetPhi_
private

Definition at line 54 of file HLTTauDQML1Plotter.h.

MonitorElement* HLTTauDQML1Plotter::l1jetPhiEffDenom_
private

Definition at line 98 of file HLTTauDQML1Plotter.h.

MonitorElement* HLTTauDQML1Plotter::l1jetPhiEffNum_
private

Definition at line 97 of file HLTTauDQML1Plotter.h.

edm::InputTag HLTTauDQML1Plotter::l1stage2Sums_
private

Definition at line 28 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and HLTTauDQML1Plotter().

edm::EDGetTokenT<l1t::EtSumBxCollection> HLTTauDQML1Plotter::l1stage2SumsToken_
private

Definition at line 29 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and HLTTauDQML1Plotter().

edm::InputTag HLTTauDQML1Plotter::l1stage2Taus_
private

Definition at line 26 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and HLTTauDQML1Plotter().

edm::EDGetTokenT<l1t::TauBxCollection> HLTTauDQML1Plotter::l1stage2TausToken_
private

Definition at line 27 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and HLTTauDQML1Plotter().

MonitorElement* HLTTauDQML1Plotter::l1tauEt_
private

Definition at line 44 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1tauEta_
private

Definition at line 45 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1tauEtaEffDenom_
private

Definition at line 71 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1tauEtaEffNum_
private

Definition at line 70 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1tauEtEffDenom_
private

Definition at line 65 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1tauEtEffNum_
private

Definition at line 64 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1tauEtRes_
private

Definition at line 60 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1tauHighEtEffDenom_
private

Definition at line 68 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1tauHighEtEffNum_
private

Definition at line 67 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1tauPhi_
private

Definition at line 46 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1tauPhiEffDenom_
private

Definition at line 74 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::l1tauPhiEffNum_
private

Definition at line 73 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

const double HLTTauDQML1Plotter::matchDeltaR_
private

Definition at line 32 of file HLTTauDQML1Plotter.h.

Referenced by analyze().

const double HLTTauDQML1Plotter::maxEta_
private

Definition at line 41 of file HLTTauDQML1Plotter.h.

Referenced by bookHistograms().

const double HLTTauDQML1Plotter::maxHighPt_
private

Definition at line 37 of file HLTTauDQML1Plotter.h.

Referenced by bookHistograms().

const double HLTTauDQML1Plotter::maxPt_
private

Definition at line 36 of file HLTTauDQML1Plotter.h.

Referenced by bookHistograms().

MonitorElement* HLTTauDQML1Plotter::secondIsoTauEt_
private

Definition at line 112 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::secondIsoTauEta_
private

Definition at line 113 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::secondIsoTauPhi_
private

Definition at line 114 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::secondTauEt_
private

Definition at line 104 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::secondTauEta_
private

Definition at line 105 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* HLTTauDQML1Plotter::secondTauPhi_
private

Definition at line 106 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and bookHistograms().