ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonValidation
MuonDQA
MuonPhysValMonitoring
src
TriggerEfficiencyPlots.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TriggerEfficiencyPlots.h
"
6
7
TriggerEfficiencyPlots::TriggerEfficiencyPlots
(
PlotBase
* pParent,
const
std::string& sDir) :
8
PlotBase
(pParent, sDir),
9
m_pDenomPlots
(this,
"Denom/"
,
"Muons"
),
10
m_pNumPlots
(this,
"Numer/"
,
"Muons"
),
11
m_pFeatPlots
(this,
"Features/"
,
"Muons"
),
12
m_pDenomPlots_threshold
(this,
"DenomT/"
,
"Muons"
),
13
m_pNumPlots_threshold
(this,
"NumerT/"
,
"Muons"
),
14
m_pFeatPlots_threshold
(this,
"FeaturesT/"
,
"Muons"
) {}
15
16
void
TriggerEfficiencyPlots::fillNumerator
(
const
xAOD::Muon
& mu,
float
Treshold) {
17
m_pNumPlots
.fill(mu);
18
if
(mu.pt() > Treshold)
m_pNumPlots_threshold
.fill(mu);
19
}
20
21
void
TriggerEfficiencyPlots::fillDenominator
(
const
xAOD::Muon
& mu,
float
Treshold) {
22
m_pDenomPlots
.fill(mu);
23
if
(mu.pt() > Treshold)
m_pDenomPlots_threshold
.fill(mu);
24
}
25
26
void
TriggerEfficiencyPlots::fillFeatures
(
const
xAOD::Muon
& mu,
float
Treshold) {
27
m_pFeatPlots
.fill(mu);
28
if
(mu.pt() > Treshold)
m_pFeatPlots_threshold
.fill(mu);
29
}
TriggerEfficiencyPlots.h
PlotBase::PlotBase
PlotBase(PlotBase *parent, std::string_view sDir)
Definition
PlotBase.cxx:29
TriggerEfficiencyPlots::m_pDenomPlots
Trk::ParamPlots m_pDenomPlots
Definition
TriggerEfficiencyPlots.h:20
TriggerEfficiencyPlots::m_pFeatPlots_threshold
Trk::ParamPlots m_pFeatPlots_threshold
Definition
TriggerEfficiencyPlots.h:26
TriggerEfficiencyPlots::fillDenominator
void fillDenominator(const xAOD::Muon &mu, float Treshold)
Definition
TriggerEfficiencyPlots.cxx:21
TriggerEfficiencyPlots::m_pNumPlots_threshold
Trk::ParamPlots m_pNumPlots_threshold
Definition
TriggerEfficiencyPlots.h:25
TriggerEfficiencyPlots::m_pDenomPlots_threshold
Trk::ParamPlots m_pDenomPlots_threshold
Definition
TriggerEfficiencyPlots.h:24
TriggerEfficiencyPlots::fillNumerator
void fillNumerator(const xAOD::Muon &mu, float Treshold)
Definition
TriggerEfficiencyPlots.cxx:16
TriggerEfficiencyPlots::m_pFeatPlots
Trk::ParamPlots m_pFeatPlots
Definition
TriggerEfficiencyPlots.h:22
TriggerEfficiencyPlots::m_pNumPlots
Trk::ParamPlots m_pNumPlots
Definition
TriggerEfficiencyPlots.h:21
TriggerEfficiencyPlots::TriggerEfficiencyPlots
TriggerEfficiencyPlots(PlotBase *pParent, const std::string &dirName)
Definition
TriggerEfficiencyPlots.cxx:7
TriggerEfficiencyPlots::fillFeatures
void fillFeatures(const xAOD::Muon &mu, float Treshold)
Definition
TriggerEfficiencyPlots.cxx:26
xAOD::Muon
Muon_v1 Muon
Reference the current persistent version:
Definition
Event/xAOD/xAODMuon/xAODMuon/Muon.h:13
Generated on
for ATLAS Offline Software by
1.17.0