|
|
#include <L1TTauOffline.h>
|
void | analyze (edm::Event const &e, edm::EventSetup const &eSetup) override |
|
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
|
void | dqmBeginRun (const edm::Run &run, const edm::EventSetup &iSetup) override |
|
const reco::Vertex | getPrimaryVertex (edm::Handle< reco::VertexCollection > const &vertex, edm::Handle< reco::BeamSpot > const &beamSpot) |
|
void | getProbeTaus (const edm::Event &e, edm::Handle< reco::PFTauCollection > const &taus, edm::Handle< reco::MuonCollection > const &muons, const reco::Vertex &vertex) |
|
void | getTauL1tPairs (edm::Handle< l1t::TauBxCollection > const &l1tCands) |
|
void | getTightMuons (edm::Handle< reco::MuonCollection > const &muons, edm::Handle< reco::PFMETCollection > const &mets, const reco::Vertex &vertex, edm::Handle< trigger::TriggerEvent > const &trigEvent) |
|
bool | matchHlt (edm::Handle< trigger::TriggerEvent > const &triggerEvent, const reco::Muon *muon) |
|
uint64_t | meId () const |
|
|
edm::EDGetTokenT< reco::TauDiscriminatorContainer > | AntiEleInputTag_ |
|
std::string | AntiEleWP_ |
|
int | AntiEleWPIndex_ |
|
edm::EDGetTokenT< reco::TauDiscriminatorContainer > | AntiMuInputTag_ |
|
std::string | AntiMuWP_ |
|
int | AntiMuWPIndex_ |
|
edm::EDGetTokenT< reco::BeamSpot > | BsInputTag_ |
|
edm::EDGetTokenT< reco::TauDiscriminatorContainer > | comb3TInputTag_ |
|
std::string | comb3TWP_ |
|
int | comb3TWPIndex_ |
|
edm::EDGetTokenT< reco::PFTauDiscriminator > | DecayModeFindingInputTag_ |
|
std::string | efficiencyFolder_ |
|
std::map< double, MonitorElement * > | h_efficiencyIsoTauET_EB_EE_pass_ |
|
std::map< double, MonitorElement * > | h_efficiencyIsoTauET_EB_EE_total_ |
|
std::map< double, MonitorElement * > | h_efficiencyIsoTauET_EB_pass_ |
|
std::map< double, MonitorElement * > | h_efficiencyIsoTauET_EB_total_ |
|
std::map< double, MonitorElement * > | h_efficiencyIsoTauET_EE_pass_ |
|
std::map< double, MonitorElement * > | h_efficiencyIsoTauET_EE_total_ |
|
std::map< double, MonitorElement * > | h_efficiencyNonIsoTauET_EB_EE_pass_ |
|
std::map< double, MonitorElement * > | h_efficiencyNonIsoTauET_EB_EE_total_ |
|
std::map< double, MonitorElement * > | h_efficiencyNonIsoTauET_EB_pass_ |
|
std::map< double, MonitorElement * > | h_efficiencyNonIsoTauET_EB_total_ |
|
std::map< double, MonitorElement * > | h_efficiencyNonIsoTauET_EE_pass_ |
|
std::map< double, MonitorElement * > | h_efficiencyNonIsoTauET_EE_total_ |
|
MonitorElement * | h_L1TauEtavsTauEta_ |
|
MonitorElement * | h_L1TauETvsTauET_EB_ |
|
MonitorElement * | h_L1TauETvsTauET_EB_EE_ |
|
MonitorElement * | h_L1TauETvsTauET_EE_ |
|
MonitorElement * | h_L1TauPhivsTauPhi_EB_ |
|
MonitorElement * | h_L1TauPhivsTauPhi_EB_EE_ |
|
MonitorElement * | h_L1TauPhivsTauPhi_EE_ |
|
MonitorElement * | h_nVertex_ |
|
MonitorElement * | h_resolutionTauET_EB_ |
|
MonitorElement * | h_resolutionTauET_EB_EE_ |
|
MonitorElement * | h_resolutionTauET_EE_ |
|
MonitorElement * | h_resolutionTauEta_ |
|
MonitorElement * | h_resolutionTauPhi_EB_ |
|
MonitorElement * | h_resolutionTauPhi_EB_EE_ |
|
MonitorElement * | h_resolutionTauPhi_EE_ |
|
MonitorElement * | h_tagAndProbeMass_ |
|
dqmoffline::l1t::HistDefinitions | histDefinitions_ |
|
std::string | histFolder_ |
|
edm::ESHandle< MagneticField > | m_BField |
|
HLTConfigProvider | m_hltConfig |
|
BXVector< l1t::Tau > | m_L1tL1tTaus |
|
std::vector< int > | m_L1tPtCuts |
|
std::vector< l1t::TauBxCollection > | m_L1tTaus |
|
float | m_MaxHltTauDR |
|
float | m_MaxL1tTauDR |
|
float | m_MaxTauEta |
|
std::vector< const reco::PFTau * > | m_ProbeTaus |
|
edm::ESHandle< Propagator > | m_propagatorAlong |
|
edm::ESHandle< Propagator > | m_propagatorOpposite |
|
std::vector< reco::PFTau > | m_RecoRecoTaus |
|
std::vector< reco::PFTauCollection > | m_RecoTaus |
|
std::vector< TauL1TPair > | m_TauL1tPairs |
|
std::vector< const reco::Muon * > | m_TightMuons |
|
std::vector< int > | m_trigIndices |
|
edm::EDGetTokenT< reco::PFMETCollection > | MetInputTag_ |
|
edm::EDGetTokenT< reco::MuonCollection > | MuonInputTag_ |
|
edm::ProcessHistoryID | phID_ |
|
math::XYZPoint | PVPoint_ |
|
edm::EDGetTokenT< l1t::TauBxCollection > | stage2CaloLayer2TauToken_ |
|
std::vector< double > | tauEfficiencyBins_ |
|
std::vector< int > | tauEfficiencyThresholds_ |
|
edm::EDGetTokenT< reco::PFTauCollection > | theTauCollection_ |
|
edm::EDGetTokenT< trigger::TriggerEvent > | triggerEvent_ |
|
std::vector< std::string > | triggerPath_ |
|
edm::EDGetTokenT< edm::TriggerResults > | triggerResults_ |
|
std::string | trigProcess_ |
|
edm::EDGetTokenT< reco::VertexCollection > | VtxInputTag_ |
|
Definition at line 81 of file L1TTauOffline.h.
◆ PlotConfig
◆ L1TTauOffline()
Definition at line 45 of file L1TTauOffline.cc.
113 <<
"L1TTauOffline::L1TTauOffline " << std::endl;
◆ ~L1TTauOffline()
L1TTauOffline::~L1TTauOffline |
( |
| ) |
|
|
override |
◆ analyze()
Reimplemented from DQMEDAnalyzer.
Definition at line 170 of file L1TTauOffline.cc.
178 if (!
taus.isValid()) {
179 edm::LogWarning(
"L1TTauOffline") <<
"invalid collection: reco::PFTauCollection " << std::endl;
186 if (!
muons.isValid()) {
187 edm::LogWarning(
"L1TTauOffline") <<
"invalid collection: reco::MuonCollection " << std::endl;
195 edm::LogWarning(
"L1TTauOffline") <<
"invalid collection: reco::BeamSpot " << std::endl;
203 edm::LogWarning(
"L1TTauOffline") <<
"invalid collection: reco::VertexCollection " << std::endl;
211 edm::LogWarning(
"L1TTauOffline") <<
"invalid collection: l1t::TauBxCollection " << std::endl;
219 edm::LogWarning(
"L1TTauOffline") <<
"invalid collection: edm::TriggerResults " << std::endl;
227 edm::LogWarning(
"L1TTauOffline") <<
"invalid collection: trigger::TriggerEvent " << std::endl;
234 if (!
mets.isValid()) {
235 edm::LogWarning(
"L1TTauOffline") <<
"invalid collection: reco::PFMETCollection " << std::endl;
246 vector<l1t::Tau> l1tContainer;
247 l1tContainer.reserve(l1tCands->
size() + 1);
250 l1tContainer.push_back(*
tau);
254 float eta = tauL1tPairsIt->eta();
255 float phi = tauL1tPairsIt->phi();
256 float pt = tauL1tPairsIt->pt();
259 float l1tPt = tauL1tPairsIt->l1tPt();
267 bool l1tAboveCut = (l1tPt >= l1tPtCut);
269 stringstream ptCutToTag;
270 ptCutToTag << l1tPtCut;
271 string ptTag = ptCutToTag.str();
275 if (fabs(
eta) < 1.5) {
296 if (fabs(
eta) < 1.5) {
313 if (tauL1tPairsIt->l1tIso() > 0.5) {
References pwdgSkimBPark_cfi::beamSpot, BXVector< T >::begin(), BsInputTag_, counter, MillePedeFileConverter_cfg::e, BXVector< T >::end(), PVValHelper::eta, dqm::impl::MonitorElement::Fill(), edm::EventSetup::get(), get, getPrimaryVertex(), getProbeTaus(), getTauL1tPairs(), getTightMuons(), h_efficiencyIsoTauET_EB_EE_pass_, h_efficiencyIsoTauET_EB_EE_total_, h_efficiencyIsoTauET_EB_pass_, h_efficiencyIsoTauET_EB_total_, h_efficiencyIsoTauET_EE_pass_, h_efficiencyIsoTauET_EE_total_, h_efficiencyNonIsoTauET_EB_EE_pass_, h_efficiencyNonIsoTauET_EB_EE_total_, h_efficiencyNonIsoTauET_EB_pass_, h_efficiencyNonIsoTauET_EB_total_, h_efficiencyNonIsoTauET_EE_pass_, h_efficiencyNonIsoTauET_EE_total_, h_L1TauEtavsTauEta_, h_L1TauETvsTauET_EB_, h_L1TauETvsTauET_EB_EE_, h_L1TauETvsTauET_EE_, h_L1TauPhivsTauPhi_EB_, h_L1TauPhivsTauPhi_EB_EE_, h_L1TauPhivsTauPhi_EE_, h_resolutionTauET_EB_, h_resolutionTauET_EB_EE_, h_resolutionTauET_EE_, h_resolutionTauEta_, h_resolutionTauPhi_EB_, h_resolutionTauPhi_EB_EE_, h_resolutionTauPhi_EE_, edm::HandleBase::isValid(), m_BField, m_MaxHltTauDR, m_MaxL1tTauDR, m_MaxTauEta, m_TauL1tPairs, MetInputTag_, singleTopDQM_cfi::mets, MuonInputTag_, PDWG_BPHSkim_cff::muons, phi, BeamMonitor_cff::primaryVertex, DiDispStaMuonMonitor_cfi::pt, BXVector< T >::size(), stage2CaloLayer2TauToken_, AlCaHLTBitMon_QueryRunRegistry::string, metsig::tau, tauEfficiencyThresholds_, Tau3MuMonitor_cff::taus, theTauCollection_, remoteMonitoring_LED_IterMethod_cfg::threshold, B2GTnPMonitor_cfi::trigEvent, triggerEvent_, triggerResults_, bphysicsOniaDQM_cfi::vertex, and VtxInputTag_.
◆ bookHistograms()
◆ bookTauHistos()
Definition at line 332 of file L1TTauOffline.cc.
341 "L1 Tau E_{T} vs PFTau E_{T} (EB); PFTau E_{T} (GeV); L1 Tau E_{T} (GeV)",
343 &templateETvsET.
binsX[0],
345 &templateETvsET.
binsY[0]);
347 "L1 Tau E_{T} vs PFTau E_{T} (EE); PFTau E_{T} (GeV); L1 Tau E_{T} (GeV)",
349 &templateETvsET.
binsX[0],
351 &templateETvsET.
binsY[0]);
353 "L1 Tau E_{T} vs PFTau E_{T} (EB+EE); PFTau E_{T} (GeV); L1 Tau E_{T} (GeV)",
355 &templateETvsET.
binsX[0],
357 &templateETvsET.
binsY[0]);
361 ibooker.
book2D(
"L1TauPhivsTauPhi_EB",
362 "#phi_{tau}^{L1} vs #phi_{tau}^{offline} (EB); #phi_{tau}^{offline}; #phi_{tau}^{L1}",
364 templatePHIvsPHI.
xmin,
365 templatePHIvsPHI.
xmax,
367 templatePHIvsPHI.
ymin,
368 templatePHIvsPHI.
ymax);
370 ibooker.
book2D(
"L1TauPhivsTauPhi_EE",
371 "#phi_{tau}^{L1} vs #phi_{tau}^{offline} (EE); #phi_{tau}^{offline}; #phi_{tau}^{L1}",
373 templatePHIvsPHI.
xmin,
374 templatePHIvsPHI.
xmax,
376 templatePHIvsPHI.
ymin,
377 templatePHIvsPHI.
ymax);
379 ibooker.
book2D(
"L1TauPhivsTauPhi_EB_EE",
380 "#phi_{tau}^{L1} vs #phi_{tau}^{offline} (EB+EE); #phi_{tau}^{offline}; #phi_{tau}^{L1}",
382 templatePHIvsPHI.
xmin,
383 templatePHIvsPHI.
xmax,
385 templatePHIvsPHI.
ymin,
386 templatePHIvsPHI.
ymax);
389 ibooker.
book2D(
"L1TauEtavsTauEta",
"L1 Tau #eta vs PFTau #eta; PFTau #eta; L1 Tau #eta", 100, -3, 3, 100, -3, 3);
393 "resolutionTauET_EB",
"tau ET resolution (EB); (L1 Tau E_{T} - PFTau E_{T})/PFTau E_{T}; events", 50, -1, 1.5);
395 "resolutionTauET_EE",
"tau ET resolution (EE); (L1 Tau E_{T} - PFTau E_{T})/PFTau E_{T}; events", 50, -1, 1.5);
397 ibooker.
book1D(
"resolutionTauET_EB_EE",
398 "tau ET resolution (EB+EE); (L1 Tau E_{T} - PFTau E_{T})/PFTau E_{T}; events",
404 "#phi_{tau} resolution (EB); #phi_{tau}^{L1} - #phi_{tau}^{offline}; events",
409 "resolutionTauPhi_EE",
"tau #phi resolution (EE); #phi_{tau}^{L1} - #phi_{tau}^{offline}; events", 120, -0.3, 0.3);
411 ibooker.
book1D(
"resolutionTauPhi_EB_EE",
412 "tau #phi resolution (EB+EE); #phi_{tau}^{L1} - #phi_{tau}^{offline}; events",
418 ibooker.
book1D(
"resolutionTauEta",
"tau #eta resolution (EB); L1 Tau #eta - PFTau #eta; events", 120, -0.3, 0.3);
423 int nBins = tauBins.size() - 1;
424 float* tauBinArray = &(tauBins[0]);
429 ibooker.
book1D(
"efficiencyIsoTauET_EB_threshold_" + str_threshold +
"_Num",
430 "iso tau efficiency (EB); PFTau E_{T} (GeV); events",
434 ibooker.
book1D(
"efficiencyIsoTauET_EE_threshold_" + str_threshold +
"_Num",
435 "iso tau efficiency (EE); PFTau E_{T} (GeV); events",
439 ibooker.
book1D(
"efficiencyIsoTauET_EB_EE_threshold_" + str_threshold +
"_Num",
440 "iso tau efficiency (EB+EE); PFTau E_{T} (GeV); events",
445 ibooker.
book1D(
"efficiencyIsoTauET_EB_threshold_" + str_threshold +
"_Den",
446 "iso tau efficiency (EB); PFTau E_{T} (GeV); events",
450 ibooker.
book1D(
"efficiencyIsoTauET_EE_threshold_" + str_threshold +
"_Den",
451 "iso tau efficiency (EE); PFTau E_{T} (GeV); events",
455 ibooker.
book1D(
"efficiencyIsoTauET_EB_EE_threshold_" + str_threshold +
"_Den",
456 "iso tau efficiency (EB+EE); PFTau E_{T} (GeV); events",
462 ibooker.
book1D(
"efficiencyNonIsoTauET_EB_threshold_" + str_threshold +
"_Num",
463 "inclusive tau efficiency (EB); PFTau E_{T} (GeV); events",
467 ibooker.
book1D(
"efficiencyNonIsoTauET_EE_threshold_" + str_threshold +
"_Num",
468 "inclusive tau efficiency (EE); PFTau E_{T} (GeV); events",
472 ibooker.
book1D(
"efficiencyNonIsoTauET_EB_EE_threshold_" + str_threshold +
"_Num",
473 "inclusive tau efficiency (EB+EE); PFTau E_{T} (GeV); events",
478 ibooker.
book1D(
"efficiencyNonIsoTauET_EB_threshold_" + str_threshold +
"_Den",
479 "inclusive tau efficiency (EB); PFTau E_{T} (GeV); events",
483 ibooker.
book1D(
"efficiencyNonIsoTauET_EE_threshold_" + str_threshold +
"_Den",
484 "inclusive tau efficiency (EE); PFTau E_{T} (GeV); events",
488 ibooker.
book1D(
"efficiencyNonIsoTauET_EB_EE_threshold_" + str_threshold +
"_Den",
489 "inclusive tau efficiency (EB+EE); PFTau E_{T} (GeV); events",
References dqmoffline::l1t::HistDefinition::binsX, dqmoffline::l1t::HistDefinition::binsY, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::NavigatorBase::cd(), efficiencyFolder_, L1TEGammaOffline_cfi::ETvsET, h_efficiencyIsoTauET_EB_EE_pass_, h_efficiencyIsoTauET_EB_EE_total_, h_efficiencyIsoTauET_EB_pass_, h_efficiencyIsoTauET_EB_total_, h_efficiencyIsoTauET_EE_pass_, h_efficiencyIsoTauET_EE_total_, h_efficiencyNonIsoTauET_EB_EE_pass_, h_efficiencyNonIsoTauET_EB_EE_total_, h_efficiencyNonIsoTauET_EB_pass_, h_efficiencyNonIsoTauET_EB_total_, h_efficiencyNonIsoTauET_EE_pass_, h_efficiencyNonIsoTauET_EE_total_, h_L1TauEtavsTauEta_, h_L1TauETvsTauET_EB_, h_L1TauETvsTauET_EB_EE_, h_L1TauETvsTauET_EE_, h_L1TauPhivsTauPhi_EB_, h_L1TauPhivsTauPhi_EB_EE_, h_L1TauPhivsTauPhi_EE_, h_nVertex_, h_resolutionTauET_EB_, h_resolutionTauET_EB_EE_, h_resolutionTauET_EE_, h_resolutionTauEta_, h_resolutionTauPhi_EB_, h_resolutionTauPhi_EB_EE_, h_resolutionTauPhi_EE_, h_tagAndProbeMass_, histDefinitions_, histFolder_, dqmoffline::l1t::HistDefinition::name, seedmultiplicitymonitor_newtracking_cfi::nBins, dqmoffline::l1t::HistDefinition::nbinsX, dqmoffline::l1t::HistDefinition::nbinsY, L1TEGammaOffline_cfi::nVertex, L1TEGammaOffline_cfi::PHIvsPHI, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, tauEfficiencyBins_, tauEfficiencyThresholds_, remoteMonitoring_LED_IterMethod_cfg::threshold, dqmoffline::l1t::HistDefinition::title, dqmoffline::l1t::HistDefinition::xmax, dqmoffline::l1t::HistDefinition::xmin, dqmoffline::l1t::HistDefinition::ymax, and dqmoffline::l1t::HistDefinition::ymin.
Referenced by bookHistograms().
◆ calcDeltaPhi()
double L1TTauOffline::calcDeltaPhi |
( |
double |
phi1, |
|
|
double |
phi2 |
|
) |
| |
|
private |
◆ Distance()
◆ DistancePhi()
◆ dqmBeginRun()
◆ getPrimaryVertex()
◆ getProbeTaus()
Definition at line 626 of file L1TTauOffline.cc.
635 edm::LogWarning(
"L1TTauOffline") <<
"invalid collection: reco::PFTauDiscriminator " << std::endl;
642 edm::LogWarning(
"L1TTauOffline") <<
"invalid collection: reco::PFTauDiscriminator " << std::endl;
649 edm::LogWarning(
"L1TTauOffline") <<
"invalid collection: reco::PFTauDiscriminator " << std::endl;
656 edm::LogWarning(
"L1TTauOffline") <<
"invalid collection: reco::PFTauDiscriminator " << std::endl;
670 const std::vector<edm::ParameterSet> psetsFromProvenance =
672 .getParameter<std::vector<edm::ParameterSet>>(
"IDWPdefinitions");
673 for (
uint i = 0;
i < psetsFromProvenance.size();
i++) {
674 if (psetsFromProvenance[
i].getParameter<std::string>(
"IDname") ==
AntiMuWP_)
680 const std::vector<std::string> psetsFromProvenance =
682 for (
uint i = 0;
i < psetsFromProvenance.size();
i++) {
689 const std::vector<edm::ParameterSet> psetsFromProvenance =
691 .getParameter<std::vector<edm::ParameterSet>>(
"IDWPdefinitions");
692 for (
uint i = 0;
i < psetsFromProvenance.size();
i++) {
693 if (psetsFromProvenance[
i].getParameter<std::string>(
"IDname") ==
comb3TWP_)
699 for (
auto tauIt =
taus->begin(); tauIt !=
taus->end(); ++tauIt, ++iTau) {
701 TLorentzVector mytau;
702 mytau.SetPtEtaPhiE(tauIt->pt(), tauIt->eta(), tauIt->phi(), tauIt->energy());
704 if (fabs(tauIt->charge()) == 1 && fabs(tauIt->eta()) < 2.1 && tauIt->pt() > 20 &&
706 (*antiele)[tauCandidate].workingPoints[
AntiEleWPIndex_] && (*dmf)[tauCandidate] > 0.5 &&
708 if (mymu.DeltaR(mytau) > 0.5 && (mymu + mytau).M() > 40 && (mymu + mytau).M() < 80 &&
References AntiEleInputTag_, AntiEleWP_, AntiEleWPIndex_, AntiMuInputTag_, AntiMuWP_, AntiMuWPIndex_, comb3TInputTag_, comb3TWP_, comb3TWPIndex_, DecayModeFindingInputTag_, HCALHighEnergyHPDFilter_cfi::energy, PVValHelper::eta, mps_fire::i, iEvent, edm::HandleBase::isValid(), m_ProbeTaus, m_TightMuons, edm::parameterSet(), phi, phID_, edm::HandleBase::provenance(), DiDispStaMuonMonitor_cfi::pt, Tau3MuMonitor_cff::taus, and parallelization::uint.
Referenced by analyze().
◆ getTauL1tPairs()
Definition at line 558 of file L1TTauOffline.cc.
561 vector<l1t::Tau> l1tContainer;
562 l1tContainer.reserve(l1tCands->
size() + 1);
565 l1tContainer.push_back(*
tau);
569 TauL1TPair pairBestCand((*probeTauIt),
nullptr);
571 for (
auto l1tIt = l1tContainer.begin(); l1tIt != l1tContainer.end(); ++l1tIt) {
572 TauL1TPair pairTmpCand((*probeTauIt), &(*l1tIt));
574 if (pairTmpCand.dR() <
m_MaxL1tTauDR && pairTmpCand.l1tPt() > pairBestCand.l1tPt())
575 pairBestCand = pairTmpCand;
References BXVector< T >::begin(), TauL1TPair::dR(), BXVector< T >::end(), TauL1TPair::l1tPt(), m_MaxL1tTauDR, m_ProbeTaus, m_TauL1tPairs, BXVector< T >::size(), and metsig::tau.
Referenced by analyze().
◆ getTightMuons()
Definition at line 582 of file L1TTauOffline.cc.
589 pfmet = &(
mets->front());
593 for (
auto muonIt2 =
muons->begin(); muonIt2 !=
muons->end(); ++muonIt2) {
594 if (fabs(muonIt2->eta()) < 2.4 && muonIt2->pt() > 10 &&
muon::isLooseMuon((*muonIt2)) &&
595 (muonIt2->pfIsolationR04().sumChargedHadronPt +
596 max(muonIt2->pfIsolationR04().sumNeutralHadronEt + muonIt2->pfIsolationR04().sumPhotonEt -
597 0.5 * muonIt2->pfIsolationR04().sumPUPt,
604 bool foundTightMu =
false;
605 for (
auto muonIt =
muons->begin(); muonIt !=
muons->end(); ++muonIt) {
608 float muiso = (muonIt->pfIsolationR04().sumChargedHadronPt +
609 max(muonIt->pfIsolationR04().sumNeutralHadronEt + muonIt->pfIsolationR04().sumPhotonEt -
610 0.5 * muonIt->pfIsolationR04().sumPUPt,
614 if (muiso < 0.1 && nb_mu < 2 && !foundTightMu && fabs(muonIt->eta()) < 2.1 && muonIt->pt() > 24 &&
616 float mt =
sqrt(
pow(muonIt->pt() + pfmet->
pt(), 2) -
pow(muonIt->px() + pfmet->
px(), 2) -
617 pow(muonIt->py() + pfmet->
py(), 2));
References muon::isLooseMuon(), m_TightMuons, matchHlt(), SiStripPI::max, singleTopDQM_cfi::mets, TtSemiLepEvtBuilder_cfi::mt, PDWG_BPHSkim_cff::muons, funct::pow(), reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), mathSSE::sqrt(), and B2GTnPMonitor_cfi::trigEvent.
Referenced by analyze().
◆ matchHlt()
◆ normalise2DHistogramsToBinArea()
void L1TTauOffline::normalise2DHistogramsToBinArea |
( |
| ) |
|
|
private |
◆ AntiEleInputTag_
◆ AntiEleWP_
std::string L1TTauOffline::AntiEleWP_ |
|
private |
◆ AntiEleWPIndex_
int L1TTauOffline::AntiEleWPIndex_ |
|
private |
◆ AntiMuInputTag_
◆ AntiMuWP_
std::string L1TTauOffline::AntiMuWP_ |
|
private |
◆ AntiMuWPIndex_
int L1TTauOffline::AntiMuWPIndex_ |
|
private |
◆ BsInputTag_
◆ comb3TInputTag_
◆ comb3TWP_
std::string L1TTauOffline::comb3TWP_ |
|
private |
◆ comb3TWPIndex_
int L1TTauOffline::comb3TWPIndex_ |
|
private |
◆ DecayModeFindingInputTag_
◆ efficiencyFolder_
std::string L1TTauOffline::efficiencyFolder_ |
|
private |
◆ h_efficiencyIsoTauET_EB_EE_pass_
std::map<double, MonitorElement*> L1TTauOffline::h_efficiencyIsoTauET_EB_EE_pass_ |
|
private |
◆ h_efficiencyIsoTauET_EB_EE_total_
std::map<double, MonitorElement*> L1TTauOffline::h_efficiencyIsoTauET_EB_EE_total_ |
|
private |
◆ h_efficiencyIsoTauET_EB_pass_
std::map<double, MonitorElement*> L1TTauOffline::h_efficiencyIsoTauET_EB_pass_ |
|
private |
◆ h_efficiencyIsoTauET_EB_total_
std::map<double, MonitorElement*> L1TTauOffline::h_efficiencyIsoTauET_EB_total_ |
|
private |
◆ h_efficiencyIsoTauET_EE_pass_
std::map<double, MonitorElement*> L1TTauOffline::h_efficiencyIsoTauET_EE_pass_ |
|
private |
◆ h_efficiencyIsoTauET_EE_total_
std::map<double, MonitorElement*> L1TTauOffline::h_efficiencyIsoTauET_EE_total_ |
|
private |
◆ h_efficiencyNonIsoTauET_EB_EE_pass_
std::map<double, MonitorElement*> L1TTauOffline::h_efficiencyNonIsoTauET_EB_EE_pass_ |
|
private |
◆ h_efficiencyNonIsoTauET_EB_EE_total_
std::map<double, MonitorElement*> L1TTauOffline::h_efficiencyNonIsoTauET_EB_EE_total_ |
|
private |
◆ h_efficiencyNonIsoTauET_EB_pass_
std::map<double, MonitorElement*> L1TTauOffline::h_efficiencyNonIsoTauET_EB_pass_ |
|
private |
◆ h_efficiencyNonIsoTauET_EB_total_
std::map<double, MonitorElement*> L1TTauOffline::h_efficiencyNonIsoTauET_EB_total_ |
|
private |
◆ h_efficiencyNonIsoTauET_EE_pass_
std::map<double, MonitorElement*> L1TTauOffline::h_efficiencyNonIsoTauET_EE_pass_ |
|
private |
◆ h_efficiencyNonIsoTauET_EE_total_
std::map<double, MonitorElement*> L1TTauOffline::h_efficiencyNonIsoTauET_EE_total_ |
|
private |
◆ h_L1TauEtavsTauEta_
◆ h_L1TauETvsTauET_EB_
◆ h_L1TauETvsTauET_EB_EE_
◆ h_L1TauETvsTauET_EE_
◆ h_L1TauPhivsTauPhi_EB_
◆ h_L1TauPhivsTauPhi_EB_EE_
◆ h_L1TauPhivsTauPhi_EE_
◆ h_nVertex_
◆ h_resolutionTauET_EB_
◆ h_resolutionTauET_EB_EE_
◆ h_resolutionTauET_EE_
◆ h_resolutionTauEta_
◆ h_resolutionTauPhi_EB_
◆ h_resolutionTauPhi_EB_EE_
◆ h_resolutionTauPhi_EE_
◆ h_tagAndProbeMass_
◆ histDefinitions_
◆ histFolder_
std::string L1TTauOffline::histFolder_ |
|
private |
◆ m_BField
◆ m_hltConfig
◆ m_L1tL1tTaus
◆ m_L1tPtCuts
std::vector<int> L1TTauOffline::m_L1tPtCuts |
|
private |
◆ m_L1tTaus
◆ m_MaxHltTauDR
float L1TTauOffline::m_MaxHltTauDR |
|
private |
◆ m_MaxL1tTauDR
float L1TTauOffline::m_MaxL1tTauDR |
|
private |
◆ m_MaxTauEta
float L1TTauOffline::m_MaxTauEta |
|
private |
◆ m_ProbeTaus
std::vector<const reco::PFTau*> L1TTauOffline::m_ProbeTaus |
|
private |
◆ m_propagatorAlong
◆ m_propagatorOpposite
◆ m_RecoRecoTaus
◆ m_RecoTaus
◆ m_TauL1tPairs
std::vector<TauL1TPair> L1TTauOffline::m_TauL1tPairs |
|
private |
◆ m_TightMuons
std::vector<const reco::Muon*> L1TTauOffline::m_TightMuons |
|
private |
◆ m_trigIndices
std::vector<int> L1TTauOffline::m_trigIndices |
|
private |
◆ MetInputTag_
◆ MuonInputTag_
◆ phID_
◆ PlotConfigNames
const std::map< std::string, unsigned int > L1TTauOffline::PlotConfigNames |
|
static |
◆ PVPoint_
◆ stage2CaloLayer2TauToken_
◆ tauEfficiencyBins_
std::vector<double> L1TTauOffline::tauEfficiencyBins_ |
|
private |
◆ tauEfficiencyThresholds_
std::vector<int> L1TTauOffline::tauEfficiencyThresholds_ |
|
private |
◆ theTauCollection_
◆ triggerEvent_
◆ triggerPath_
std::vector<std::string> L1TTauOffline::triggerPath_ |
|
private |
◆ triggerResults_
◆ trigProcess_
std::string L1TTauOffline::trigProcess_ |
|
private |
◆ VtxInputTag_
HistDefinitions readHistDefinitions(const edm::ParameterSet &ps, const std::map< std::string, unsigned int > &mapping)
std::map< double, MonitorElement * > h_efficiencyIsoTauET_EE_pass_
bool matchHlt(edm::Handle< trigger::TriggerEvent > const &triggerEvent, const reco::Muon *muon)
std::map< double, MonitorElement * > h_efficiencyNonIsoTauET_EB_EE_total_
std::vector< TauL1TPair > m_TauL1tPairs
edm::EDGetTokenT< reco::BeamSpot > BsInputTag_
MonitorElement * h_L1TauPhivsTauPhi_EE_
std::map< double, MonitorElement * > h_efficiencyNonIsoTauET_EB_total_
MonitorElement * h_resolutionTauET_EB_
math::Error< dimension >::type Error
covariance error matrix (3x3)
MonitorElement * h_L1TauEtavsTauEta_
virtual void setCurrentFolder(std::string const &fullpath)
std::vector< float > binsY
const reco::Vertex getPrimaryVertex(edm::Handle< reco::VertexCollection > const &vertex, edm::Handle< reco::BeamSpot > const &beamSpot)
void getTauL1tPairs(edm::Handle< l1t::TauBxCollection > const &l1tCands)
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
T getUntrackedParameter(std::string const &, T const &) const
double pt() const final
transverse momentum
Log< level::Info, false > LogInfo
MonitorElement * h_resolutionTauPhi_EB_EE_
std::map< double, MonitorElement * > h_efficiencyIsoTauET_EB_pass_
MonitorElement * h_L1TauETvsTauET_EB_EE_
std::vector< float > binsX
edm::EDGetTokenT< reco::TauDiscriminatorContainer > comb3TInputTag_
Log< level::Warning, false > LogWarning
std::map< double, MonitorElement * > h_efficiencyIsoTauET_EB_EE_pass_
edm::EDGetTokenT< reco::PFTauCollection > theTauCollection_
MonitorElement * h_nVertex_
void bookTauHistos(DQMStore::IBooker &)
void getProbeTaus(const edm::Event &e, edm::Handle< reco::PFTauCollection > const &taus, edm::Handle< reco::MuonCollection > const &muons, const reco::Vertex &vertex)
primaryVertex
hltOfflineBeamSpot for HLTMON
void getTightMuons(edm::Handle< reco::MuonCollection > const &muons, edm::Handle< reco::PFMETCollection > const &mets, const reco::Vertex &vertex, edm::Handle< trigger::TriggerEvent > const &trigEvent)
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
std::vector< reco::PFTau > m_RecoRecoTaus
edm::EDGetTokenT< trigger::TriggerEvent > triggerEvent_
std::string efficiencyFolder_
bool isLooseMuon(const reco::Muon &)
std::map< double, MonitorElement * > h_efficiencyNonIsoTauET_EE_total_
MonitorElement * h_L1TauPhivsTauPhi_EB_
edm::EDGetTokenT< reco::TauDiscriminatorContainer > AntiMuInputTag_
double py() const final
y coordinate of momentum vector
Provenance const * provenance() const
MonitorElement * h_resolutionTauPhi_EE_
const_iterator begin(int bx) const
edm::EDGetTokenT< reco::PFTauDiscriminator > DecayModeFindingInputTag_
dqmoffline::l1t::HistDefinitions histDefinitions_
unsigned int size() const
number of trigger paths in trigger table
const_iterator end(int bx) const
MonitorElement * h_L1TauETvsTauET_EB_
MonitorElement * h_resolutionTauET_EB_EE_
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
MonitorElement * h_L1TauPhivsTauPhi_EB_EE_
std::vector< std::string > triggerPath_
std::map< double, MonitorElement * > h_efficiencyNonIsoTauET_EB_pass_
std::vector< int > m_trigIndices
std::map< double, MonitorElement * > h_efficiencyIsoTauET_EB_EE_total_
HLTConfigProvider m_hltConfig
std::vector< size_type > Keys
MonitorElement * h_resolutionTauEta_
static std::atomic< unsigned int > counter
MonitorElement * h_resolutionTauPhi_EB_
MonitorElement * h_resolutionTauET_EE_
std::vector< reco::PFTauCollection > m_RecoTaus
edm::EDGetTokenT< reco::MuonCollection > MuonInputTag_
edm::ProcessHistoryID phID_
math::XYZPoint Point
point in the space
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
std::vector< int > tauEfficiencyThresholds_
static const std::map< std::string, unsigned int > PlotConfigNames
std::map< double, MonitorElement * > h_efficiencyIsoTauET_EE_total_
ParameterSet const & parameterSet(Provenance const &provenance, ProcessHistory const &history)
std::vector< double > tauEfficiencyBins_
std::vector< l1t::TauBxCollection > m_L1tTaus
edm::EDGetTokenT< reco::PFMETCollection > MetInputTag_
T getParameter(std::string const &) const
const std::string & triggerName(unsigned int triggerIndex) const
unsigned size(int bx) const
edm::EDGetTokenT< reco::VertexCollection > VtxInputTag_
Power< A, B >::type pow(const A &a, const B &b)
edm::EDGetTokenT< reco::TauDiscriminatorContainer > AntiEleInputTag_
std::vector< int > m_L1tPtCuts
std::map< double, MonitorElement * > h_efficiencyNonIsoTauET_EB_EE_pass_
MonitorElement * h_L1TauETvsTauET_EE_
std::map< double, MonitorElement * > h_efficiencyIsoTauET_EB_total_
std::map< double, MonitorElement * > h_efficiencyNonIsoTauET_EE_pass_
MonitorElement * h_tagAndProbeMass_
double px() const final
x coordinate of momentum vector
BXVector< l1t::Tau > m_L1tL1tTaus
std::vector< const reco::Muon * > m_TightMuons
ParameterSet const & getParameterSet(std::string const &) const
edm::EDGetTokenT< l1t::TauBxCollection > stage2CaloLayer2TauToken_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
edm::ESHandle< MagneticField > m_BField
std::vector< const reco::PFTau * > m_ProbeTaus