Skip to content

Commit 32f7c7e

Browse files
committed
feat: add Truthiness datatype for Monte Carlo comparisons
1 parent c9129be commit 32f7c7e

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

edm4eic.yaml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ datatypes:
540540
- edm4eic::ReconstructedParticle hadrons // Reconstructed hadrons used in calculation
541541

542542
## ==========================================================================
543-
## Data-Montecarlo relations
543+
## Data-Monte Carlo relations
544544
## ==========================================================================
545545

546546
edm4eic::MCRecoParticleAssociation:
@@ -614,6 +614,32 @@ datatypes:
614614
- edm4eic::Cluster cluster // reference to the cluster
615615
- edm4eic::Track track // reference to the track
616616

617+
## ==========================================================================
618+
## Data-Monte Carlo comparisons
619+
## ==========================================================================
620+
621+
edm4eic::Truthiness:
622+
Description: "Positive-definite convex norm of how confidently wrong the reconstruction is,
623+
with non-negative contributions from various aspects of the reconstruction,
624+
where a zero value indicates a perfect reconstruction."
625+
Author: "W. Deconinck, S. Colbert"
626+
Members:
627+
- float event_truthiness // Overall truthiness of the entire event
628+
- float event_pid_contribution // Contribution of PID matching to truthiness
629+
- float event_energy_contribution // Contribution of energy matching to truthiness
630+
- float event_momentum_contribution // Contribution of momentum matching to truthiness
631+
- float unassociated_mc_particles_contribution // Contribution from unassociated MC particles
632+
- float unassociated_rc_particles_contribution // Contribution from unassociated reconstructed particles
633+
VectorMembers:
634+
- float association_truthiness // Overall truthiness of each association
635+
- float association_pid_contribution // Contribution of PID matching to truthiness
636+
- float association_energy_contribution // Contribution of energy matching to truthiness
637+
- float association_momentum_contribution // Contribution of momentum matching to truthiness
638+
OneToManyRelations:
639+
- edm4eic::MCRecoParticleAssociation associations // Reference to the associated reconstructed particles
640+
- edm4hep::MCParticle unassociated_mc_particles // Reference to the unassociated MC particles
641+
- edm4eic::ReconstructedParticle unassociated_rc_particles // Reference to the unassociated reconstructed particles
642+
617643
links:
618644
edm4eic::TrackProtoClusterLink:
619645
Description: "Link between a ProtoCluster and a Track"

0 commit comments

Comments
 (0)