ATLAS Offline Software
Loading...
Searching...
No Matches
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
16public:
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
24private:
25 void initializePlots();
26
29 TProfile* m_nPixelHits_vs_dR{};
30 TProfile* m_nSCTHits_vs_dR{};
31 TProfile* m_nTRTHits_vs_dR{};
33 TProfile* m_nSCTHoles_vs_dR{};
53
54
55 TProfile* m_reco_d0_vs_dR{};
56 TProfile* m_reco_z0_vs_dR{};
57 TProfile* m_reco_z0sin_vs_dR{};
58
59 TProfile* m_reco_phi_vs_dR{};
60 TProfile* m_reco_theta_vs_dR{};
61 TProfile* m_reco_eta_vs_dR{};
62 TProfile* m_reco_pt_vs_dR{};
63 TProfile* m_reco_lowpt_vs_dR{};
65
67
68 TEfficiency* m_efficiency_vs_dR{};
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
TProfile * m_nExpectedNextToInnerMostPixelHits_vs_dR
void fill(const xAOD::TrackParticle &trk, const xAOD::Jet &jet, float weight=1.0)
void fillEfficiency(const xAOD::TruthParticle &trk, const xAOD::Jet &jet, const bool isEfficient, float weight)
TProfile * m_nPixelGangedHitsFlaggedFakes_vs_dR
void fillTruth(const xAOD::TruthParticle &truth, const xAOD::Jet &jet, float weight)
InDetPerfPlot_TrkInJet(InDetPlotBase *pParent, const std::string &sDir, bool bookFakeAndEff=true)
void fillFakeRate(const xAOD::TrackParticle &trk, const xAOD::Jet &jet, const bool isFake, float weight)
InDetPlotBase(InDetPlotBase *pParent, const std::string &dirName)
Constructor taking parent node and directory name for plots.
Jet_v1 Jet
Definition of the current "jet version".
TrackParticle_v1 TrackParticle
Reference the current persistent version:
TruthParticle_v1 TruthParticle
Typedef to implementation.