ATLAS Offline Software
MuonSpectrometer
MuonValidation
MuonHistogramming
MuonHistUtils
MuonHistUtils
TruthRelatedMuonPlotOrganizer.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONHISTUTILS_TRUTHRELATEDMUONPLOTORGANIZER_H
6
#define MUONHISTUTILS_TRUTHRELATEDMUONPLOTORGANIZER_H
7
8
#include "
TrkValHistUtils/PlotBase.h
"
9
#include "
TrkValHistUtils/ParamPlots.h
"
10
#include "
TrkValHistUtils/MSHitDiffPlots.h
"
11
#include "
MuonHistUtils/MuonHitDiffSummaryPlots.h
"
12
#include "
MuonHistUtils/MuonResolutionPlots.h
"
13
#include "
MuonHistUtils/MomentumTruthPullPlots.h
"
14
#include "
MuonHistUtils/MuonParamElossPlots.h
"
15
#include "
MuonHistUtils/MuonTree.h
"
16
#include "
MuonHistUtils/MuonTruthHitPlots.h
"
17
#include "
TrkValHistUtils/DefParamPullPlots.h
"
18
19
#include "
xAODMuon/Muon.h
"
20
#include "
xAODTruth/TruthParticle.h
"
21
#include <vector>
22
23
namespace
Muon
24
{
25
enum
TRUTHRELATEDPLOTCLASS
{
TRK_MATCHEDTRUE
,
TRK_MATCHEDRECO
,
TRK_MSHITDIFF
,
MUON_HITDIFF
,
MUON_TRUTHHIT
,
MUON_RESOL
,
TRK_DEFPARAMPULLS
,
MUON_PULLSTAIL
,
MUON_PULLSNOTAIL
,
MUON_PARAMELOSS
,
MAX_TRUTHRELATEDPLOTCLASS
};
26
27
class
TruthRelatedMuonPlotOrganizer
:
public
PlotBase
{
28
public
:
29
TruthRelatedMuonPlotOrganizer
(
PlotBase
* pParent,
const
std::string&
sDir
,
bool
doBinnedResolutionPlots, std::vector<int> selPlots = {});
30
~TruthRelatedMuonPlotOrganizer
();
31
32
33
34
std::vector<int>
m_selPlots
;
35
36
void
fill
(
const
xAOD::TruthParticle
& truthMu,
const
xAOD::Muon
&
mu
,
const
xAOD::TrackParticleContainer
* MSTracks,
float
weight
=1.0);
37
void
fill
(
const
xAOD::TruthParticle
& truthMu,
const
xAOD::TrackParticle
&
mu
,
float
weight
=1.0);
38
39
// Truth related plots
40
std::unique_ptr<Trk::ParamPlots>
m_oMatchedPlots
{};
41
std::unique_ptr<Trk::ParamPlots>
m_oMatchedRecoPlots
{};
42
std::unique_ptr<Trk::MSHitDiffPlots>
m_oMSHitDiffPlots
{};
43
std::unique_ptr<Muon::MuonHitDiffSummaryPlots>
m_oMuonHitDiffSummaryPlots
{};
44
std::unique_ptr<Muon::MuonTruthHitPlots>
m_oMuonTruthHitPlots
{};
45
std::unique_ptr<Muon::MuonResolutionPlots>
m_oMuonResolutionPlots
{};
46
std::unique_ptr<Trk::DefParamPullPlots>
m_oDefParamPullPlots
{};
47
std::unique_ptr<Muon::MomentumTruthPullPlots>
m_oMomentumTruthPullPlots_Tail
{};
48
std::unique_ptr<Muon::MomentumTruthPullPlots>
m_oMomentumTruthPullPlots_NoTail
{};
49
std::unique_ptr<Muon::MuonParamElossPlots>
m_oMatchedRecoElossPlots
{};
50
51
};
52
53
}
54
55
#endif
MSHitDiffPlots.h
Muon::MAX_TRUTHRELATEDPLOTCLASS
@ MAX_TRUTHRELATEDPLOTCLASS
Definition:
TruthRelatedMuonPlotOrganizer.h:25
Muon::MUON_RESOL
@ MUON_RESOL
Definition:
TruthRelatedMuonPlotOrganizer.h:25
DefParamPullPlots.h
PlotBase
Definition:
PlotBase.h:34
Muon::TRK_MATCHEDRECO
@ TRK_MATCHEDRECO
Definition:
TruthRelatedMuonPlotOrganizer.h:25
Muon.h
python.copyTCTOutput.sDir
sDir
Definition:
copyTCTOutput.py:60
Muon::TRK_MATCHEDTRUE
@ TRK_MATCHEDTRUE
Definition:
TruthRelatedMuonPlotOrganizer.h:25
MuonParamElossPlots.h
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition:
TrackSystemController.h:45
Muon::MUON_HITDIFF
@ MUON_HITDIFF
Definition:
TruthRelatedMuonPlotOrganizer.h:25
MuonTree.h
xAOD::Muon_v1
Class describing a Muon.
Definition:
Muon_v1.h:38
Muon::TRK_DEFPARAMPULLS
@ TRK_DEFPARAMPULLS
Definition:
TruthRelatedMuonPlotOrganizer.h:25
Muon::MUON_TRUTHHIT
@ MUON_TRUTHHIT
Definition:
TruthRelatedMuonPlotOrganizer.h:25
Muon::MUON_PARAMELOSS
@ MUON_PARAMELOSS
Definition:
TruthRelatedMuonPlotOrganizer.h:25
dqt_zlumi_pandas.weight
int weight
Definition:
dqt_zlumi_pandas.py:189
Muon::TruthRelatedMuonPlotOrganizer::m_oMSHitDiffPlots
std::unique_ptr< Trk::MSHitDiffPlots > m_oMSHitDiffPlots
Definition:
TruthRelatedMuonPlotOrganizer.h:42
Muon::TruthRelatedMuonPlotOrganizer::~TruthRelatedMuonPlotOrganizer
~TruthRelatedMuonPlotOrganizer()
Muon::TruthRelatedMuonPlotOrganizer::m_oMomentumTruthPullPlots_NoTail
std::unique_ptr< Muon::MomentumTruthPullPlots > m_oMomentumTruthPullPlots_NoTail
Definition:
TruthRelatedMuonPlotOrganizer.h:48
Muon::TRK_MSHITDIFF
@ TRK_MSHITDIFF
Definition:
TruthRelatedMuonPlotOrganizer.h:25
Muon::TruthRelatedMuonPlotOrganizer::TruthRelatedMuonPlotOrganizer
TruthRelatedMuonPlotOrganizer(PlotBase *pParent, const std::string &sDir, bool doBinnedResolutionPlots, std::vector< int > selPlots={})
Definition:
TruthRelatedMuonPlotOrganizer.cxx:16
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition:
TruthParticle_v1.h:37
Muon::TruthRelatedMuonPlotOrganizer::m_oMatchedPlots
std::unique_ptr< Trk::ParamPlots > m_oMatchedPlots
Definition:
TruthRelatedMuonPlotOrganizer.h:40
Muon::TRUTHRELATEDPLOTCLASS
TRUTHRELATEDPLOTCLASS
Definition:
TruthRelatedMuonPlotOrganizer.h:25
Muon::TruthRelatedMuonPlotOrganizer::m_oMatchedRecoPlots
std::unique_ptr< Trk::ParamPlots > m_oMatchedRecoPlots
Definition:
TruthRelatedMuonPlotOrganizer.h:41
Muon::MUON_PULLSTAIL
@ MUON_PULLSTAIL
Definition:
TruthRelatedMuonPlotOrganizer.h:25
Muon::MUON_PULLSNOTAIL
@ MUON_PULLSNOTAIL
Definition:
TruthRelatedMuonPlotOrganizer.h:25
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
Muon::TruthRelatedMuonPlotOrganizer::m_oMuonTruthHitPlots
std::unique_ptr< Muon::MuonTruthHitPlots > m_oMuonTruthHitPlots
Definition:
TruthRelatedMuonPlotOrganizer.h:44
Muon::TruthRelatedMuonPlotOrganizer::m_oDefParamPullPlots
std::unique_ptr< Trk::DefParamPullPlots > m_oDefParamPullPlots
Definition:
TruthRelatedMuonPlotOrganizer.h:46
Muon::TruthRelatedMuonPlotOrganizer::m_selPlots
std::vector< int > m_selPlots
Definition:
TruthRelatedMuonPlotOrganizer.h:34
Muon::TruthRelatedMuonPlotOrganizer
Definition:
TruthRelatedMuonPlotOrganizer.h:27
Muon::TruthRelatedMuonPlotOrganizer::m_oMuonResolutionPlots
std::unique_ptr< Muon::MuonResolutionPlots > m_oMuonResolutionPlots
Definition:
TruthRelatedMuonPlotOrganizer.h:45
MuonResolutionPlots.h
Muon::TruthRelatedMuonPlotOrganizer::m_oMuonHitDiffSummaryPlots
std::unique_ptr< Muon::MuonHitDiffSummaryPlots > m_oMuonHitDiffSummaryPlots
Definition:
TruthRelatedMuonPlotOrganizer.h:43
Muon::TruthRelatedMuonPlotOrganizer::m_oMatchedRecoElossPlots
std::unique_ptr< Muon::MuonParamElossPlots > m_oMatchedRecoElossPlots
Definition:
TruthRelatedMuonPlotOrganizer.h:49
MuonHitDiffSummaryPlots.h
MomentumTruthPullPlots.h
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition:
TrackParticle_v1.h:43
TruthParticle.h
Muon::TruthRelatedMuonPlotOrganizer::m_oMomentumTruthPullPlots_Tail
std::unique_ptr< Muon::MomentumTruthPullPlots > m_oMomentumTruthPullPlots_Tail
Definition:
TruthRelatedMuonPlotOrganizer.h:47
PlotBase.h
CaloNoise_fillDB.mu
mu
Definition:
CaloNoise_fillDB.py:53
Muon::TruthRelatedMuonPlotOrganizer::fill
void fill(const xAOD::TruthParticle &truthMu, const xAOD::Muon &mu, const xAOD::TrackParticleContainer *MSTracks, float weight=1.0)
Definition:
TruthRelatedMuonPlotOrganizer.cxx:64
ParamPlots.h
MuonTruthHitPlots.h
Generated on Sun Dec 22 2024 21:22:08 for ATLAS Offline Software by
1.8.18