ATLAS Offline Software
InDetRttPlots.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef INDETPHYSVALMONITORING_INDETRTTPLOTS
6 #define INDETPHYSVALMONITORING_INDETRTTPLOTS
7 
14 // std includes
15 #include <string>
16 #include <memory>
17 
18 // local includes
19 #include "InDetPlotBase.h"
20 #include "InDetBasicPlot.h"
21 
24 #include "InDetPerfPlot_nTracks.h"
25 #include "InDetPerfPlot_FakeRate.h"
31 #include "InDetPerfPlot_Hits.h"
32 #include "InDetPerfPlot_Vertex.h"
35 #include "InDetPerfPlot_TrkInJet.h"
38 
40 #include "xAODTracking/Vertex.h"
43 
46 
48 
49 
53  bool doTrackParameters{true};
54  bool doNTracks{true};
55  bool doHitResidualPlot{false};
56  bool doHitEffPlot{false};
57  bool doHitsRecoTracksPlots{true};
58  bool doTrtExtensionPlots{true};
59 
61  bool doFakePlots{true};
65 
68  bool doEffPlots{true};
69  bool doDuplicatePlots{false};
70 
73  bool doResolutionPlotPrim{true};
75  bool doResolutionPlotSecd{false};
77 
79  bool doVertexPlots{true};
80  bool doVerticesVsMuPlots{true};
82 
86 
88  bool doTrkInJetPlots{false};
89  bool doTrkInJetPlots_bjets{false};
92  bool doTrkInJetPlots_fake{false};
97 
100  bool doFakesPerAuthor{false};
103 
105  bool doNtupleTruthToReco{false};
106 
108  int detailLevel{10};
109 };
110 
113 public:
114  InDetRttPlots(InDetPlotBase* pParent, const std::string& dirName, const InDetRttPlotConfig & config);
115 
117  void fill(const xAOD::TrackParticle& particle, const xAOD::TruthParticle& truthParticle, bool truthIsFromB=false, float mu = 0.0, float weight=1.0);
118 
120  void fill(const xAOD::TrackParticle& particle, float weight=1.0);
121  void fill(const xAOD::TrackParticle& particle, const float mu, const unsigned int nVtx, float weight=1.0); //mu dependent plots
122  void fill(const unsigned int nTracks, const unsigned int truthMu, const float actualMu, const unsigned nVtx, const float weight=1.0);
123 
125  void fill(const xAOD::TruthParticle& particle, float weight);
126 
128  void fillEfficiency(const xAOD::TruthParticle& truth, const xAOD::TrackParticle* track, const bool isGood, const unsigned int truthMu, const float actualMu, float weight);
129  void fillTechnicalEfficiency(const xAOD::TruthParticle& truth, const bool isGood, const unsigned int truthMu, const float actualMu, float weight);
130 
132  void fillDuplicate(const xAOD::TruthParticle& truth,
133  const std::vector<const xAOD::TrackParticle*>& tracks,
134  float weight);
135 
137  void fill(const xAOD::VertexContainer& vertexContainer, const xAOD::Vertex* recoHardScatter, const std::vector<const xAOD::TruthVertex*>& truthHSVertices, const std::vector<const xAOD::TruthVertex*>& truthPUVertices, float weight=1.0);
139  void fill(const xAOD::VertexContainer& vertexContainer, const unsigned int truthMu, const float actualMu, const float weight=1.0);
140 
141  void fill(const xAOD::TrackParticle& track, const xAOD::Jet& jet, bool isBjet=false, bool isFake=false, bool isUnlinked=false, bool truthIsFromB=false, const float weight=1.0);
142  void fillEfficiency(const xAOD::TruthParticle& truth, const xAOD::Jet& jet, const bool isGood, bool isBjet=false, bool truthIsFromB=false, float weight=1.0);
143  void fillFakeRate(const xAOD::TrackParticle& track, const xAOD::Jet& jet, const bool isFake, bool isBjet=false, bool truthIsFromB=false, float weight=1.0);
144 
146  void fillCounter(const unsigned int freq, const InDetPerfPlot_nTracks::CounterCategory counter, float weight);
148  void fillFakeRate(const xAOD::TrackParticle& particle, const bool isFake, const bool isAssociatedTruth, const float mu, float weight);
149 
150  // fill IDPVM Ntuple
151  void fillNtuple(const xAOD::TrackParticle& track, const xAOD::Vertex* vtx);
152  void fillNtuple(const xAOD::TruthParticle& truth);
153  void fillNtuple(const xAOD::TrackParticle& track, const xAOD::TruthParticle& truth, const xAOD::Vertex* vtx, const int truthMatchRanking);
154 
155  virtual ~InDetRttPlots() {
156  };
157 
158 private:
159 
162 
164  const std::string m_trackParticleTruthProbKey{"truthMatchProbability"};
165 
169  std::unique_ptr<InDetPerfPlot_TrackParameters> m_trackParameters;
170  std::unique_ptr<InDetPerfPlot_nTracks> m_nTracks;
171  std::unique_ptr<InDetPerfPlot_HitResidual> m_hitResidualPlot;
172  std::unique_ptr<InDetPerfPlot_HitEfficiency> m_hitEffPlot;
173  std::unique_ptr<InDetPerfPlot_FakeRate> m_fakePlots;
174  std::unique_ptr<InDetPerfPlot_FakeRate> m_missingTruthFakePlots;
175  std::unique_ptr<InDetPerfPlot_Resolution> m_resolutionPlotPrim;
176  std::unique_ptr<InDetPerfPlot_Resolution> m_resolutionPlotPrim_truthFromB;
177  std::unique_ptr<InDetPerfPlot_Hits> m_hitsRecoTracksPlots;
178  std::unique_ptr<InDetPerfPlot_Efficiency> m_effPlots;
179  std::unique_ptr<InDetPerfPlot_Duplicate> m_duplicatePlots;
180  std::unique_ptr<InDetPerfPlot_VerticesVsMu> m_verticesVsMuPlots;
181  std::unique_ptr<InDetPerfPlot_Vertex> m_vertexPlots;
182  std::unique_ptr<InDetPerfPlot_Vertex> m_hardScatterVertexPlots;
183  std::unique_ptr<InDetPerfPlot_VertexTruthMatching> m_hardScatterVertexTruthMatchingPlots;
184  std::unique_ptr<InDetPerfPlot_TRTExtension> m_trtExtensionPlots;
185  std::unique_ptr<InDetPerfNtuple_TruthToReco> m_ntupleTruthToReco;
186  std::unique_ptr<InDetPerfPlot_Resolution> m_resolutionPlotSecd;
187  std::unique_ptr<InDetPerfPlot_Hits> m_hitsMatchedTracksPlots;
188  std::unique_ptr<InDetPerfPlot_Hits> m_hitsFakeTracksPlots;
189  std::unique_ptr<InDetPerfPlot_Hits> m_hitsUnlinkedTracksPlots;
190  std::unique_ptr<InDetPerfPlot_VertexTruthMatching> m_vertexTruthMatchingPlots;
191  std::unique_ptr<InDetPerfPlot_TrkInJet> m_trkInJetPlots;
192  std::unique_ptr<InDetPerfPlot_TrkInJet> m_trkInJetPlots_bjets;
193  std::unique_ptr<InDetPerfPlot_TrkInJet> m_trkInJetPlots_matched;
194  std::unique_ptr<InDetPerfPlot_TrkInJet> m_trkInJetPlots_matched_bjets;
195  std::unique_ptr<InDetPerfPlot_TrkInJet> m_trkInJetPlots_fake;
196  std::unique_ptr<InDetPerfPlot_TrkInJet> m_trkInJetPlots_fake_bjets;
197  std::unique_ptr<InDetPerfPlot_TrkInJet> m_trkInJetPlots_unlinked;
198  std::unique_ptr<InDetPerfPlot_TrkInJet> m_trkInJetPlots_unlinked_bjets;
199 
200  std::unique_ptr<InDetPerfPlot_TrkInJet> m_trkInJetPlots_truthFromB;
201 
202  std::unique_ptr<InDetPerfPlot_Efficiency> m_effSiSPSeededFinderPlots;
203  std::unique_ptr<InDetPerfPlot_Efficiency> m_effInDetExtensionProcessorPlots;
204  std::unique_ptr<InDetPerfPlot_Efficiency> m_effTRTSeededTrackFinderPlots;
205  std::unique_ptr<InDetPerfPlot_Efficiency> m_effTRTStandalonePlots;
206  std::unique_ptr<InDetPerfPlot_Efficiency> m_effSiSpacePointsSeedMaker_LargeD0Plots;
207 
208  std::unique_ptr<InDetPerfPlot_FakeRate> m_fakeSiSPSeededFinderPlots;
209  std::unique_ptr<InDetPerfPlot_FakeRate> m_fakeInDetExtensionProcessorPlots;
210  std::unique_ptr<InDetPerfPlot_FakeRate> m_fakeTRTSeededTrackFinderPlots;
211  std::unique_ptr<InDetPerfPlot_FakeRate> m_fakeTRTStandalonePlots;
212  std::unique_ptr<InDetPerfPlot_FakeRate> m_fakeSiSpacePointsSeedMaker_LargeD0Plots;
213 
214  std::unique_ptr<InDetPerfPlot_TrackParameters> m_trkParaSiSPSeededFinderPlots;
215  std::unique_ptr<InDetPerfPlot_TrackParameters> m_trkParaInDetExtensionProcessorPlots;
216  std::unique_ptr<InDetPerfPlot_TrackParameters> m_trkParaTRTSeededTrackFinderPlots;
217  std::unique_ptr<InDetPerfPlot_TrackParameters> m_trkParaTRTStandalonePlots;
218  std::unique_ptr<InDetPerfPlot_TrackParameters> m_trkParaSiSpacePointsSeedMaker_LargeD0Plots;
219 
220  std::unique_ptr<InDetPerfPlot_Resolution> m_resSiSPSeededFinderPlots;
221  std::unique_ptr<InDetPerfPlot_Resolution> m_resInDetExtensionProcessorPlots;
222  std::unique_ptr<InDetPerfPlot_Resolution> m_resTRTSeededTrackFinderPlots;
223  std::unique_ptr<InDetPerfPlot_Resolution> m_resTRTStandalonePlots;
224  std::unique_ptr<InDetPerfPlot_Resolution> m_resSiSpacePointsSeedMaker_LargeD0Plots;
225 };
226 
227 
228 
229 
230 #endif
InDetRttPlots::m_trkInJetPlots_fake_bjets
std::unique_ptr< InDetPerfPlot_TrkInJet > m_trkInJetPlots_fake_bjets
Definition: InDetRttPlots.h:196
InDetPerfPlot_Hits.h
InDetPerfPlot_TrackParameters.h
RecoInfoPlots.h
InDetRttPlots::fill
void fill(const unsigned int nTracks, const unsigned int truthMu, const float actualMu, const unsigned nVtx, const float weight=1.0)
InDetRttPlots::m_trackParameters
std::unique_ptr< InDetPerfPlot_TrackParameters > m_trackParameters
plot members.
Definition: InDetRttPlots.h:169
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
InDetPerfPlot_Efficiency.h
InDetRttPlots::m_resTRTStandalonePlots
std::unique_ptr< InDetPerfPlot_Resolution > m_resTRTStandalonePlots
Definition: InDetRttPlots.h:223
InDetRttPlots::m_fakeSiSpacePointsSeedMaker_LargeD0Plots
std::unique_ptr< InDetPerfPlot_FakeRate > m_fakeSiSpacePointsSeedMaker_LargeD0Plots
Definition: InDetRttPlots.h:212
InDetRttPlots::m_nTracks
std::unique_ptr< InDetPerfPlot_nTracks > m_nTracks
Definition: InDetRttPlots.h:170
InDetPerfPlot_FakeRate.h
InDetRttPlotConfig::doResolutionsPerAuthor
bool doResolutionsPerAuthor
Definition: InDetRttPlots.h:102
InDetRttPlots::m_resTRTSeededTrackFinderPlots
std::unique_ptr< InDetPerfPlot_Resolution > m_resTRTSeededTrackFinderPlots
Definition: InDetRttPlots.h:222
InDetSecVtxTruthMatchUtils::isFake
bool isFake(int matchInfo)
Definition: InDetSecVtxTruthMatchTool.h:60
InDetRttPlotConfig::doTrkInJetPlots_matched_bjets
bool doTrkInJetPlots_matched_bjets
Definition: InDetRttPlots.h:91
InDetRttPlots::InDetRttPlots
InDetRttPlots(InDetPlotBase *pParent, const std::string &dirName, const InDetRttPlotConfig &config)
Definition: InDetRttPlots.cxx:20
InDetRttPlotConfig::doResolutionPlotSecd
bool doResolutionPlotSecd
Definition: InDetRttPlots.h:75
InDetRttPlots::m_missingTruthFakePlots
std::unique_ptr< InDetPerfPlot_FakeRate > m_missingTruthFakePlots
Definition: InDetRttPlots.h:174
InDetRttPlotConfig::doHitsUnlinkedTracksPlots
bool doHitsUnlinkedTracksPlots
Definition: InDetRttPlots.h:64
InDetRttPlots::fillNtuple
void fillNtuple(const xAOD::TrackParticle &track, const xAOD::Vertex *vtx)
Definition: InDetRttPlots.cxx:386
InDetRttPlotConfig::doHardScatterVertexTruthMatchingPlots
bool doHardScatterVertexTruthMatchingPlots
Definition: InDetRttPlots.h:85
InDetRttPlotConfig::doHardScatterVertexPlots
bool doHardScatterVertexPlots
Definition: InDetRttPlots.h:81
TruthInfoPlots.h
InDetRttPlots::m_effInDetExtensionProcessorPlots
std::unique_ptr< InDetPerfPlot_Efficiency > m_effInDetExtensionProcessorPlots
Definition: InDetRttPlots.h:203
InDetRttPlotConfig::doNTracks
bool doNTracks
Definition: InDetRttPlots.h:54
InDetRttPlots::m_fakeTRTStandalonePlots
std::unique_ptr< InDetPerfPlot_FakeRate > m_fakeTRTStandalonePlots
Definition: InDetRttPlots.h:211
InDetRttPlots::m_resolutionPlotPrim
std::unique_ptr< InDetPerfPlot_Resolution > m_resolutionPlotPrim
Definition: InDetRttPlots.h:175
InDetRttPlotConfig::doTrtExtensionPlots
bool doTrtExtensionPlots
Definition: InDetRttPlots.h:58
InDetRttPlotConfig::doTrkInJetPlots_unlinked_bjets
bool doTrkInJetPlots_unlinked_bjets
Definition: InDetRttPlots.h:95
InDetRttPlotConfig::doHitEffPlot
bool doHitEffPlot
Definition: InDetRttPlots.h:56
InDetRttPlotConfig::doTrkInJetPlots_truthFromB
bool doTrkInJetPlots_truthFromB
Definition: InDetRttPlots.h:96
InDetPerfPlot_TRTExtension.h
InDetRttPlotConfig::doHitResidualPlot
bool doHitResidualPlot
Definition: InDetRttPlots.h:55
InDetRttPlotConfig::doTrkInJetPlots
bool doTrkInJetPlots
Plots for tracks in jets.
Definition: InDetRttPlots.h:88
InDetRttPlotConfig::doTrkInJetPlots_matched
bool doTrkInJetPlots_matched
Definition: InDetRttPlots.h:90
InDetPerfPlot_VertexTruthMatching.h
InDetRttPlots::m_trkParaInDetExtensionProcessorPlots
std::unique_ptr< InDetPerfPlot_TrackParameters > m_trkParaInDetExtensionProcessorPlots
Definition: InDetRttPlots.h:215
InDetRttPlotConfig::doFakesPerAuthor
bool doFakesPerAuthor
Definition: InDetRttPlots.h:100
config
Definition: PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
InDetRttPlots::m_verticesVsMuPlots
std::unique_ptr< InDetPerfPlot_VerticesVsMu > m_verticesVsMuPlots
Definition: InDetRttPlots.h:180
InDetRttPlots::m_trkInJetPlots_unlinked_bjets
std::unique_ptr< InDetPerfPlot_TrkInJet > m_trkInJetPlots_unlinked_bjets
Definition: InDetRttPlots.h:198
InDetRttPlots::m_resInDetExtensionProcessorPlots
std::unique_ptr< InDetPerfPlot_Resolution > m_resInDetExtensionProcessorPlots
Definition: InDetRttPlots.h:221
InDetPerfPlot_Duplicate.h
InDetRttPlots::m_hitsRecoTracksPlots
std::unique_ptr< InDetPerfPlot_Hits > m_hitsRecoTracksPlots
Definition: InDetRttPlots.h:177
InDetRttPlots::m_effTRTStandalonePlots
std::unique_ptr< InDetPerfPlot_Efficiency > m_effTRTStandalonePlots
Definition: InDetRttPlots.h:205
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:200
InDetRttPlots::m_config
InDetRttPlotConfig m_config
configuration object
Definition: InDetRttPlots.h:156
InDetRttPlots::m_duplicatePlots
std::unique_ptr< InDetPerfPlot_Duplicate > m_duplicatePlots
Definition: InDetRttPlots.h:179
InDetRttPlots::m_resolutionPlotPrim_truthFromB
std::unique_ptr< InDetPerfPlot_Resolution > m_resolutionPlotPrim_truthFromB
Definition: InDetRttPlots.h:176
InDetRttPlots::m_trkParaTRTStandalonePlots
std::unique_ptr< InDetPerfPlot_TrackParameters > m_trkParaTRTStandalonePlots
Definition: InDetRttPlots.h:217
InDetRttPlots::m_hardScatterVertexTruthMatchingPlots
std::unique_ptr< InDetPerfPlot_VertexTruthMatching > m_hardScatterVertexTruthMatchingPlots
Definition: InDetRttPlots.h:183
InDetRttPlots::m_hitResidualPlot
std::unique_ptr< InDetPerfPlot_HitResidual > m_hitResidualPlot
Definition: InDetRttPlots.h:171
InDetRttPlots::m_trkInJetPlots_matched_bjets
std::unique_ptr< InDetPerfPlot_TrkInJet > m_trkInJetPlots_matched_bjets
Definition: InDetRttPlots.h:194
InDetPlotBase
Mixin class to give extra capabilities to plots such as ATH_MSG and an easier booking interface,...
Definition: InDetPlotBase.h:31
InDetRttPlots::m_resolutionPlotSecd
std::unique_ptr< InDetPerfPlot_Resolution > m_resolutionPlotSecd
Definition: InDetRttPlots.h:186
InDetRttPlots::m_resSiSPSeededFinderPlots
std::unique_ptr< InDetPerfPlot_Resolution > m_resSiSPSeededFinderPlots
Definition: InDetRttPlots.h:220
InDetRttPlots::m_ntupleTruthToReco
std::unique_ptr< InDetPerfNtuple_TruthToReco > m_ntupleTruthToReco
Definition: InDetRttPlots.h:185
InDetPlotBase.h
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
InDetRttPlots::m_hardScatterVertexPlots
std::unique_ptr< InDetPerfPlot_Vertex > m_hardScatterVertexPlots
Definition: InDetRttPlots.h:182
InDetRttPlots::m_trkParaTRTSeededTrackFinderPlots
std::unique_ptr< InDetPerfPlot_TrackParameters > m_trkParaTRTSeededTrackFinderPlots
Definition: InDetRttPlots.h:216
InDetPerfPlot_TrkInJet.h
InDetRttPlotConfig::doTrkInJetPlots_bjets
bool doTrkInJetPlots_bjets
Definition: InDetRttPlots.h:89
InDetRttPlots::m_effSiSPSeededFinderPlots
std::unique_ptr< InDetPerfPlot_Efficiency > m_effSiSPSeededFinderPlots
Definition: InDetRttPlots.h:202
InDetRttPlots::m_effTRTSeededTrackFinderPlots
std::unique_ptr< InDetPerfPlot_Efficiency > m_effTRTSeededTrackFinderPlots
Definition: InDetRttPlots.h:204
InDetRttPlots::m_trkParaSiSpacePointsSeedMaker_LargeD0Plots
std::unique_ptr< InDetPerfPlot_TrackParameters > m_trkParaSiSpacePointsSeedMaker_LargeD0Plots
Definition: InDetRttPlots.h:218
InDetBasicPlot.h
InDetRttPlots::fill
void fill(const xAOD::TrackParticle &particle, const xAOD::TruthParticle &truthParticle, bool truthIsFromB=false, float mu=0.0, float weight=1.0)
fill for things needing truth and track only
Definition: InDetRttPlots.cxx:98
InDetRttPlotConfig
helper struct - steer the configuration from the parent tool's side
Definition: InDetRttPlots.h:51
InDetRttPlotConfig::doResolutionPlotPrim_truthFromB
bool doResolutionPlotPrim_truthFromB
Definition: InDetRttPlots.h:74
InDetRttPlotConfig::doFakePlots
bool doFakePlots
Fake plots (and unlinked)
Definition: InDetRttPlots.h:61
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:41
InDetRttPlots::fillCounter
void fillCounter(const unsigned int freq, const InDetPerfPlot_nTracks::CounterCategory counter, float weight)
fill for Counters
Definition: InDetRttPlots.cxx:338
InDetPerfPlot_HitEfficiency.h
InDetRttPlots::m_fakeTRTSeededTrackFinderPlots
std::unique_ptr< InDetPerfPlot_FakeRate > m_fakeTRTSeededTrackFinderPlots
Definition: InDetRttPlots.h:210
InDetPerfPlot_VerticesVsMu.h
InDetRttPlots::m_trkInJetPlots_truthFromB
std::unique_ptr< InDetPerfPlot_TrkInJet > m_trkInJetPlots_truthFromB
Definition: InDetRttPlots.h:200
InDetRttPlotConfig::doTrkInJetPlots_fake_bjets
bool doTrkInJetPlots_fake_bjets
Definition: InDetRttPlots.h:93
InDetRttPlots::m_trkInJetPlots_fake
std::unique_ptr< InDetPerfPlot_TrkInJet > m_trkInJetPlots_fake
Definition: InDetRttPlots.h:195
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
Vertex.h
InDetPerfNtuple_TruthToReco.h
InDetRttPlots::m_hitEffPlot
std::unique_ptr< InDetPerfPlot_HitEfficiency > m_hitEffPlot
Definition: InDetRttPlots.h:172
InDetRttPlotConfig::doEfficienciesPerAuthor
bool doEfficienciesPerAuthor
per author plots
Definition: InDetRttPlots.h:99
InDetRttPlotConfig::doNtupleTruthToReco
bool doNtupleTruthToReco
Ntuple functionality.
Definition: InDetRttPlots.h:105
InDetRttPlotConfig::doDuplicatePlots
bool doDuplicatePlots
Definition: InDetRttPlots.h:69
InDetRttPlots::m_resSiSpacePointsSeedMaker_LargeD0Plots
std::unique_ptr< InDetPerfPlot_Resolution > m_resSiSpacePointsSeedMaker_LargeD0Plots
Definition: InDetRttPlots.h:224
InDetRttPlots::m_vertexPlots
std::unique_ptr< InDetPerfPlot_Vertex > m_vertexPlots
Definition: InDetRttPlots.h:181
InDetRttPlots::m_trkInJetPlots_bjets
std::unique_ptr< InDetPerfPlot_TrkInJet > m_trkInJetPlots_bjets
Definition: InDetRttPlots.h:192
InDetRttPlots::m_trkInJetPlots_matched
std::unique_ptr< InDetPerfPlot_TrkInJet > m_trkInJetPlots_matched
Definition: InDetRttPlots.h:193
InDetRttPlotConfig::doHitsMatchedTracksPlots
bool doHitsMatchedTracksPlots
Definition: InDetRttPlots.h:76
InDetRttPlotConfig::doResolutionPlotPrim
bool doResolutionPlotPrim
Resolution and "matched track" plots - filled if both reco and truth exist.
Definition: InDetRttPlots.h:73
InDetRttPlots::m_effSiSpacePointsSeedMaker_LargeD0Plots
std::unique_ptr< InDetPerfPlot_Efficiency > m_effSiSpacePointsSeedMaker_LargeD0Plots
Definition: InDetRttPlots.h:206
InDetRttPlots::fillTechnicalEfficiency
void fillTechnicalEfficiency(const xAOD::TruthParticle &truth, const bool isGood, const unsigned int truthMu, const float actualMu, float weight)
Definition: InDetRttPlots.cxx:250
IDHitPlots.h
InDetRttPlotConfig::doVertexTruthMatchingPlots
bool doVertexTruthMatchingPlots
Vertexing plots - truth requirement.
Definition: InDetRttPlots.h:84
InDetRttPlotConfig::doMissingTruthFakePlots
bool doMissingTruthFakePlots
Definition: InDetRttPlots.h:62
InDetRttPlotConfig::doVerticesVsMuPlots
bool doVerticesVsMuPlots
Definition: InDetRttPlots.h:80
EventInfo.h
InDetTrackTruthOriginDefs.h
TrackParticle.h
InDetRttPlotConfig::doHitsRecoTracksPlots
bool doHitsRecoTracksPlots
Definition: InDetRttPlots.h:57
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
InDetRttPlots::m_hitsFakeTracksPlots
std::unique_ptr< InDetPerfPlot_Hits > m_hitsFakeTracksPlots
Definition: InDetRttPlots.h:188
InDetRttPlots::fillDuplicate
void fillDuplicate(const xAOD::TruthParticle &truth, const std::vector< const xAOD::TrackParticle * > &tracks, float weight)
fill for duplicate plots
Definition: InDetRttPlots.cxx:259
InDetRttPlots::m_trackParticleTruthProbKey
const std::string m_trackParticleTruthProbKey
key for the truth match prob
Definition: InDetRttPlots.h:164
InDetPerfPlot_HitResidual.h
VertexContainer.h
InDetRttPlots::m_effPlots
std::unique_ptr< InDetPerfPlot_Efficiency > m_effPlots
Definition: InDetRttPlots.h:178
InDetRttPlots::m_fakeInDetExtensionProcessorPlots
std::unique_ptr< InDetPerfPlot_FakeRate > m_fakeInDetExtensionProcessorPlots
Definition: InDetRttPlots.h:209
InDetRttPlotConfig::doEffPlots
bool doEffPlots
Efficiency and duplicate plots - require truth, optionally matching reco
Definition: InDetRttPlots.h:68
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
InDetRttPlots::m_fakeSiSPSeededFinderPlots
std::unique_ptr< InDetPerfPlot_FakeRate > m_fakeSiSPSeededFinderPlots
Definition: InDetRttPlots.h:208
InDetRttPlots::m_trkInJetPlots_unlinked
std::unique_ptr< InDetPerfPlot_TrkInJet > m_trkInJetPlots_unlinked
Definition: InDetRttPlots.h:197
InDetRttPlotConfig::doTrkInJetPlots_fake
bool doTrkInJetPlots_fake
Definition: InDetRttPlots.h:92
InDetRttPlotConfig::detailLevel
int detailLevel
detail level (kept for compatibility)
Definition: InDetRttPlots.h:108
InDetRttPlots::m_vertexTruthMatchingPlots
std::unique_ptr< InDetPerfPlot_VertexTruthMatching > m_vertexTruthMatchingPlots
Definition: InDetRttPlots.h:190
InDetRttPlotConfig::doTrackParameters
bool doTrackParameters
Plots for (selected) tracks, not necessarily truth matched.
Definition: InDetRttPlots.h:53
InDetRttPlots::m_hitsMatchedTracksPlots
std::unique_ptr< InDetPerfPlot_Hits > m_hitsMatchedTracksPlots
Definition: InDetRttPlots.h:187
InDetRttPlots
class holding all plots for Inner Detector RTT Validation and implementing fill methods
Definition: InDetRttPlots.h:112
InDetRttPlots::m_fakePlots
std::unique_ptr< InDetPerfPlot_FakeRate > m_fakePlots
Definition: InDetRttPlots.h:173
InDetRttPlots::m_hitsUnlinkedTracksPlots
std::unique_ptr< InDetPerfPlot_Hits > m_hitsUnlinkedTracksPlots
Definition: InDetRttPlots.h:189
InDetPerfPlot_nTracks::CounterCategory
CounterCategory
Definition: InDetPerfPlot_nTracks.h:24
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
InDetPerfPlot_nTracks.h
InDetPerfPlot_Vertex.h
InDetRttPlots::m_trkParaSiSPSeededFinderPlots
std::unique_ptr< InDetPerfPlot_TrackParameters > m_trkParaSiSPSeededFinderPlots
Definition: InDetRttPlots.h:214
test_pyathena.counter
counter
Definition: test_pyathena.py:15
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
InDetPerfPlot_Resolution.h
InDetRttPlotConfig::doVertexPlots
bool doVertexPlots
Vertexing plots - no truth requirement.
Definition: InDetRttPlots.h:79
InDetRttPlots::m_trtExtensionPlots
std::unique_ptr< InDetPerfPlot_TRTExtension > m_trtExtensionPlots
Definition: InDetRttPlots.h:184
InDetRttPlotConfig::doHitsFakeTracksPlots
bool doHitsFakeTracksPlots
Definition: InDetRttPlots.h:63
InDetRttPlotConfig::doTrackParametersPerAuthor
bool doTrackParametersPerAuthor
Definition: InDetRttPlots.h:101
InDetRttPlots::m_trkInJetPlots
std::unique_ptr< InDetPerfPlot_TrkInJet > m_trkInJetPlots
Definition: InDetRttPlots.h:191
InDetRttPlots::fillFakeRate
void fillFakeRate(const xAOD::TrackParticle &track, const xAOD::Jet &jet, const bool isFake, bool isBjet=false, bool truthIsFromB=false, float weight=1.0)
Definition: InDetRttPlots.cxx:375
InDetRttPlots::fillEfficiency
void fillEfficiency(const xAOD::TruthParticle &truth, const xAOD::TrackParticle *track, const bool isGood, const unsigned int truthMu, const float actualMu, float weight)
Fill for efficiency plots.
Definition: InDetRttPlots.cxx:206
InDetRttPlots::~InDetRttPlots
virtual ~InDetRttPlots()
Definition: InDetRttPlots.h:155
InDetRttPlotConfig::doTrkInJetPlots_unlinked
bool doTrkInJetPlots_unlinked
Definition: InDetRttPlots.h:94