ATLAS Offline Software
Loading...
Searching...
No Matches
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 <vector>
9
20#include "xAODMuon/Muon.h"
22
23namespace Muon {
37
39 public:
40 TruthRelatedMuonPlotOrganizer(PlotBase* pParent, const std::string& sDir,
41 bool doBinnedResolutionPlots,
42 std::vector<int> selPlots = {});
44
45 std::vector<int> m_selPlots;
46
47 void fill(const xAOD::TruthParticle& truthMu, const xAOD::Muon& mu,
48 const xAOD::TrackParticleContainer* MSTracks, float weight = 1.0);
49 void fill(const xAOD::TruthParticle& truthMu, const xAOD::TrackParticle& mu,
50 float weight = 1.0);
51
52 // Truth related plots
53 std::unique_ptr<Trk::ParamPlots> m_oMatchedPlots{};
54 std::unique_ptr<Trk::ParamPlots> m_oMatchedRecoPlots{};
55 std::unique_ptr<Trk::MSHitDiffPlots> m_oMSHitDiffPlots{};
56 std::unique_ptr<Muon::MuonHitDiffSummaryPlots> m_oMuonHitDiffSummaryPlots{};
57 std::unique_ptr<Muon::MuonTruthHitPlots> m_oMuonTruthHitPlots{};
58 std::unique_ptr<Muon::MuonResolutionPlots> m_oMuonResolutionPlots{};
59 std::unique_ptr<Trk::DefParamPullPlots> m_oDefParamPullPlots{};
60 std::unique_ptr<Muon::MomentumTruthPullPlots>
62 std::unique_ptr<Muon::MomentumTruthPullPlots>
64 std::unique_ptr<Muon::MuonParamElossPlots> m_oMatchedRecoElossPlots{};
65};
66
67} // namespace Muon
68
69#endif
void fill(const xAOD::TruthParticle &truthMu, const xAOD::Muon &mu, const xAOD::TrackParticleContainer *MSTracks, float weight=1.0)
std::unique_ptr< Muon::MuonHitDiffSummaryPlots > m_oMuonHitDiffSummaryPlots
std::unique_ptr< Trk::DefParamPullPlots > m_oDefParamPullPlots
std::unique_ptr< Trk::ParamPlots > m_oMatchedRecoPlots
std::unique_ptr< Trk::ParamPlots > m_oMatchedPlots
std::unique_ptr< Muon::MuonResolutionPlots > m_oMuonResolutionPlots
std::unique_ptr< Muon::MuonParamElossPlots > m_oMatchedRecoElossPlots
TruthRelatedMuonPlotOrganizer(PlotBase *pParent, const std::string &sDir, bool doBinnedResolutionPlots, std::vector< int > selPlots={})
std::unique_ptr< Muon::MomentumTruthPullPlots > m_oMomentumTruthPullPlots_NoTail
std::unique_ptr< Trk::MSHitDiffPlots > m_oMSHitDiffPlots
std::unique_ptr< Muon::MuonTruthHitPlots > m_oMuonTruthHitPlots
std::unique_ptr< Muon::MomentumTruthPullPlots > m_oMomentumTruthPullPlots_Tail
PlotBase(PlotBase *parent, std::string_view sDir)
Definition PlotBase.cxx:29
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
TruthParticle_v1 TruthParticle
Typedef to implementation.
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".
Muon_v1 Muon
Reference the current persistent version: