Skip to content

Commit

Permalink
feat: Vertex classification for VertexPerformanceWriter in Examples (
Browse files Browse the repository at this point in the history
…acts-project#3044)

This modifies the truth matching in the `VertexPerformanceWriter` and adds classification for clean/merged/split reco vertices.

blocked by
- acts-project#2998
  • Loading branch information
andiwand authored and Ragansu committed Apr 19, 2024
1 parent 862e996 commit c938eb4
Show file tree
Hide file tree
Showing 13 changed files with 441 additions and 278 deletions.
Binary file not shown.
Binary file not shown.
Binary file modified CI/physmon/reference/performance_amvf_orthogonal_hist.root
Binary file not shown.
Binary file modified CI/physmon/reference/performance_amvf_seeded_hist.root
Binary file not shown.
Binary file modified CI/physmon/reference/performance_amvf_truth_estimated_hist.root
Binary file not shown.
Binary file modified CI/physmon/reference/performance_amvf_truth_smeared_hist.root
Binary file not shown.
Binary file modified CI/physmon/reference/performance_amvf_ttbar_hist.root
Binary file not shown.
Binary file modified CI/physmon/reference/performance_ivf_orthogonal_hist.root
Binary file not shown.
Binary file modified CI/physmon/reference/performance_ivf_seeded_hist.root
Binary file not shown.
Binary file modified CI/physmon/reference/performance_ivf_truth_estimated_hist.root
Binary file not shown.
Binary file modified CI/physmon/reference/performance_ivf_truth_smeared_hist.root
Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ class TTree;

namespace ActsExamples {

enum class RecoVertexClassification {
Unknown = 0,
Clean,
Merged,
Split,
};

/// @class VertexPerformanceWriter
///
/// Writes out the number of reconstructed primary vertices along with
Expand Down Expand Up @@ -106,6 +113,10 @@ class VertexPerformanceWriter final
int m_nRecoVtx = -1;
/// Number of true vertices
int m_nTrueVtx = -1;
/// Number of merged vertices
int m_nMergedVtx = -1;
/// Number of split vertices
int m_nSplitVtx = -1;
/// Number of vertices in detector acceptance
int m_nVtxDetAcceptance = -1;
/// Max. number of reconstructable vertices (detector acceptance + tracking
Expand Down Expand Up @@ -155,6 +166,9 @@ class VertexPerformanceWriter final
/// Number of tracks associated with the truth vertex
std::vector<int> m_nTracksOnTruthVertex;

/// Classification of the reconstructed vertex see RecoVertexClassification
std::vector<int> m_recoVertexClassification;

// True 4D vertex position
std::vector<double> m_truthX;
std::vector<double> m_truthY;
Expand Down

0 comments on commit c938eb4

Please sign in to comment.