ATLAS Offline Software
InDetPerfPlot_TRTExtension.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 INDETPHYSVALMONITORING_INDETPERFPLOT_TRTEXTENSION
6 #define INDETPHYSVALMONITORING_INDETPERFPLOT_TRTEXTENSION
7 
13 // std includes
14 #include <string>
15 #include <array>
16 
17 // local includes
18 #include "InDetPlotBase.h"
22 
25 public:
26  InDetPerfPlot_TRTExtension(InDetPlotBase* pParent, const std::string& dirName);
27  void fill(const xAOD::TrackParticle& particle, float weight);
28  void fill(const xAOD::TrackParticle& particle, const float mu, const unsigned int nVtx, float weight);
29 
30  void fill(const xAOD::TrackParticle& particle, const xAOD::TruthParticle& truthie, float weight);
31 
32 private:
33 
36 
37 
42 
45 
48 
53 
58 
63 
68 
73 
78 
79 
80  // plot base has nop default implementation of this; we use it to book the histos
81  void initializePlots();
82  // print out final stats on exact zeroes
83  void finalizePlots();
84 };
85 
86 
87 
88 
89 #endif
InDetPerfPlot_TRTExtension::m_ptresTRTExtensions_vs_pt
TH2 * m_ptresTRTExtensions_vs_pt
Definition: InDetPerfPlot_TRTExtension.h:50
InDetPerfPlot_TRTExtension::m_chi2ndofTRTExtensions
TH1 * m_chi2ndofTRTExtensions
Definition: InDetPerfPlot_TRTExtension.h:46
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
InDetPerfPlot_TRTExtension
class holding Pt plots for Inner Detector RTT Validation and implementing fill methods
Definition: InDetPerfPlot_TRTExtension.h:24
InDetPerfPlot_TRTExtension::m_pullmeanTRTExtensions_vs_eta
TH1 * m_pullmeanTRTExtensions_vs_eta
Definition: InDetPerfPlot_TRTExtension.h:70
InDetPerfPlot_TRTExtension::m_resmeanTRTExtensions_vs_pt
TH1 * m_resmeanTRTExtensions_vs_pt
Definition: InDetPerfPlot_TRTExtension.h:57
InDetPerfPlot_TRTExtension::m_ptresNoTRTExtensions_vs_pt
TH2 * m_ptresNoTRTExtensions_vs_pt
Definition: InDetPerfPlot_TRTExtension.h:52
InDetPerfPlot_TRTExtension::m_fracTRTExtensions_vs_nvertices
TEfficiency * m_fracTRTExtensions_vs_nvertices
Definition: InDetPerfPlot_TRTExtension.h:41
InDetPerfPlot_TRTExtension::m_resolutionHelper
IDPVM::ResolutionHelper m_resolutionHelper
Definition: InDetPerfPlot_TRTExtension.h:34
InDetPerfPlot_TRTExtension::m_ptpullTRTExtensions_vs_eta
TH2 * m_ptpullTRTExtensions_vs_eta
Definition: InDetPerfPlot_TRTExtension.h:64
InDetPerfPlot_TRTExtension::m_resmeanNoTRTExtensions_vs_pt
TH1 * m_resmeanNoTRTExtensions_vs_pt
Definition: InDetPerfPlot_TRTExtension.h:62
InDetPerfPlot_TRTExtension::m_pullmeanNoTRTExtensions_vs_eta
TH1 * m_pullmeanNoTRTExtensions_vs_eta
Definition: InDetPerfPlot_TRTExtension.h:75
InDetPerfPlot_TRTExtension::m_pullwidthNoTRTExtensions_vs_pt
TH1 * m_pullwidthNoTRTExtensions_vs_pt
Definition: InDetPerfPlot_TRTExtension.h:76
InDetPerfPlot_TRTExtension::m_chi2ndofNoTRTExtensions
TH1 * m_chi2ndofNoTRTExtensions
Definition: InDetPerfPlot_TRTExtension.h:47
IDPVM::ResolutionHelper
Definition: InnerDetector/InDetValidation/InDetPhysValMonitoring/InDetPhysValMonitoring/ResolutionHelper.h:28
InDetPerfPlot_TRTExtension::m_resmeanNoTRTExtensions_vs_eta
TH1 * m_resmeanNoTRTExtensions_vs_eta
Definition: InDetPerfPlot_TRTExtension.h:60
InDetPerfPlot_TRTExtension::m_fracTRTExtensions_matched_vs_pt
TEfficiency * m_fracTRTExtensions_matched_vs_pt
Definition: InDetPerfPlot_TRTExtension.h:44
InDetPerfPlot_TRTExtension::m_reswidthNoTRTExtensions_vs_pt
TH1 * m_reswidthNoTRTExtensions_vs_pt
Definition: InDetPerfPlot_TRTExtension.h:61
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
InDetPerfPlot_TRTExtension::m_ptpullNoTRTExtensions_vs_eta
TH2 * m_ptpullNoTRTExtensions_vs_eta
Definition: InDetPerfPlot_TRTExtension.h:66
InDetPerfPlot_TRTExtension::m_ptpullTRTExtensions_vs_pt
TH2 * m_ptpullTRTExtensions_vs_pt
Definition: InDetPerfPlot_TRTExtension.h:65
InDetPerfPlot_TRTExtension::fill
void fill(const xAOD::TrackParticle &particle, float weight)
Definition: InDetPerfPlot_TRTExtension.cxx:108
InDetPerfPlot_TRTExtension::m_reswidthNoTRTExtensions_vs_eta
TH1 * m_reswidthNoTRTExtensions_vs_eta
Definition: InDetPerfPlot_TRTExtension.h:59
ResolutionHelper.h
InDetPlotBase
Mixin class to give extra capabilities to plots such as ATH_MSG and an easier booking interface,...
Definition: InDetPlotBase.h:33
InDetPerfPlot_TRTExtension::m_fracTRTExtensions_vs_pt
TEfficiency * m_fracTRTExtensions_vs_pt
Definition: InDetPerfPlot_TRTExtension.h:39
InDetPlotBase.h
InDetPerfPlot_TRTExtension::m_ptresTRTExtensions_vs_eta
TH2 * m_ptresTRTExtensions_vs_eta
Definition: InDetPerfPlot_TRTExtension.h:49
InDetPerfPlot_TRTExtension::m_pullwidthTRTExtensions_vs_eta
TH1 * m_pullwidthTRTExtensions_vs_eta
Definition: InDetPerfPlot_TRTExtension.h:69
InDetPerfPlot_TRTExtension::m_pullwidthNoTRTExtensions_vs_eta
TH1 * m_pullwidthNoTRTExtensions_vs_eta
Definition: InDetPerfPlot_TRTExtension.h:74
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:37
InDetPerfPlot_TRTExtension::finalizePlots
void finalizePlots()
Definition: InDetPerfPlot_TRTExtension.cxx:201
InDetPerfPlot_TRTExtension::InDetPerfPlot_TRTExtension
InDetPerfPlot_TRTExtension(InDetPlotBase *pParent, const std::string &dirName)
Definition: InDetPerfPlot_TRTExtension.cxx:20
InDetPerfPlot_TRTExtension::m_fracTRTExtensions_vs_eta
TEfficiency * m_fracTRTExtensions_vs_eta
Definition: InDetPerfPlot_TRTExtension.h:38
InDetPerfPlot_TRTExtension::m_pullmeanTRTExtensions_vs_pt
TH1 * m_pullmeanTRTExtensions_vs_pt
Definition: InDetPerfPlot_TRTExtension.h:72
InDetPerfPlot_TRTExtension::m_reswidthTRTExtensions_vs_pt
TH1 * m_reswidthTRTExtensions_vs_pt
Definition: InDetPerfPlot_TRTExtension.h:56
InDetPerfPlot_TRTExtension::m_pullmeanNoTRTExtensions_vs_pt
TH1 * m_pullmeanNoTRTExtensions_vs_pt
Definition: InDetPerfPlot_TRTExtension.h:77
InDetPerfPlot_TRTExtension::m_fracTRTExtensions_vs_mu
TEfficiency * m_fracTRTExtensions_vs_mu
Definition: InDetPerfPlot_TRTExtension.h:40
InDetPerfPlot_TRTExtension::initializePlots
void initializePlots()
Definition: InDetPerfPlot_TRTExtension.cxx:61
InDetPerfPlot_TRTExtension::m_fracTRTExtensions_matched_vs_eta
TEfficiency * m_fracTRTExtensions_matched_vs_eta
Definition: InDetPerfPlot_TRTExtension.h:43
InDetPerfPlot_TRTExtension::m_ptpullNoTRTExtensions_vs_pt
TH2 * m_ptpullNoTRTExtensions_vs_pt
Definition: InDetPerfPlot_TRTExtension.h:67
InDetPerfPlot_TRTExtension::m_reswidthTRTExtensions_vs_eta
TH1 * m_reswidthTRTExtensions_vs_eta
Definition: InDetPerfPlot_TRTExtension.h:54
InDetPerfPlot_TRTExtension::m_pullwidthTRTExtensions_vs_pt
TH1 * m_pullwidthTRTExtensions_vs_pt
Definition: InDetPerfPlot_TRTExtension.h:71
IDPVM::ResolutionHelper::methods
methods
methods acc to which mean&RMS can be evaluated
Definition: InnerDetector/InDetValidation/InDetPhysValMonitoring/InDetPhysValMonitoring/ResolutionHelper.h:36
InDetPerfPlot_TRTExtension::m_resmeanTRTExtensions_vs_eta
TH1 * m_resmeanTRTExtensions_vs_eta
Definition: InDetPerfPlot_TRTExtension.h:55
InDetPerfPlot_TRTExtension::m_ptresNoTRTExtensions_vs_eta
TH2 * m_ptresNoTRTExtensions_vs_eta
Definition: InDetPerfPlot_TRTExtension.h:51
TrackParticle.h
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
TruthParticle.h
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
InDetPerfPlot_TRTExtension::m_resolutionMethod
IDPVM::ResolutionHelper::methods m_resolutionMethod
Definition: InDetPerfPlot_TRTExtension.h:35