Skip to content

Commit

Permalink
Add association between raw tracker/calorimeter hit and tracker/calor…
Browse files Browse the repository at this point in the history
…imeter hit (#86)

### Briefly, what does this PR introduce?
Add association between raw tracker hit and tracker hit to have full association path from MCParticle to tracker hit.

### What kind of change does this PR introduce?
- [ ] Bug fix (issue #__)
- [ ] New feature (issue #__)
- [ ] Documentation update
- [ ] Other: __

### Please check if this PR fulfills the following:
- [ ] Tests for the changes have been added
- [ ] Documentation has been added / updated
- [ ] Changes have been communicated to collaborators

### Does this PR introduce breaking changes? What changes might users
need to make to their code?

### Does this PR change default behavior?

---------

Co-authored-by: Wouter Deconinck <[email protected]>
Co-authored-by: Dmitry Kalinkin <[email protected]>
Co-authored-by: SAKIB RAHMAN <[email protected]>
  • Loading branch information
4 people authored Jul 26, 2024
1 parent fe43bd6 commit a4caada
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions edm4eic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ datatypes:
- int32_t sector // Sector that this hit occurred in
- int32_t layer // Layer that the hit occurred in
- edm4hep::Vector3f local // The local coordinates of the hit in the detector segment [mm].
OneToOneRelations:
- edm4hep::RawCalorimeterHit rawHit // Related raw calorimeter hit

## ==========================================================================
## Clustering
Expand Down Expand Up @@ -356,7 +358,9 @@ datatypes:
- float timeError // Error on the time
- float edep // Energy deposit in this hit [GeV]
- float edepError // Error on the energy deposit [GeV]

OneToOneRelations:
- edm4eic::RawTrackerHit rawHit // Related raw tracker hit

edm4eic::Measurement2D:
Description: "2D measurement (on an arbitrary surface)"
Author: "W. Deconinck"
Expand Down Expand Up @@ -545,5 +549,14 @@ datatypes:
Members:
- float weight // weight of this association
OneToOneRelations:
- edm4eic::RawTrackerHit rawHit // reference to the digitized hit
- edm4hep::SimTrackerHit simHit // reference to the simulated hit
- edm4eic::RawTrackerHit rawHit // reference to the digitized hit
- edm4hep::SimTrackerHit simHit // reference to the simulated hit

edm4eic::MCRecoCalorimeterHitAssociation:
Description: "Association between a RawCalorimeterHit and a SimCalorimeterHit"
Author: "S. Rahman"
Members:
- float weight // weight of this association
OneToOneRelations:
- edm4hep::RawCalorimeterHit rawHit // reference to the digitized calorimeter hit
- edm4hep::SimCalorimeterHit simHit // reference to the simulated calorimeter hit

0 comments on commit a4caada

Please sign in to comment.