5#ifndef INDETPHYSVALMONITORING_INDETPERFPLOT_VERTEXTRUTHMATCHING
6#define INDETPHYSVALMONITORING_INDETPERFPLOT_VERTEXTRUTHMATCHING
47 void fill(
const xAOD::Vertex* recoHardScatter,
const xAOD::VertexContainer& vertexContainer,
const std::vector<const xAOD::TruthVertex*>& truthHSVertices,
const std::vector<const xAOD::TruthVertex*>& truthPUVertices,
float actualMu,
float weight=1.0);
164 using TH1_map = std::map<int, std::map<InDetVertexTruthMatchUtils::VertexMatchType, TH1*>>;
189 template<
typename U,
typename V>
191 float getLocalPUDensity(
const xAOD::TruthVertex* vtxOfInterest,
const std::vector<const xAOD::TruthVertex*>& truthHSVertices,
const std::vector<const xAOD::TruthVertex*>& truthPUVertices,
const float radialWindow = 2.0)
const;
methods
methods acc to which mean&RMS can be evaluated
TH2 * m_vx_all_truth_x_res_vs_PU
TProfile * m_vx_hs_reco_long_reso
TProfile * m_vx_nReco_vs_nTruth_split
static const xAOD::Vertex * getHSRecoVertexSumPt2(const xAOD::VertexContainer &recoVertices)
TH2 * m_vx_all_truth_z_pull_vs_nTrk
void fill(const xAOD::Vertex &vertex, const xAOD::TruthVertex *tvrt=0, float weight=1.0)
TH2 * m_vx_all_truth_x_pull_vs_PU
TH2 * m_vx_all_truth_y_res_vs_PU
TProfile * m_vx_nReco_vs_nTruth_hssplit
TH1 * m_vx_hs_classification
hardscatter classification
TH2 * m_vx_hs_truth_y_pull_vs_PU
TH2 * m_resHelper_PUdensity_hsVxTruthTransv
TH2 * m_vx_hs_truth_x_res_vs_PU
static float getRecoLongitudinalReso(const xAOD::Vertex *recoVtx)
TEfficiency * m_vx_hs_sel_eff_vs_nReco
TH2 * m_vx_all_truth_y_res_vs_nTrk
float getLocalPUDensity(const xAOD::TruthVertex *vtxOfInterest, const std::vector< const xAOD::TruthVertex * > &truthHSVertices, const std::vector< const xAOD::TruthVertex * > &truthPUVertices, const float radialWindow=2.0) const
TH2 * m_vx_hs_truth_z_res_vs_nTrk
TEfficiency * m_vx_hs_reco_eff_vs_ntruth
TProfile * m_vx_nReco_vs_nTruth_inclusive
vertex reco efficiency
TH2 * m_vx_all_truth_z_res_vs_nTrk
TEfficiency * m_vx_hs_sel_eff_vs_ntruth
TProfile * m_vx_nReco_vs_nTruth_highpu
TH1_map m_vx_chi2Over_ndf
TH2 * m_vx_hs_truth_x_res_vs_nTrk
TH1_map m_vx_z_asym_weighted
TH2 * m_vx_all_truth_z_pull_vs_PU
TH2 * m_vx_hs_truth_y_res_vs_PU
TEfficiency * m_vx_hs_reco_sel_eff
TH2 * m_vx_all_truth_x_res_vs_nTrk
TH2 * m_resHelper_mu_hsVxTruthLong
float m_cutMinTruthRecoRadialDiff
TProfile * m_vx_nReco_vs_nTruth_fake
std::map< int, std::map< InDetVertexTruthMatchUtils::VertexMatchType, TH1 * > > TH1_map
TProfile * m_vx_nReco_vs_nTruth_merged
TH2 * m_vx_all_truth_y_pull_vs_PU
TH1 * m_resmean_vs_PUdensity_hsVxTruthLong
static float getRecoTransverseReso(const xAOD::Vertex *recoVtx)
TProfile * m_vx_nReco_vs_nTruth_lowpu
IDPVM::ResolutionHelper m_resolutionHelper
TProfile * m_vx_nReco_vs_nTruth_none
TH1 * m_vx_time_diff
vertex time
TProfile * m_vx_nReco_vs_nTruth_dummy
TH2 * m_vx_hs_truth_y_pull_vs_nTrk
TH1 * m_resolution_vs_PUdensity_hsVxTruthLong
TEfficiency * m_vx_hs_reco_eff
TProfile * m_vx_hs_reco_trans_reso
TH1_map m_vx_normalised_track_weight
TEfficiency * m_vx_hs_reco_eff_mu
TH1 * m_vx_type_truth
truth type
TH2 * m_vx_all_truth_z_res_vs_PU
TH2 * m_vx_hs_truth_z_res_vs_PU
TH2 * m_vx_hs_truth_x_pull_vs_PU
TH1 * m_resolution_vs_mu_hsVxTruthLong
TH1 * m_resmean_vs_mu_hsVxTruthLong
TEfficiency * m_vx_hs_sel_eff_dist
TH2 * m_vx_hs_truth_z_pull_vs_nTrk
TH2 * m_vx_hs_truth_z_pull_vs_PU
TH2 * m_vx_hs_truth_x_pull_vs_nTrk
TEfficiency * m_vx_hs_sel_eff_mu
TEfficiency * m_vx_hs_sel_eff_dist_vs_nReco
TH2 * m_vx_all_truth_x_pull_vs_nTrk
float getRadialDiff2(const U *vtx1, const V *vtx2) const
TH2 * m_vx_all_truth_y_pull_vs_nTrk
TProfile * m_vx_nReco_vs_nTruth_matched
TH1 * m_resmean_vs_PUdensity_hsVxTruthTransv
TProfile * m_vx_nReco_vs_nTruth_clean
TH1 * m_resolution_vs_PUdensity_hsVxTruthTransv
TEfficiency * m_vx_hs_reco_sel_eff_vs_ntruth
TH1 * m_vx_time_diff_pull
TH2 * m_vx_hs_truth_y_res_vs_nTrk
TH2 * m_resHelper_PUdensity_hsVxTruthLong
const xAOD::TruthVertex * getTruthVertex(const xAOD::Vertex *recoVtx) const
InDetPerfPlot_VertexTruthMatching(InDetPlotBase *pParent, const std::string &dirName, const int detailLevel=10, bool isITk=false)
TH1_map m_vx_track_weight
IDPVM::ResolutionHelper::methods m_resolutionMethod
TH2 * m_vx_nTruth_vs_PUdensity
TEfficiency * m_vx_hs_sel_eff
InDetPlotBase(InDetPlotBase *pParent, const std::string &dirName)
Constructor taking parent node and directory name for plots.
TruthVertex_v1 TruthVertex
Typedef to implementation.
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Vertex_v1 Vertex
Define the latest version of the vertex class.