Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add structures to save track seed info, and associate tracker hits ba… #65

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 46 additions & 17 deletions edm4eic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@ 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 // reference to raw hits. should be one to one.

edm4eic::Measurement2D:
Description: "2D measurement (on an arbitrary surface)"
Expand All @@ -371,6 +373,32 @@ datatypes:
- edm4eic::TrackerHit hits // Hits in this measurement (single or clustered)




edm4eic::TrackParameters:
Description: "ACTS Bound Track parameters"
Author: "W. Armstrong, S. Joosten, J. Osborn"
Members:
- int32_t type // Type of track parameters (-1/seed, 0/head, ...)
- uint64_t surface // Surface for bound parameters (geometryID)
- edm4hep::Vector2f loc // 2D location on surface
- float theta // Track polar angle [rad]
- float phi // Track azimuthal angle [rad]
- float qOverP // [e/GeV]
- float time // Track time [ns]
- int32_t pdg // pdg pid for these parameters
- edm4eic::Cov6f covariance // Full covariance in basis [l0,l1,theta,phi,q/p,t]

edm4eic::TrackSeed:
Description: "save seed info from the realistic seed finder"
Author: "S. Li"
Members:
- edm4hep::Vector3f perigee // vector to create the perigee (line surface)
OneToManyRelations:
- edm4eic::TrackerHit triplet // three tracker hits used to form the seed
oneToOneRelations:
- edm4eic::TrackParameters seedParams // initial track parameters from fitting the triplet

edm4eic::Trajectory:
Description: "Raw trajectory from the tracking algorithm. What is called hit here is 2d measurement indeed."
Author: "S. Joosten, S. Li"
Expand All @@ -386,20 +414,8 @@ datatypes:
- float outlierChi2 // Chi2 for each of the outliers
OneToManyRelations:
- edm4eic::TrackParameters trackParameters // Associated track parameters, if any

edm4eic::TrackParameters:
Description: "ACTS Bound Track parameters"
Author: "W. Armstrong, S. Joosten, J. Osborn"
Members:
- int32_t type // Type of track parameters (-1/seed, 0/head, ...)
- uint64_t surface // Surface for bound parameters (geometryID)
- edm4hep::Vector2f loc // 2D location on surface
- float theta // Track polar angle [rad]
- float phi // Track azimuthal angle [rad]
- float qOverP // [e/GeV]
- float time // Track time [ns]
- int32_t pdg // pdg pid for these parameters
- edm4eic::Cov6f covariance // Full covariance in basis [l0,l1,theta,phi,q/p,t]
OneToOneRelations:
- edm4eic::TrackSeed seed // Associated seed


edm4eic::Track:
Expand Down Expand Up @@ -526,8 +542,21 @@ datatypes:
Description: "Association between a RawTrackerHit and a SimTrackerHit"
Author: "C. Dilks, W. Deconinck"
Members:
- float weight // weight of this association
- float weight // weight of this association
OneToOneRelations:
- edm4eic::RawTrackerHit rawHit // reference to the digitized hit
OneToManyRelations:
- edm4hep::SimTrackerHit simHits // reference to the simulated hits


edm4eic::MCParticleRecoHitAssociation:
Description: "Association between a TrackHit and MCParticles. One tracker hit can be linked to multiple raw hits hence multiple particles"
Author : "S. Li"
VectorMembers:
- uint32_t simIDs // Index of corresponding MCParticles (position in MCParticles array)
- float weights // weight of this association
OneToOneRelations:
- edm4eic::RawTrackerHit rawHit // reference to the digitized hit
- edm4eic::TrackerHit trackHit // reference to the hit
OneToManyRelations:
- edm4hep::SimTrackerHit simHits // reference to the simulated hits
- edm4hep::MCParticle mcParticles // reference to the Monte-Carlo particle

Loading