ATLAS Offline Software
InDetPerfPlot_TrkInJet.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef INDETPERFPLOT_TRKINJET_H
6 #define INDETPERFPLOT_TRKINJET_H
7 
8 #include "InDetPlotBase.h"
10 #include "TProfile.h"
13 #include "xAODJet/Jet.h"
14 
16 public:
17  InDetPerfPlot_TrkInJet(InDetPlotBase* pParent, const std::string & sDir, bool bookFakeAndEff=true);
18  void fill(const xAOD::TrackParticle& trk, const xAOD::Jet& jet,float weight=1.0);
19 
20  void fillEfficiency(const xAOD::TruthParticle& trk, const xAOD::Jet& jet, const bool isEfficient, float weight);
21  void fillFakeRate(const xAOD::TrackParticle& trk, const xAOD::Jet& jet, const bool isFake, float weight);
22  void fillTruth(const xAOD::TruthParticle& truth, const xAOD::Jet& jet, float weight);
23 
24 private:
25  void initializePlots();
26 
53 
54 
58 
65 
67 
68  TEfficiency* m_efficiency_vs_dR{};
69  TEfficiency* m_efficiency_vs_smalldR{};
70  TEfficiency* m_efficiency_vs_jetpT{};
71 
72  TEfficiency* m_fakerate_vs_dR{};
73  TEfficiency* m_fakerate_vs_smalldR{};
74  TEfficiency* m_fakerate_vs_jetpT{};
75 
80 
82 
83 
84 };
85 
86 #endif
InDetPerfPlot_TrkInJet::m_nInnerMostPixelSplitHits_vs_dR
TProfile * m_nInnerMostPixelSplitHits_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:37
InDetPerfPlot_TrkInJet::fillFakeRate
void fillFakeRate(const xAOD::TrackParticle &trk, const xAOD::Jet &jet, const bool isFake, float weight)
Definition: InDetPerfPlot_TrkInJet.cxx:239
InDetPerfPlot_TrkInJet::m_nPixelGangedHitsFlaggedFakes_vs_dR
TProfile * m_nPixelGangedHitsFlaggedFakes_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:45
Jet.h
InDetPerfPlot_TrkInJet::initializePlots
void initializePlots()
Definition: InDetPerfPlot_TrkInJet.cxx:27
InDetPerfPlot_TrkInJet::m_efficiency_vs_dR
TEfficiency * m_efficiency_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:68
InDetSecVtxTruthMatchUtils::isFake
bool isFake(int matchInfo)
Definition: InDetSecVtxTruthMatchTool.h:60
InDetPerfPlot_TrkInJet::fillTruth
void fillTruth(const xAOD::TruthParticle &truth, const xAOD::Jet &jet, float weight)
Definition: InDetPerfPlot_TrkInJet.cxx:224
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
InDetPerfPlot_TrkInJet::m_nSCTDeadSensors_vs_dR
TProfile * m_nSCTDeadSensors_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:52
InDetPerfPlot_TrkInJet::m_nSCTSharedHits_vs_dR
TProfile * m_nSCTSharedHits_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:48
InDetPerfPlot_TrkInJet::m_nInnerMostPixelHits_vs_dR
TProfile * m_nInnerMostPixelHits_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:27
InDetPerfPlot_TrkInJet::m_nPixelOutliers_vs_dR
TProfile * m_nPixelOutliers_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:40
InDetPerfPlot_TrkInJet::m_nPixelGangedHits_vs_dR
TProfile * m_nPixelGangedHits_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:44
InDetPerfPlot_TrkInJet::m_reco_pt_vs_dR
TProfile * m_reco_pt_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:62
EfficiencyPurityCalculator.h
InDetPerfPlot_TrkInJet::m_reco_track_pt_vs_jet_pt
TProfile * m_reco_track_pt_vs_jet_pt
Definition: InDetPerfPlot_TrkInJet.h:64
InDetPerfPlot_TrkInJet::m_nPixelHits_vs_dR
TProfile * m_nPixelHits_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:29
InDetPerfPlot_TrkInJet::m_truth_track_phi_vs_dR
TProfile * m_truth_track_phi_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:76
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
InDetPerfPlot_TrkInJet
Definition: InDetPerfPlot_TrkInJet.h:15
InDetPerfPlot_TrkInJet::m_reco_d0_vs_dR
TProfile * m_reco_d0_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:55
InDetPerfPlot_TrkInJet::m_reco_lowpt_vs_dR
TProfile * m_reco_lowpt_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:63
InDetPlotBase
Mixin class to give extra capabilities to plots such as ATH_MSG and an easier booking interface,...
Definition: InDetPlotBase.h:33
InDetPerfPlot_TrkInJet::fillEfficiency
void fillEfficiency(const xAOD::TruthParticle &trk, const xAOD::Jet &jet, const bool isEfficient, float weight)
Definition: InDetPerfPlot_TrkInJet.cxx:212
InDetPerfPlot_TrkInJet::m_truth_track_eta_vs_dR
TProfile * m_truth_track_eta_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:77
InDetPlotBase.h
InDetPerfPlot_TrkInJet::m_truth_track_pt_vs_jet_pt
TProfile * m_truth_track_pt_vs_jet_pt
Definition: InDetPerfPlot_TrkInJet.h:79
InDetPerfPlot_TrkInJet::m_reco_theta_vs_dR
TProfile * m_reco_theta_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:60
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
InDetPerfPlot_TrkInJet::m_fakerate_vs_jetpT
TEfficiency * m_fakerate_vs_jetpT
Definition: InDetPerfPlot_TrkInJet.h:74
InDetPerfPlot_TrkInJet::m_reco_chi2Overndof_vs_dR
TProfile * m_reco_chi2Overndof_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:66
InDetPerfPlot_TrkInJet::m_nTRTHighThresholdHits_vs_dR
TProfile * m_nTRTHighThresholdHits_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:34
InDetPerfPlot_TrkInJet::m_reco_z0_vs_dR
TProfile * m_reco_z0_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:56
python.TrigEgammaMonitorHelper.TProfile
def TProfile(*args, **kwargs)
Definition: TrigEgammaMonitorHelper.py:81
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:37
InDetPerfPlot_TrkInJet::m_reco_z0sin_vs_dR
TProfile * m_reco_z0sin_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:57
InDetPerfPlot_TrkInJet::m_nPixelHoles_vs_dR
TProfile * m_nPixelHoles_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:32
InDetPerfPlot_TrkInJet::fill
void fill(const xAOD::TrackParticle &trk, const xAOD::Jet &jet, float weight=1.0)
Definition: InDetPerfPlot_TrkInJet.cxx:91
InDetPerfPlot_TrkInJet::m_reco_phi_vs_dR
TProfile * m_reco_phi_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:59
InDetPerfPlot_TrkInJet::InDetPerfPlot_TrkInJet
InDetPerfPlot_TrkInJet(InDetPlotBase *pParent, const std::string &sDir, bool bookFakeAndEff=true)
Definition: InDetPerfPlot_TrkInJet.cxx:22
InDetPerfPlot_TrkInJet::m_nTRTOutliers_vs_dR
TProfile * m_nTRTOutliers_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:49
InDetPerfPlot_TrkInJet::m_nPixelContribLayers_vs_dR
TProfile * m_nPixelContribLayers_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:41
InDetPerfPlot_TrkInJet::m_nPixelSplitHits_vs_dR
TProfile * m_nPixelSplitHits_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:43
InDetPerfPlot_TrkInJet::m_nTRTHighThresholdOutliers_vs_dR
TProfile * m_nTRTHighThresholdOutliers_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:50
InDetPerfPlot_TrkInJet::m_nSCTOutliers_vs_dR
TProfile * m_nSCTOutliers_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:46
InDetPerfPlot_TrkInJet::m_nSCTHits_vs_dR
TProfile * m_nSCTHits_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:30
InDetPerfPlot_TrkInJet::m_nTRTHits_vs_dR
TProfile * m_nTRTHits_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:31
InDetPerfPlot_TrkInJet::m_nNextToInnerMostPixelHits_vs_dR
TProfile * m_nNextToInnerMostPixelHits_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:28
InDetPerfPlot_TrkInJet::m_nExpectedNextToInnerMostPixelHits_vs_dR
TProfile * m_nExpectedNextToInnerMostPixelHits_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:39
InDetPerfPlot_TrkInJet::m_reco_eta_vs_dR
TProfile * m_reco_eta_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:61
InDetPerfPlot_TrkInJet::m_nPixelSharedHits_vs_dR
TProfile * m_nPixelSharedHits_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:42
InDetPerfPlot_TrkInJet::m_truth_track_pt_vs_dR
TProfile * m_truth_track_pt_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:78
InDetPerfPlot_TrkInJet::m_nSCTHoles_vs_dR
TProfile * m_nSCTHoles_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:33
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
InDetPerfPlot_TrkInJet::m_nPixelDeadSensors_vs_dR
TProfile * m_nPixelDeadSensors_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:51
InDetPerfPlot_TrkInJet::m_nSCTDoubleHoles_vs_dR
TProfile * m_nSCTDoubleHoles_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:47
InDetPerfPlot_TrkInJet::m_efficiency_vs_smalldR
TEfficiency * m_efficiency_vs_smalldR
Definition: InDetPerfPlot_TrkInJet.h:69
TrackParticleFwd.h
InDetPerfPlot_TrkInJet::m_nExpectedInnerMostPixelHits_vs_dR
TProfile * m_nExpectedInnerMostPixelHits_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:38
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
InDetPerfPlot_TrkInJet::m_fakerate_vs_smalldR
TEfficiency * m_fakerate_vs_smalldR
Definition: InDetPerfPlot_TrkInJet.h:73
InDetPerfPlot_TrkInJet::m_nInnerMostPixelSharedHits_vs_dR
TProfile * m_nInnerMostPixelSharedHits_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:36
InDetPerfPlot_TrkInJet::m_doFakeAndEff
bool m_doFakeAndEff
Definition: InDetPerfPlot_TrkInJet.h:81
InDetPerfPlot_TrkInJet::m_efficiency_vs_jetpT
TEfficiency * m_efficiency_vs_jetpT
Definition: InDetPerfPlot_TrkInJet.h:70
TruthParticle.h
InDetPerfPlot_TrkInJet::m_fakerate_vs_dR
TEfficiency * m_fakerate_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:72
InDetPerfPlot_TrkInJet::m_nInnerMostPixelOutliers_vs_dR
TProfile * m_nInnerMostPixelOutliers_vs_dR
Definition: InDetPerfPlot_TrkInJet.h:35