CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 beginRun ()
 
 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_
 
MonitorElementfirstTauEt_
 
MonitorElementfirstTauEta_
 
MonitorElementfirstTauPhi_
 
edm::InputTag l1ExtraJets_
 
edm::EDGetTokenT
< l1extra::L1JetParticleCollection
l1ExtraJetsToken_
 
edm::InputTag l1ExtraTaus_
 
edm::EDGetTokenT
< l1extra::L1JetParticleCollection
l1ExtraTausToken_
 
MonitorElementl1jetEt_
 
MonitorElementl1jetEta_
 
MonitorElementl1jetEtaEffDenom_
 
MonitorElementl1jetEtaEffNum_
 
MonitorElementl1jetEtEffDenom_
 
MonitorElementl1jetEtEffNum_
 
MonitorElementl1jetEtRes_
 
MonitorElementl1jetHighEtEffDenom_
 
MonitorElementl1jetHighEtEffNum_
 
double l1JetMinEt_
 
MonitorElementl1jetPhi_
 
MonitorElementl1jetPhiEffDenom_
 
MonitorElementl1jetPhiEffNum_
 
MonitorElementl1tauEt_
 
MonitorElementl1tauEta_
 
MonitorElementl1tauEtaEffDenom_
 
MonitorElementl1tauEtaEffNum_
 
MonitorElementl1tauEtEffDenom_
 
MonitorElementl1tauEtEffNum_
 
MonitorElementl1tauEtRes_
 
MonitorElementl1tauHighEtEffDenom_
 
MonitorElementl1tauHighEtEffNum_
 
MonitorElementl1tauPhi_
 
MonitorElementl1tauPhiEffDenom_
 
MonitorElementl1tauPhiEffNum_
 
const double matchDeltaR_
 
const double maxEta_
 
const double maxHighPt_
 
const double maxPt_
 
MonitorElementsecondTauEt_
 
MonitorElementsecondTauEta_
 
MonitorElementsecondTauPhi_
 
- Private Attributes inherited from HLTTauDQMPlotter
bool configValid_
 
std::string dqmFolder_
 
std::string dqmFullFolder_
 
bool runValid_
 

Additional Inherited Members

- Private Member Functions inherited from HLTTauDQMPlotter
 HLTTauDQMPlotter (const edm::ParameterSet &pset, 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_, alignCSCRings::e, edm::ParameterSet::getUntrackedParameter(), l1ExtraJets_, l1ExtraJetsToken_, l1ExtraTaus_, l1ExtraTausToken_, l1JetMinEt_, and cms::Exception::what().

17  :
18  HLTTauDQMPlotter(ps, dqmBaseFolder),
19  doRefAnalysis_(ref),
20  matchDeltaR_(dr),
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
32  try {
37  l1JetMinEt_ = ps.getUntrackedParameter<double>("L1JetMinEt");
38  } catch ( cms::Exception &e ) {
39  edm::LogWarning("HLTTauDQMOffline") << "HLTTauDQML1Plotter::HLTTauDQML1Plotter: " << e.what();
40  configValid_ = false;
41  return;
42  }
43  configValid_ = true;
44 }
virtual char const * what() const
Definition: Exception.cc:141
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getUntrackedParameter(std::string const &, T const &) const
const double matchDeltaR_
edm::EDGetTokenT< l1extra::L1JetParticleCollection > l1ExtraJetsToken_
std::vector< L1JetParticle > L1JetParticleCollection
edm::EDGetTokenT< l1extra::L1JetParticleCollection > l1ExtraTausToken_
edm::InputTag l1ExtraTaus_
edm::InputTag l1ExtraJets_
HLTTauDQMPlotter(const edm::ParameterSet &pset, const std::string &dqmBaseFolder)
HLTTauDQML1Plotter::~HLTTauDQML1Plotter ( )

Definition at line 153 of file HLTTauDQML1Plotter.cc.

153  {
154 }

Member Function Documentation

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

Definition at line 160 of file HLTTauDQML1Plotter.cc.

References a, b, doRefAnalysis_, edm::InputTag::encode(), eta(), MonitorElement::Fill(), firstTauEt_, firstTauEta_, firstTauPhi_, edm::Event::getByToken(), i, edm::HandleBase::isValid(), fwrapper::jets, l1ExtraJets_, l1ExtraJetsToken_, l1ExtraTaus_, l1ExtraTausToken_, l1jetEt_, l1jetEta_, l1jetEtaEffDenom_, l1jetEtaEffNum_, l1jetEtEffDenom_, l1jetEtEffNum_, l1jetEtRes_, l1jetHighEtEffDenom_, l1jetHighEtEffNum_, l1JetMinEt_, l1jetPhi_, l1jetPhiEffDenom_, l1jetPhiEffNum_, l1tauEt_, l1tauEta_, l1tauEtaEffDenom_, l1tauEtaEffNum_, l1tauEtEffDenom_, l1tauEtEffNum_, l1tauEtRes_, l1tauHighEtEffDenom_, l1tauHighEtEffNum_, l1tauPhi_, l1tauPhiEffDenom_, l1tauPhiEffNum_, m, HLTTauDQMPlotter::match(), matchDeltaR_, phi, RecoTauCleanerPlugins::pt, secondTauEt_, secondTauEta_, secondTauPhi_, python.multivaluedict::sort(), and HLTTauDQMOfflineObjects::taus.

160  {
161  if ( doRefAnalysis_ ) {
162  //Tau reference
163  for ( LVColl::const_iterator iter = refC.taus.begin(); iter != refC.taus.end(); ++iter ) {
164  l1tauEtEffDenom_->Fill(iter->pt());
165  l1jetEtEffDenom_->Fill(iter->pt());
166  l1tauHighEtEffDenom_->Fill(iter->pt());
167  l1jetHighEtEffDenom_->Fill(iter->pt());
168 
169  l1tauEtaEffDenom_->Fill(iter->eta());
170  l1jetEtaEffDenom_->Fill(iter->eta());
171 
172  l1tauPhiEffDenom_->Fill(iter->phi());
173  l1jetPhiEffDenom_->Fill(iter->phi());
174  }
175  }
176 
177  //Analyze L1 Objects (Tau+Jets)
180  iEvent.getByToken(l1ExtraTausToken_, taus);
181  iEvent.getByToken(l1ExtraJetsToken_, jets);
182 
183  LVColl pathTaus;
184 
185  //Set Variables for the threshold plot
186  LVColl l1taus;
187  LVColl l1jets;
188 
189  if(taus.isValid()) {
190  for(l1extra::L1JetParticleCollection::const_iterator i = taus->begin(); i != taus->end(); ++i) {
191  l1taus.push_back(i->p4());
192  if(!doRefAnalysis_) {
193  l1tauEt_->Fill(i->et());
194  l1tauEta_->Fill(i->eta());
195  l1tauPhi_->Fill(i->phi());
196  pathTaus.push_back(i->p4());
197  }
198  }
199  }
200  else {
201  edm::LogWarning("HLTTauDQMOffline") << "HLTTauDQML1Plotter::analyze: unable to read L1 tau collection " << l1ExtraTaus_.encode();
202  }
203 
204  if(jets.isValid()) {
205  for(l1extra::L1JetParticleCollection::const_iterator i = jets->begin(); i != jets->end(); ++i) {
206  l1jets.push_back(i->p4());
207  if(!doRefAnalysis_) {
208  l1jetEt_->Fill(i->et());
209  if(i->et() >= l1JetMinEt_) {
210  l1jetEta_->Fill(i->eta());
211  l1jetPhi_->Fill(i->phi());
212  pathTaus.push_back(i->p4());
213  }
214  }
215  }
216  }
217  else {
218  edm::LogWarning("HLTTauDQMOffline") << "HLTTauDQML1Plotter::analyze: unable to read L1 jet collection " << l1ExtraJets_.encode();
219  }
220 
221  //Now do the efficiency matching
222  if ( doRefAnalysis_ ) {
223  for ( LVColl::const_iterator i = refC.taus.begin(); i != refC.taus.end(); ++i ) {
224  std::pair<bool,LV> m = match(*i,l1taus,matchDeltaR_);
225  if ( m.first ) {
226  l1tauEt_->Fill(m.second.pt());
227  l1tauEta_->Fill(m.second.eta());
228  l1tauPhi_->Fill(m.second.phi());
229 
230  l1tauEtEffNum_->Fill(i->pt());
231  l1tauHighEtEffNum_->Fill(i->pt());
232  l1tauEtaEffNum_->Fill(i->eta());
233  l1tauPhiEffNum_->Fill(i->phi());
234 
235  l1tauEtRes_->Fill((m.second.pt()-i->pt())/i->pt());
236 
237  pathTaus.push_back(m.second);
238  }
239  }
240 
241  for ( LVColl::const_iterator i = refC.taus.begin(); i != refC.taus.end(); ++i ) {
242  std::pair<bool,LV> m = match(*i,l1jets,matchDeltaR_);
243  if ( m.first ) {
244  l1jetEt_->Fill(m.second.pt());
245  if(m.second.pt() >= l1JetMinEt_) {
246  l1jetEta_->Fill(m.second.eta());
247  l1jetPhi_->Fill(m.second.phi());
248 
249  l1jetEtEffNum_->Fill(i->pt());
250  l1jetHighEtEffNum_->Fill(i->pt());
251  l1jetEtaEffNum_->Fill(i->eta());
252  l1jetPhiEffNum_->Fill(i->phi());
253 
254  l1jetEtRes_->Fill((m.second.pt()-i->pt())/i->pt());
255 
256  pathTaus.push_back(m.second);
257  }
258  }
259  }
260  }
261 
262 
263  //Fill the Threshold Monitoring
264  if(pathTaus.size() > 1) std::sort(pathTaus.begin(), pathTaus.end(), [](const LV& a, const LV& b) { return a.pt() > b.pt(); });
265 
266  if ( pathTaus.size() > 0 ) {
267  firstTauEt_->Fill(pathTaus[0].pt());
268  firstTauEta_->Fill(pathTaus[0].eta());
269  firstTauPhi_->Fill(pathTaus[0].phi());
270  }
271  if ( pathTaus.size() > 1 ) {
272  secondTauEt_->Fill(pathTaus[1].pt());
273  secondTauEta_->Fill(pathTaus[1].eta());
274  secondTauPhi_->Fill(pathTaus[1].phi());
275  }
276 }
int i
Definition: DBlmapReader.cc:9
const double matchDeltaR_
MonitorElement * l1jetEta_
edm::EDGetTokenT< l1extra::L1JetParticleCollection > l1ExtraJetsToken_
MonitorElement * secondTauEta_
std::vector< LV > taus
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:434
MonitorElement * firstTauPhi_
MonitorElement * l1jetEtEffNum_
MonitorElement * l1jetPhiEffDenom_
MonitorElement * l1jetHighEtEffDenom_
MonitorElement * l1jetEtaEffNum_
MonitorElement * l1jetHighEtEffNum_
T eta() const
edm::EDGetTokenT< l1extra::L1JetParticleCollection > l1ExtraTausToken_
MonitorElement * firstTauEta_
std::string encode() const
Definition: InputTag.cc:164
MonitorElement * l1tauEt_
MonitorElement * secondTauEt_
MonitorElement * l1tauEtEffDenom_
void Fill(long long x)
MonitorElement * l1jetEtRes_
MonitorElement * l1jetPhiEffNum_
math::XYZTLorentzVectorD LV
MonitorElement * l1tauEtaEffNum_
MonitorElement * firstTauEt_
MonitorElement * l1tauHighEtEffDenom_
std::vector< LV > LVColl
vector< PseudoJet > jets
MonitorElement * l1jetEtEffDenom_
MonitorElement * l1tauEtEffNum_
MonitorElement * l1tauPhi_
edm::InputTag l1ExtraTaus_
bool isValid() const
Definition: HandleBase.h:76
MonitorElement * l1tauEta_
MonitorElement * secondTauPhi_
MonitorElement * l1tauPhiEffDenom_
double b
Definition: hdecay.h:120
edm::InputTag l1ExtraJets_
MonitorElement * l1tauEtaEffDenom_
MonitorElement * l1tauEtRes_
MonitorElement * l1jetPhi_
double a
Definition: hdecay.h:121
MonitorElement * l1jetEt_
MonitorElement * l1jetEtaEffDenom_
std::pair< bool, LV > match(const LV &, const LVColl &, double)
MonitorElement * l1tauPhiEffNum_
MonitorElement * l1tauHighEtEffNum_
Definition: DDAxes.h:10
void HLTTauDQML1Plotter::beginRun ( void  )

Definition at line 46 of file HLTTauDQML1Plotter.cc.

References binsEt_, binsEta_, binsPhi_, DQMStore::book1D(), HLTTauDQMPlotter::configValid_, constexpr, doRefAnalysis_, firstTauEt_, firstTauEta_, firstTauPhi_, MonitorElement::getTH1F(), edm::Service< T >::isAvailable(), l1jetEt_, l1jetEta_, l1jetEtaEffDenom_, l1jetEtaEffNum_, l1jetEtEffDenom_, l1jetEtEffNum_, l1jetEtRes_, l1jetHighEtEffDenom_, l1jetHighEtEffNum_, l1JetMinEt_, l1jetPhi_, l1jetPhiEffDenom_, l1jetPhiEffNum_, l1tauEt_, l1tauEta_, l1tauEtaEffDenom_, l1tauEtaEffNum_, l1tauEtEffDenom_, l1tauEtEffNum_, l1tauEtRes_, l1tauHighEtEffDenom_, l1tauHighEtEffNum_, l1tauPhi_, l1tauPhiEffDenom_, l1tauPhiEffNum_, maxEta_, maxHighPt_, maxPt_, pi, DQMStore::removeContents(), HLTTauDQMPlotter::runValid_, secondTauEt_, secondTauEta_, secondTauPhi_, DQMStore::setCurrentFolder(), and HLTTauDQMPlotter::triggerTag().

46  {
47  if(!configValid_)
48  return;
49 
51  if (store.isAvailable()) {
52  // The L1 phi plot is asymmetric around 0 because of the discrete nature of L1 phi
53  constexpr float pi = 3.1416f;
54  constexpr float phiShift = pi/18; // half of 2pi/18 bin
55  constexpr float minPhi = -pi+phiShift;
56  constexpr float maxPhi = pi+phiShift;
57 
58  constexpr int BUFMAX = 256;
59  char buffer[BUFMAX] = "";
60 
61  //Create the histograms
62  store->setCurrentFolder(triggerTag());
63  store->removeContents();
64 
65  l1tauEt_ = store->book1D("L1TauEt","L1 #tau E_{T};L1 #tau E_{T};entries",binsEt_,0,maxPt_);
66  l1tauEta_ = store->book1D("L1TauEta","L1 #tau #eta;L1 #tau #eta;entries",binsEta_,-maxEta_,maxEta_);
67  l1tauPhi_ = store->book1D("L1TauPhi","L1 #tau #phi;L1 #tau #phi;entries",binsPhi_,minPhi,maxPhi);
68 
69  l1jetEt_ = store->book1D("L1JetEt","L1 central jet E_{T};L1 jet E_{T};entries",binsEt_,0,maxPt_);
70  snprintf(buffer, BUFMAX, "L1 central jet #eta (E_{T} > %.1f);L1 jet #eta;entries", l1JetMinEt_);
71  l1jetEta_ = store->book1D("L1JetEta", buffer, binsEta_, -maxEta_, maxEta_);
72  snprintf(buffer, BUFMAX, "L1 central jet #phi (E_{T} > %.1f);L1 jet #phi;entries", l1JetMinEt_);
73  l1jetPhi_ = store->book1D("L1JetPhi", buffer, binsPhi_, minPhi, maxPhi);
74 
75  snprintf(buffer, BUFMAX, "L1 leading (#tau OR central jet E_{T} > %.1f) E_{T};L1 (#tau or central jet) E_{T};entries", l1JetMinEt_);
76  firstTauEt_ = store->book1D("L1LeadTauEt", buffer, binsEt_, 0, maxPt_);
77  snprintf(buffer, BUFMAX, "L1 leading (#tau OR central jet E_{T} > %.1f) #eta;L1 (#tau or central jet) #eta;entries", l1JetMinEt_);
78  firstTauEta_ = store->book1D("L1LeadTauEta", buffer, binsEta_, -maxEta_, maxEta_);
79  snprintf(buffer, BUFMAX, "L1 leading (#tau OR central jet E_{T} > %.1f) #phi;L1 (#tau or central jet) #phi;entries", l1JetMinEt_);
80  firstTauPhi_ = store->book1D("L1LeadTauPhi", buffer, binsPhi_, minPhi, maxPhi);
81 
82  snprintf(buffer, BUFMAX, "L1 second-leading (#tau OR central jet E_{T} > %.1f) E_{T};L1 (#tau or central jet) E_{T};entries", l1JetMinEt_);
83  secondTauEt_ = store->book1D("L1SecondTauEt", buffer, binsEt_, 0, maxPt_);
84  snprintf(buffer, BUFMAX, "L1 second-leading (#tau OR central jet E_{T} > %.1f) #eta;L1 (#tau or central jet) #eta;entries", l1JetMinEt_);
85  secondTauEta_ = store->book1D("L1SecondTauEta", buffer, binsEta_, -maxEta_, maxEta_);
86  snprintf(buffer, BUFMAX, "L1 second-leading (#tau OR central jet E_{T} > %.1f) #phi;L1 (#tau or central jet) #phi;entries", l1JetMinEt_);
87  secondTauPhi_ = store->book1D("L1SecondTauPhi", buffer, binsPhi_, minPhi, maxPhi);
88 
89  if (doRefAnalysis_) {
90  l1tauEtRes_ = store->book1D("L1TauEtResol","L1 #tau E_{T} resolution;[L1 #tau E_{T}-Ref #tau E_{T}]/Ref #tau E_{T};entries",60,-1,4);
91  snprintf(buffer, BUFMAX, "L1 central jet E_{T} resolution (E_{T} > %.1f);[L1 jet E_{T}-Ref #tau E_{T}]/Ref #tau E_{T};entries", l1JetMinEt_);
92  l1jetEtRes_ = store->book1D("L1JetEtResol", buffer, 60, -1, 4);
93 
94  store->setCurrentFolder(triggerTag()+"/EfficiencyHelpers");
95  store->removeContents();
96 
97  l1tauEtEffNum_ = store->book1D("L1TauEtEffNum","L1 #tau E_{T} Efficiency;Ref #tau E_{T};entries",binsEt_,0,maxPt_);
98  l1tauEtEffNum_->getTH1F()->Sumw2();
99  l1tauHighEtEffNum_ = store->book1D("L1TauHighEtEffNum","L1 #tau E_{T} Efficiency (high E_{T});Ref #tau E_{T};entries",binsEt_,0,maxHighPt_);
100  l1tauHighEtEffNum_->getTH1F()->Sumw2();
101 
102  l1tauEtEffDenom_ = store->book1D("L1TauEtEffDenom","L1 #tau E_{T} Denominator;Ref #tau E_{T};entries",binsEt_,0,maxPt_);
103  l1tauEtEffDenom_->getTH1F()->Sumw2();
104  l1tauHighEtEffDenom_ = store->book1D("L1TauHighEtEffDenom","L1 #tau E_{T} Denominator (high E_{T});Ref #tau E_{T};entries",binsEt_,0,maxHighPt_);
105  l1tauHighEtEffDenom_->getTH1F()->Sumw2();
106 
107  l1tauEtaEffNum_ = store->book1D("L1TauEtaEffNum","L1 #tau #eta Efficiency;Ref #tau #eta;entries",binsEta_,-maxEta_,maxEta_);
108  l1tauEtaEffNum_->getTH1F()->Sumw2();
109 
110  l1tauEtaEffDenom_ = store->book1D("L1TauEtaEffDenom","L1 #tau #eta Denominator;Ref #tau #eta;entries",binsEta_,-maxEta_,maxEta_);
111  l1tauEtaEffDenom_->getTH1F()->Sumw2();
112 
113  l1tauPhiEffNum_ = store->book1D("L1TauPhiEffNum","L1 #tau #phi Efficiency;Ref #tau #phi;entries",binsPhi_,minPhi,maxPhi);
114  l1tauPhiEffNum_->getTH1F()->Sumw2();
115 
116  l1tauPhiEffDenom_ = store->book1D("L1TauPhiEffDenom","L1 #tau #phi Denominator;Ref #tau #phi;entries",binsPhi_,minPhi,maxPhi);
117  l1tauPhiEffDenom_->getTH1F()->Sumw2();
118 
119  l1jetEtEffNum_ = store->book1D("L1JetEtEffNum","L1 central jet E_{T} Efficiency;Ref #tau E_{T};entries",binsEt_,0,maxPt_);
120  l1jetEtEffNum_->getTH1F()->Sumw2();
121  l1jetHighEtEffNum_ = store->book1D("L1JetHighEtEffNum","L1 central jet E_{T} Efficiency (high E_{T});Ref #tau E_{T};entries",binsEt_,0,maxHighPt_);
122  l1jetHighEtEffNum_->getTH1F()->Sumw2();
123 
124  l1jetEtEffDenom_ = store->book1D("L1JetEtEffDenom","L1 central jet E_{T} Denominator;Ref #tau E_{T};entries",binsEt_,0,maxPt_);
125  l1jetEtEffDenom_->getTH1F()->Sumw2();
126  l1jetHighEtEffDenom_ = store->book1D("L1JetHighEtEffDenom","L1 central jet E_{T} Denominator (high E_{T});Ref #tau E_{T};entries",binsEt_,0,maxHighPt_);
127  l1jetHighEtEffDenom_->getTH1F()->Sumw2();
128 
129  snprintf(buffer, BUFMAX, "L1 central jet #eta Efficiency (E_{T} > %.1f);Ref #tau #eta;entries", l1JetMinEt_);
130  l1jetEtaEffNum_ = store->book1D("L1JetEtaEffNum", buffer, binsEta_, -maxEta_, maxEta_);
131  l1jetEtaEffNum_->getTH1F()->Sumw2();
132 
133  snprintf(buffer, BUFMAX, "L1 central jet #eta Denominator (E_{T} > %.1f);Ref #tau #eta;entries", l1JetMinEt_);
134  l1jetEtaEffDenom_ = store->book1D("L1JetEtaEffDenom", buffer, binsEta_, -maxEta_, maxEta_);
135  l1jetEtaEffDenom_->getTH1F()->Sumw2();
136 
137  snprintf(buffer, BUFMAX, "L1 central jet #phi Efficiency (E_{T} > %.1f);Ref #tau #eta;entries", l1JetMinEt_);
138  l1jetPhiEffNum_ = store->book1D("L1JetPhiEffNum", buffer, binsPhi_, minPhi, maxPhi);
139  l1jetPhiEffNum_->getTH1F()->Sumw2();
140 
141  snprintf(buffer, BUFMAX, "L1 central jet #phi Efficiency (E_{T} > %.1f);Ref #tau #eta;entries", l1JetMinEt_);
142  l1jetPhiEffDenom_ = store->book1D("L1JetPhiEffDenom", buffer, binsPhi_, minPhi, maxPhi);
143  l1jetPhiEffDenom_->getTH1F()->Sumw2();
144  }
145  runValid_ = true;
146  }
147  else {
148  runValid_ = false;
149  }
150 }
MonitorElement * l1jetEta_
MonitorElement * secondTauEta_
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:872
MonitorElement * firstTauPhi_
MonitorElement * l1jetEtEffNum_
MonitorElement * l1jetPhiEffDenom_
MonitorElement * l1jetHighEtEffDenom_
MonitorElement * l1jetEtaEffNum_
MonitorElement * l1jetHighEtEffNum_
const std::string & triggerTag() const
MonitorElement * firstTauEta_
MonitorElement * l1tauEt_
MonitorElement * secondTauEt_
MonitorElement * l1tauEtEffDenom_
MonitorElement * l1jetEtRes_
MonitorElement * l1jetPhiEffNum_
MonitorElement * l1tauEtaEffNum_
void removeContents(void)
erase all monitoring elements in current directory (not including subfolders);
Definition: DQMStore.cc:2764
MonitorElement * firstTauEt_
MonitorElement * l1tauHighEtEffDenom_
MonitorElement * l1jetEtEffDenom_
bool isAvailable() const
Definition: Service.h:46
MonitorElement * l1tauEtEffNum_
MonitorElement * l1tauPhi_
MonitorElement * l1tauEta_
MonitorElement * secondTauPhi_
MonitorElement * l1tauPhiEffDenom_
TH1F * getTH1F(void) const
MonitorElement * l1tauEtaEffDenom_
MonitorElement * l1tauEtRes_
MonitorElement * l1jetPhi_
MonitorElement * l1jetEt_
MonitorElement * l1jetEtaEffDenom_
double pi
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:584
MonitorElement * l1tauPhiEffNum_
#define constexpr
MonitorElement * l1tauHighEtEffNum_

Member Data Documentation

const int HLTTauDQML1Plotter::binsEt_
private

Definition at line 37 of file HLTTauDQML1Plotter.h.

Referenced by beginRun().

const int HLTTauDQML1Plotter::binsEta_
private

Definition at line 38 of file HLTTauDQML1Plotter.h.

Referenced by beginRun().

const int HLTTauDQML1Plotter::binsPhi_
private

Definition at line 39 of file HLTTauDQML1Plotter.h.

Referenced by beginRun().

const bool HLTTauDQML1Plotter::doRefAnalysis_
private

Definition at line 31 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::firstTauEt_
private

Definition at line 79 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::firstTauEta_
private

Definition at line 80 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::firstTauPhi_
private

Definition at line 81 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

edm::InputTag HLTTauDQML1Plotter::l1ExtraJets_
private

Definition at line 28 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and HLTTauDQML1Plotter().

edm::EDGetTokenT<l1extra::L1JetParticleCollection> HLTTauDQML1Plotter::l1ExtraJetsToken_
private

Definition at line 29 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and HLTTauDQML1Plotter().

edm::InputTag HLTTauDQML1Plotter::l1ExtraTaus_
private

Definition at line 26 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and HLTTauDQML1Plotter().

edm::EDGetTokenT<l1extra::L1JetParticleCollection> HLTTauDQML1Plotter::l1ExtraTausToken_
private

Definition at line 27 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and HLTTauDQML1Plotter().

MonitorElement* HLTTauDQML1Plotter::l1jetEt_
private

Definition at line 47 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1jetEta_
private

Definition at line 48 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1jetEtaEffDenom_
private

Definition at line 74 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1jetEtaEffNum_
private

Definition at line 73 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1jetEtEffDenom_
private

Definition at line 68 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1jetEtEffNum_
private

Definition at line 67 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1jetEtRes_
private

Definition at line 53 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1jetHighEtEffDenom_
private

Definition at line 71 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1jetHighEtEffNum_
private

Definition at line 70 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

double HLTTauDQML1Plotter::l1JetMinEt_
private

Definition at line 33 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), beginRun(), and HLTTauDQML1Plotter().

MonitorElement* HLTTauDQML1Plotter::l1jetPhi_
private

Definition at line 49 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1jetPhiEffDenom_
private

Definition at line 77 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1jetPhiEffNum_
private

Definition at line 76 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1tauEt_
private

Definition at line 43 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1tauEta_
private

Definition at line 44 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1tauEtaEffDenom_
private

Definition at line 62 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1tauEtaEffNum_
private

Definition at line 61 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1tauEtEffDenom_
private

Definition at line 56 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1tauEtEffNum_
private

Definition at line 55 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1tauEtRes_
private

Definition at line 52 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1tauHighEtEffDenom_
private

Definition at line 59 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1tauHighEtEffNum_
private

Definition at line 58 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1tauPhi_
private

Definition at line 45 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1tauPhiEffDenom_
private

Definition at line 65 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::l1tauPhiEffNum_
private

Definition at line 64 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

const double HLTTauDQML1Plotter::matchDeltaR_
private

Definition at line 32 of file HLTTauDQML1Plotter.h.

Referenced by analyze().

const double HLTTauDQML1Plotter::maxEta_
private

Definition at line 40 of file HLTTauDQML1Plotter.h.

Referenced by beginRun().

const double HLTTauDQML1Plotter::maxHighPt_
private

Definition at line 36 of file HLTTauDQML1Plotter.h.

Referenced by beginRun().

const double HLTTauDQML1Plotter::maxPt_
private

Definition at line 35 of file HLTTauDQML1Plotter.h.

Referenced by beginRun().

MonitorElement* HLTTauDQML1Plotter::secondTauEt_
private

Definition at line 83 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::secondTauEta_
private

Definition at line 84 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTTauDQML1Plotter::secondTauPhi_
private

Definition at line 85 of file HLTTauDQML1Plotter.h.

Referenced by analyze(), and beginRun().