Skip to content
Snippets Groups Projects
Commit f0702de2 authored by Alexander Kiselev's avatar Alexander Kiselev Committed by christopher dilks
Browse files

Intermediate version with CherenkovParticleID and Trajectory in one file

parent 4254c14c
No related branches found
No related tags found
1 merge request!70add IRT data model
...@@ -200,6 +200,22 @@ components: ...@@ -200,6 +200,22 @@ components:
- float pathlength // Pathlength from the origin to this point - float pathlength // Pathlength from the origin to this point
- float pathlengthError // Error on the pathlenght - float pathlengthError // Error on the pathlenght
## A point along a trajectory
eic::TrajectoryPoint:
Members:
- eic::VectorXYZ position // Position of the trajectory point [mm]
- eic::VectorXYZ p // 3-momentum at the point [GeV]
- eic::Direction direction // (theta, phi) direction of track at the surface [mrad]
- float momentum // magnitude of 3-momentum [GeV]
- float pathlength // Pathlength from the origin to this point
## PID hypothesis from Cherenkov detectors
eic::CherenkovPdgHypothesis:
Members:
- int32_t pdg // PDG code
- int16_t npe // Overall p.e. count associated with this hypothesis for a given track
- float weight // The weight associated with this hypothesis (the higher the more probable)
datatypes: datatypes:
## ========================================================================== ## ==========================================================================
...@@ -269,42 +285,16 @@ datatypes: ...@@ -269,42 +285,16 @@ datatypes:
" "
eic::ChargedParticleLocation: eic::CherenkovParticleID:
Description: "EIC Particle Location"
Author: "A. Kiselev, C. Dilks"
Members:
- eic::Index ID // Unique index
- eic::VectorXYZ p // Momentum vector [GeV]
- eic::VectorXYZ v // 3D location [mm]
- float t // Time [ns]
eic::ChargedParticleTrajectory:
Description: "EIC Charged Particle Trajectory"
Author: "A. Kiselev, C. Dilks"
Members:
- eic::Index ID // Unique index
- std::array<eic::Index, 10> location // (Up to 10, let's be generous) particle locations, ordered in time
- eic::Index recID // Index of the associated ReconstructedParticle particle, if any
eic::CherenkovMassHypothesis:
Description: "Cherenkov detector PID mass hypothesis"
Author: "A. Kiselev, C. Dilks"
Members:
- eic::Index ID // Unique entry ID
- int32_t pdg // PDG code
- int16_t npe // Overall p.e. count associated with this hypothesis for a given track
- float weight // The weight associated with this hypothesis (the higher the more probable)
eic::CherenkovPID:
Description: "Cherenkov detector PID" Description: "Cherenkov detector PID"
Author: "A. Kiselev, C. Dilks" Author: "A. Kiselev, C. Dilks"
Members: Members:
- eic::Index ID // Unique entry ID - eic::Index ID // Unique entry ID
- std::array<eic::Index, 4> hypothesis// (Up to 4) mass hypotheses (e/pi/K/p)
- eic::Index recID // Index of the associated ReconstructedParticle particle, if any - eic::Index recID // Index of the associated ReconstructedParticle particle, if any
VectorMembers:
- eic::CherenkovPdgHypothesis options // Evaluated PDG hypotheses, typically (e/pi/K/p)
## ========================================================================== ## ==========================================================================
## Calorimetry ## Calorimetry
## ========================================================================== ## ==========================================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment