Skip to content
Snippets Groups Projects
Commit fcc9e088 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Flesh out Trajectory structure to store a set of trajectory points

parent 108f9e00
No related branches found
No related tags found
1 merge request!62Flesh out Trajectory structure to store a set of trajectory points
Pipeline #22267 failed
...@@ -245,6 +245,13 @@ components: ...@@ -245,6 +245,13 @@ components:
- uint32_t index // Raw index of the hit in the relevant array - uint32_t index // Raw index of the hit in the relevant array
- eic::Weight weight // weight of the hit - eic::Weight weight // weight of the hit
## A point along a trajectory
eic::TrajectoryPoint:
Members:
- eic::VectorXYZ position // Position of the trajectory point
- eic::VectorPolar p // 3-momentum at the point (in P, theta, phi)
- float pathlength // Pathlength from the origin to this point
datatypes: datatypes:
## ========================================================================== ## ==========================================================================
...@@ -483,23 +490,22 @@ datatypes: ...@@ -483,23 +490,22 @@ datatypes:
Description: "Trajectory" Description: "Trajectory"
Author: "W. Armstrong, S. Joosten" Author: "W. Armstrong, S. Joosten"
Members: Members:
- eic::Index ID // Unique trajectory ID, the value equals the track ID. - eic::Index ID // Unique trajectory ID
- eic::Index protoTrackID // Proto track index - eic::Index trackID // Corresponding track ID
- eic::Index parameters // Index for track parameters - eic::VectorXYZ momentum // 3-momentum at the vertex for the trajectory
- eic::VectorXYZT momentum // Postion of vertex [mm]
- float length // Track length from first to last hit[mm]
- float charge // Charge of particle trajectory - float charge // Charge of particle trajectory
- float TOF // Time of flight from first to last hit [ns] VectorMembers:
- eic::TrajectoryPoint points // Points along this trajectory
eic::Track: eic::Track:
Description: "Particle Track" Description: "Track information"
Author: "W. Armstrong, S. Joosten" Author: "W. Armstrong, S. Joosten"
Members: Members:
- eic::Index ID // Unique track ID. - eic::Index ID // Unique track ID, same as the ID in the corresponding TrackParameters
- eic::Index parameters // Index for track parameters - eic::VectorXYZ momentum // Track momementum
- eic::VectorXYZT momentum // Momentum of vertex [mm] - float charge // Charge of particle trajectory
- float length // Track length from first to last hit[mm]
- float TOF // Time of flight from first to last hit [ns]
## ========================================================================== ## ==========================================================================
## Vertexing ## Vertexing
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment