ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonValidation
MuonHistogramming
MuonHistUtils
MuonHistUtils
TruthRelatedMuonPlotOrganizer.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONHISTUTILS_TRUTHRELATEDMUONPLOTORGANIZER_H
6
#define MUONHISTUTILS_TRUTHRELATEDMUONPLOTORGANIZER_H
7
8
#include <vector>
9
10
#include "
MuonHistUtils/MomentumTruthPullPlots.h
"
11
#include "
MuonHistUtils/MuonHitDiffSummaryPlots.h
"
12
#include "
MuonHistUtils/MuonParamElossPlots.h
"
13
#include "
MuonHistUtils/MuonResolutionPlots.h
"
14
#include "
MuonHistUtils/MuonTruthHitPlots.h
"
15
#include "
TrkValHistUtils/DefParamPullPlots.h
"
16
#include "
TrkValHistUtils/MSHitDiffPlots.h
"
17
#include "
TrkValHistUtils/ParamPlots.h
"
18
#include "
TrkValHistUtils/PlotBase.h
"
19
#include "
xAODMuon/Muon.h
"
20
#include "
xAODTruth/TruthParticle.h
"
21
22
namespace
Muon
{
23
enum
TRUTHRELATEDPLOTCLASS
{
24
TRK_MATCHEDTRUE
,
25
TRK_MATCHEDRECO
,
26
TRK_MSHITDIFF
,
27
MUON_HITDIFF
,
28
MUON_TRUTHHIT
,
29
MUON_RESOL
,
30
TRK_DEFPARAMPULLS
,
31
MUON_PULLSTAIL
,
32
MUON_PULLSNOTAIL
,
33
MUON_PARAMELOSS
,
34
MAX_TRUTHRELATEDPLOTCLASS
35
};
36
37
class
TruthRelatedMuonPlotOrganizer
:
public
PlotBase
{
38
public
:
39
TruthRelatedMuonPlotOrganizer
(
PlotBase
* pParent,
const
std::string& sDir,
40
bool
doBinnedResolutionPlots,
41
std::vector<int> selPlots = {});
42
~TruthRelatedMuonPlotOrganizer
();
43
44
std::vector<int>
m_selPlots
;
45
46
void
fill
(
const
xAOD::TruthParticle
& truthMu,
const
xAOD::Muon
& mu,
float
weight = 1.0);
47
void
fill
(
const
xAOD::TruthParticle
& truthMu,
const
xAOD::TrackParticle
& mu,
48
float
weight = 1.0);
49
50
// Truth related plots
51
std::unique_ptr<Trk::ParamPlots>
m_oMatchedPlots
{};
52
std::unique_ptr<Trk::ParamPlots>
m_oMatchedRecoPlots
{};
53
std::unique_ptr<Trk::MSHitDiffPlots>
m_oMSHitDiffPlots
{};
54
std::unique_ptr<Muon::MuonHitDiffSummaryPlots>
m_oMuonHitDiffSummaryPlots
{};
55
std::unique_ptr<Muon::MuonTruthHitPlots>
m_oMuonTruthHitPlots
{};
56
std::unique_ptr<Muon::MuonResolutionPlots>
m_oMuonResolutionPlots
{};
57
std::unique_ptr<Trk::DefParamPullPlots>
m_oDefParamPullPlots
{};
58
std::unique_ptr<Muon::MomentumTruthPullPlots>
59
m_oMomentumTruthPullPlots_Tail
{};
60
std::unique_ptr<Muon::MomentumTruthPullPlots>
61
m_oMomentumTruthPullPlots_NoTail
{};
62
std::unique_ptr<Muon::MuonParamElossPlots>
m_oMatchedRecoElossPlots
{};
63
};
64
65
}
// namespace Muon
66
67
#endif
DefParamPullPlots.h
Muon.h
TruthParticle.h
MSHitDiffPlots.h
MomentumTruthPullPlots.h
MuonHitDiffSummaryPlots.h
MuonParamElossPlots.h
MuonResolutionPlots.h
MuonTruthHitPlots.h
ParamPlots.h
PlotBase.h
Muon::TruthRelatedMuonPlotOrganizer::m_oMuonHitDiffSummaryPlots
std::unique_ptr< Muon::MuonHitDiffSummaryPlots > m_oMuonHitDiffSummaryPlots
Definition
TruthRelatedMuonPlotOrganizer.h:54
Muon::TruthRelatedMuonPlotOrganizer::m_oDefParamPullPlots
std::unique_ptr< Trk::DefParamPullPlots > m_oDefParamPullPlots
Definition
TruthRelatedMuonPlotOrganizer.h:57
Muon::TruthRelatedMuonPlotOrganizer::m_oMatchedRecoPlots
std::unique_ptr< Trk::ParamPlots > m_oMatchedRecoPlots
Definition
TruthRelatedMuonPlotOrganizer.h:52
Muon::TruthRelatedMuonPlotOrganizer::m_oMatchedPlots
std::unique_ptr< Trk::ParamPlots > m_oMatchedPlots
Definition
TruthRelatedMuonPlotOrganizer.h:51
Muon::TruthRelatedMuonPlotOrganizer::~TruthRelatedMuonPlotOrganizer
~TruthRelatedMuonPlotOrganizer()
Muon::TruthRelatedMuonPlotOrganizer::fill
void fill(const xAOD::TruthParticle &truthMu, const xAOD::TrackParticle &mu, float weight=1.0)
Muon::TruthRelatedMuonPlotOrganizer::m_oMuonResolutionPlots
std::unique_ptr< Muon::MuonResolutionPlots > m_oMuonResolutionPlots
Definition
TruthRelatedMuonPlotOrganizer.h:56
Muon::TruthRelatedMuonPlotOrganizer::m_oMatchedRecoElossPlots
std::unique_ptr< Muon::MuonParamElossPlots > m_oMatchedRecoElossPlots
Definition
TruthRelatedMuonPlotOrganizer.h:62
Muon::TruthRelatedMuonPlotOrganizer::fill
void fill(const xAOD::TruthParticle &truthMu, const xAOD::Muon &mu, float weight=1.0)
Definition
TruthRelatedMuonPlotOrganizer.cxx:85
Muon::TruthRelatedMuonPlotOrganizer::TruthRelatedMuonPlotOrganizer
TruthRelatedMuonPlotOrganizer(PlotBase *pParent, const std::string &sDir, bool doBinnedResolutionPlots, std::vector< int > selPlots={})
Definition
TruthRelatedMuonPlotOrganizer.cxx:17
Muon::TruthRelatedMuonPlotOrganizer::m_oMomentumTruthPullPlots_NoTail
std::unique_ptr< Muon::MomentumTruthPullPlots > m_oMomentumTruthPullPlots_NoTail
Definition
TruthRelatedMuonPlotOrganizer.h:61
Muon::TruthRelatedMuonPlotOrganizer::m_oMSHitDiffPlots
std::unique_ptr< Trk::MSHitDiffPlots > m_oMSHitDiffPlots
Definition
TruthRelatedMuonPlotOrganizer.h:53
Muon::TruthRelatedMuonPlotOrganizer::m_selPlots
std::vector< int > m_selPlots
Definition
TruthRelatedMuonPlotOrganizer.h:44
Muon::TruthRelatedMuonPlotOrganizer::m_oMuonTruthHitPlots
std::unique_ptr< Muon::MuonTruthHitPlots > m_oMuonTruthHitPlots
Definition
TruthRelatedMuonPlotOrganizer.h:55
Muon::TruthRelatedMuonPlotOrganizer::m_oMomentumTruthPullPlots_Tail
std::unique_ptr< Muon::MomentumTruthPullPlots > m_oMomentumTruthPullPlots_Tail
Definition
TruthRelatedMuonPlotOrganizer.h:59
PlotBase::PlotBase
PlotBase(PlotBase *parent, std::string_view sDir)
Definition
PlotBase.cxx:29
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Muon::TRUTHRELATEDPLOTCLASS
TRUTHRELATEDPLOTCLASS
Definition
TruthRelatedMuonPlotOrganizer.h:23
Muon::TRK_MATCHEDRECO
@ TRK_MATCHEDRECO
Definition
TruthRelatedMuonPlotOrganizer.h:25
Muon::MUON_TRUTHHIT
@ MUON_TRUTHHIT
Definition
TruthRelatedMuonPlotOrganizer.h:28
Muon::MUON_PARAMELOSS
@ MUON_PARAMELOSS
Definition
TruthRelatedMuonPlotOrganizer.h:33
Muon::TRK_DEFPARAMPULLS
@ TRK_DEFPARAMPULLS
Definition
TruthRelatedMuonPlotOrganizer.h:30
Muon::MUON_HITDIFF
@ MUON_HITDIFF
Definition
TruthRelatedMuonPlotOrganizer.h:27
Muon::MAX_TRUTHRELATEDPLOTCLASS
@ MAX_TRUTHRELATEDPLOTCLASS
Definition
TruthRelatedMuonPlotOrganizer.h:34
Muon::MUON_RESOL
@ MUON_RESOL
Definition
TruthRelatedMuonPlotOrganizer.h:29
Muon::TRK_MATCHEDTRUE
@ TRK_MATCHEDTRUE
Definition
TruthRelatedMuonPlotOrganizer.h:24
Muon::MUON_PULLSNOTAIL
@ MUON_PULLSNOTAIL
Definition
TruthRelatedMuonPlotOrganizer.h:32
Muon::TRK_MSHITDIFF
@ TRK_MSHITDIFF
Definition
TruthRelatedMuonPlotOrganizer.h:26
Muon::MUON_PULLSTAIL
@ MUON_PULLSTAIL
Definition
TruthRelatedMuonPlotOrganizer.h:31
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
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