ATLAS Offline Software
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
}
Trk::ParamPlots::fill
void fill(const xAOD::IParticle &prt, float weight=1.0)
Definition:
Tracking/TrkValidation/TrkValHistUtils/Root/ParamPlots.cxx:40
TriggerEfficiencyPlots::fillNumerator
void fillNumerator(const xAOD::Muon &mu, float Treshold)
Definition:
TriggerEfficiencyPlots.cxx:16
PlotBase
Definition:
PlotBase.h:34
TriggerEfficiencyPlots::TriggerEfficiencyPlots
TriggerEfficiencyPlots(PlotBase *pParent, const std::string &dirName)
Definition:
TriggerEfficiencyPlots.cxx:7
python.copyTCTOutput.sDir
sDir
Definition:
copyTCTOutput.py:60
xAOD::Muon_v1
Class describing a Muon.
Definition:
Muon_v1.h:38
TriggerEfficiencyPlots::m_pDenomPlots
Trk::ParamPlots m_pDenomPlots
Definition:
TriggerEfficiencyPlots.h:20
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_pFeatPlots
Trk::ParamPlots m_pFeatPlots
Definition:
TriggerEfficiencyPlots.h:22
TriggerEfficiencyPlots::m_pNumPlots
Trk::ParamPlots m_pNumPlots
Definition:
TriggerEfficiencyPlots.h:21
TriggerEfficiencyPlots.h
TriggerEfficiencyPlots::m_pFeatPlots_threshold
Trk::ParamPlots m_pFeatPlots_threshold
Definition:
TriggerEfficiencyPlots.h:26
TriggerEfficiencyPlots::fillFeatures
void fillFeatures(const xAOD::Muon &mu, float Treshold)
Definition:
TriggerEfficiencyPlots.cxx:26
TriggerEfficiencyPlots::m_pDenomPlots_threshold
Trk::ParamPlots m_pDenomPlots_threshold
Definition:
TriggerEfficiencyPlots.h:24
CaloNoise_fillDB.mu
mu
Definition:
CaloNoise_fillDB.py:53
Generated on Sun Dec 22 2024 21:20:59 for ATLAS Offline Software by
1.8.18