ATLAS Offline Software
MuonSpectrometer
MuonValidation
MuonHistogramming
MuonHistUtils
MuonHistUtils
TruthMuonPlotOrganizer.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_TRUTHMUONPLOTORGANIZER_H
6
#define MUONHISTUTILS_TRUTHMUONPLOTORGANIZER_H
7
8
#include "
TrkValHistUtils/PlotBase.h
"
9
#include "
TrkValHistUtils/ParamPlots.h
"
10
#include "
TrkValHistUtils/MSHitPlots.h
"
11
#include "
TrkValHistUtils/TruthInfoPlots.h
"
12
#include "
TrkValHistUtils/TruthTrkExtrapolationPlots.h
"
13
14
#include "
xAODTruth/TruthParticle.h
"
15
#include <vector>
16
17
namespace
Muon
18
{
19
enum
TRUTHPLOTCLASS
{
TRUTH_PARAM
,
TRUTH_INFO
,
TRUTH_TRKEXTRAP
,
TRUTH_MSHITS
,
MAX_TRUTHPLOTCLASS
};
20
21
class
TruthMuonPlotOrganizer
:
public
PlotBase
{
22
public
:
23
TruthMuonPlotOrganizer
(
PlotBase
* pParent,
const
std::string&
sDir
,std::vector<int> selPlots = {});
24
~TruthMuonPlotOrganizer
();
25
26
27
std::vector<int>
m_selPlots
;
28
29
void
fill
(
const
xAOD::TruthParticle
& truthMu,
float
weight
=1.0);
30
31
// Truth plots
32
std::unique_ptr<Trk::ParamPlots>
m_oTruthPlots
{};
33
std::unique_ptr<Trk::TruthInfoPlots>
m_oTruthInfoPlots
{};
34
std::unique_ptr<Trk::TruthTrkExtrapolationPlots>
m_oTruthTrkExtrapolationPlots
{};
35
std::unique_ptr<Trk::MSHitPlots>
m_oTruthMSHitPlots
{};
36
};
37
38
}
39
40
#endif
Muon::TruthMuonPlotOrganizer::m_oTruthMSHitPlots
std::unique_ptr< Trk::MSHitPlots > m_oTruthMSHitPlots
Definition:
TruthMuonPlotOrganizer.h:35
PlotBase
Definition:
PlotBase.h:34
python.copyTCTOutput.sDir
sDir
Definition:
copyTCTOutput.py:60
TruthInfoPlots.h
TruthTrkExtrapolationPlots.h
MSHitPlots.h
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition:
TrackSystemController.h:45
Muon::TruthMuonPlotOrganizer
Definition:
TruthMuonPlotOrganizer.h:21
Muon::TruthMuonPlotOrganizer::fill
void fill(const xAOD::TruthParticle &truthMu, float weight=1.0)
Definition:
TruthMuonPlotOrganizer.cxx:35
dqt_zlumi_pandas.weight
int weight
Definition:
dqt_zlumi_pandas.py:189
Muon::TruthMuonPlotOrganizer::TruthMuonPlotOrganizer
TruthMuonPlotOrganizer(PlotBase *pParent, const std::string &sDir, std::vector< int > selPlots={})
Definition:
TruthMuonPlotOrganizer.cxx:9
Muon::TruthMuonPlotOrganizer::m_selPlots
std::vector< int > m_selPlots
Definition:
TruthMuonPlotOrganizer.h:27
Muon::TruthMuonPlotOrganizer::~TruthMuonPlotOrganizer
~TruthMuonPlotOrganizer()
Muon::TRUTH_TRKEXTRAP
@ TRUTH_TRKEXTRAP
Definition:
TruthMuonPlotOrganizer.h:19
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition:
TruthParticle_v1.h:37
Muon::TRUTHPLOTCLASS
TRUTHPLOTCLASS
Definition:
TruthMuonPlotOrganizer.h:19
Muon::TruthMuonPlotOrganizer::m_oTruthPlots
std::unique_ptr< Trk::ParamPlots > m_oTruthPlots
Definition:
TruthMuonPlotOrganizer.h:32
Muon::TRUTH_PARAM
@ TRUTH_PARAM
Definition:
TruthMuonPlotOrganizer.h:19
Muon::MAX_TRUTHPLOTCLASS
@ MAX_TRUTHPLOTCLASS
Definition:
TruthMuonPlotOrganizer.h:19
Muon::TRUTH_MSHITS
@ TRUTH_MSHITS
Definition:
TruthMuonPlotOrganizer.h:19
Muon::TRUTH_INFO
@ TRUTH_INFO
Definition:
TruthMuonPlotOrganizer.h:19
TruthParticle.h
PlotBase.h
Muon::TruthMuonPlotOrganizer::m_oTruthInfoPlots
std::unique_ptr< Trk::TruthInfoPlots > m_oTruthInfoPlots
Definition:
TruthMuonPlotOrganizer.h:33
ParamPlots.h
Muon::TruthMuonPlotOrganizer::m_oTruthTrkExtrapolationPlots
std::unique_ptr< Trk::TruthTrkExtrapolationPlots > m_oTruthTrkExtrapolationPlots
Definition:
TruthMuonPlotOrganizer.h:34
Generated on Sun Dec 22 2024 21:22:06 for ATLAS Offline Software by
1.8.18