ATLAS Offline Software
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 
13 
15 #include <vector>
16 
17 namespace Muon
18 {
20 
22  public:
23  TruthMuonPlotOrganizer(PlotBase* pParent, const std::string& sDir,std::vector<int> selPlots = {});
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:33
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
TruthInfoPlots.h
TruthTrkExtrapolationPlots.h
MSHitPlots.h
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
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:200
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:41
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