Skip to content

Commit 4dcdf4c

Browse files
committed
feat: add Truthiness datatype for Monte Carlo comparisons
1 parent d9fb5a5 commit 4dcdf4c

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:
@@ -623,6 +623,32 @@ datatypes:
623623
- edm4eic::Track from // reference to the track
624624
- edm4eic::ProtoCluster to // reference to the protocluster
625625

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

0 commit comments

Comments
 (0)