5#ifndef INDETTRACKPERFMON_PLOTS_HITSONTRACKSPLOTS_H
6#define INDETTRACKPERFMON_PLOTS_HITSONTRACKSPLOTS_H
28 const std::string& dirName,
29 const std::string& anaTag,
30 const std::string& testType,
31 const std::string& refType,
33 bool doGlobalPlots =
false,
34 bool doTruthMuPlots =
false,
36 bool doExpert =
false );
43 const std::string& dirName,
44 const std::string& anaTag,
45 const std::string& trackType,
47 bool doGlobalPlots =
false,
48 bool doTruthMuPlots =
false,
49 bool doExpert =
false );
60 template<
typename PTEST,
typename PREF=PTEST >
62 const PTEST& ptest,
const PREF&
pref,
63 float truthMu,
float actualMu,
float weight );
67 template<
typename PARTICLE >
69 const PARTICLE& particle,
70 float truthMu,
float actualMu,
float weight );
121 "nInnerMostPixelHits",
122 "nInnerMostPixelEndcapHits",
123 "nNextToInnerMostPixelHits",
124 "nNextToInnerMostPixelEndcapHits",
125 "nInnerMostPixelSharedHits",
126 "nInnerMostPixelSharedEndcapHits",
135 "nInnerMostPixelOutliers",
136 "nInnerMostPixelEndcapOutliers",
137 "nInnerMostPixelSplitHits",
138 "nInnerMostPixelSplitEndcapHits",
139 "nExpectedInnerMostPixelHits",
140 "nExpectedNextToInnerMostPixelHits",
142 "nPixelContribLayers",
145 "nPixelGangedHitsFlaggedFakes",
171 "nTRTHighThresholdHits",
172 "nTRTHighThresholdHitsXe",
173 "nTRTHighThresholdHitsAr",
176 "nTRTHighThresholdOutliers"
Derived class to give extra capabilities to TrkValHistUtils/PlotBase.h such as ATH_MSG and an easier ...
std::string m_run3HitParamName[NRUN3HITPARAMSTOT]
TProfile2D * m_hitsRun3_vsMu_vs[NRUN3HITPARAMSTOT][NPARAMSMU][NPARAMS]
@ NTRTHighThresholdHitsXe
@ NTRTHighThresholdHitsAr
@ NTRTHighThresholdOutliers
@ NTRTOutliers
for greater detail level plots
HitsOnTracksPlots(PlotMgr *pParent, const std::string &dirName, const std::string &anaTag, const std::string &testType, const std::string &refType, bool isITk, bool doGlobalPlots=false, bool doTruthMuPlots=false, bool do1D=false, bool doExpert=false)
Constructor A for test_Hits-vs-reference plots e.g.
std::string m_paramName[NPARAMS]
TProfile * m_hits_vsMu[NHITPARAMSTOT][NPARAMSMU]
TProfile plots vs mu (truth and actual)
TProfile2D * m_hits_vs2D[NHITPARAMSTOT][NPARAMS][NPARAMS]
TProfile2D plots vs NPARAMS vs NPARAMS.
TProfile * m_hits_vs[NHITPARAMSTOT][NPARAMS]
TProfile plots vs NPARAMS.
TProfile2D * m_hitsRun3_vs2D[NRUN3HITPARAMSTOT][NPARAMS][NPARAMS]
unsigned int m_NHITPARAMS
void finalizePlots()
Print out final stats on histograms.
virtual ~HitsOnTracksPlots()=default
Destructor.
TProfile * m_hitsRun3_vs[NRUN3HITPARAMSTOT][NPARAMS]
unsigned int m_NRUN3HITPARAMS
TH1 * m_hitsRun3[NRUN3HITPARAMSTOT]
StatusCode fillPlots(const PTEST &ptest, const PREF &pref, float truthMu, float actualMu, float weight)
Dedicated fill method A (for tracks and/or truth particles) for test_Hits-vs-reference plots.
TH1 * m_hits[NHITPARAMSTOT]
1D plots
void initializePlots()
Book the histograms.
std::string m_hitParamName[NHITPARAMSTOT]
std::string m_paramMuName[NPARAMSMU]
TProfile * m_hitsRun3_vsMu[NRUN3HITPARAMSTOT][NPARAMSMU]
TProfile2D * m_hits_vsMu_vs[NHITPARAMSTOT][NPARAMSMU][NPARAMS]
TProfile2D plots vs mu (truth and actual) vs NPARAMS.
@ NInnerMostPixelSplitEndcapHits
@ NInnerMostPixelEndcapOutliers
@ NNextToInnerMostPixelEndcapHits
@ NExpectedNextToInnerMostPixelHits
@ NInnerMostPixelSharedHits
@ NPixelGangedHitsFlaggedFakes
@ NInnerMostPixelSplitHits
@ NInnerMostPixelOutliers
for greater detail level plots
@ NInnerMostPixelEndcapHits
@ NNextToInnerMostPixelHits
@ NInnerMostPixelSharedEndcapHits
@ NExpectedInnerMostPixelHits
PlotMgr(const std::string &dirName, const std::string &anaTag, PlotMgr *pParent=nullptr)
Constructor taking parent node and directory name for plots pParent = nullptr by default to book plot...