Skip to content

Commit f1a72b7

Browse files
authored
edm4eic.yaml: fix MCRecoTrackerHitAssociation to relate to a single sim hit at a time (#77)
I believe, having sim hits as a OneToMany relation was a mistake. The idea behind having a weight is to specify level of contribution of a specific sim hit. If multiple sim hits are associated, user should expect multiple association records in the collection. We are only now introducing the actual use of this, so now is the good time to do a fix eic/EICrecon#1392 (comment) cc @wdconinc @c-dilks
1 parent 546ab1a commit f1a72b7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.12)
66
project(EDM4EIC
77
LANGUAGES CXX)
88

9-
SET( ${PROJECT_NAME}_VERSION_MAJOR 5 )
9+
SET( ${PROJECT_NAME}_VERSION_MAJOR 6 )
1010
SET( ${PROJECT_NAME}_VERSION_MINOR 0 )
1111
SET( ${PROJECT_NAME}_VERSION_PATCH 0 )
1212
SET( ${PROJECT_NAME}_VERSION "${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}.${${PROJECT_NAME}_VERSION_PATCH}" )

edm4eic.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,5 +546,4 @@ datatypes:
546546
- float weight // weight of this association
547547
OneToOneRelations:
548548
- edm4eic::RawTrackerHit rawHit // reference to the digitized hit
549-
OneToManyRelations:
550-
- edm4hep::SimTrackerHit simHits // reference to the simulated hits
549+
- edm4hep::SimTrackerHit simHit // reference to the simulated hit

0 commit comments

Comments
 (0)