Skip to content
Snippets Groups Projects

Draft: Tof pid plugin

Open Alexander Kiselev requested to merge tof-pid-plugin into master
+ 38
2
@@ -34,7 +34,7 @@ components:
- int32_t source
ExtraCode:
declaration: "
Index() : source{0}, value{-1} {}\n
Index() : value{-1}, source{0} {}\n
Index(int32_t id) : value{id}, source{0} {}\n
Index(int32_t id, int32_t src) : value{id}, source{src} {}\n
Index(Index rhs, int32_t new_src) : Index(rhs.value, new_src) {} \n
@@ -253,7 +253,23 @@ components:
- 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:
- char radiator // Radiator number (0/1/..) in a sequence of the IRTAlgorithm configuration file
- int32_t pdg // PDG code
- float 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)
## PID hypothesis from TOF detector(s)
eic::TofPdgHypothesis:
Members:
- char detector // Let's say 0[e-endcap] / 1[barrel] / 2[h-endcap]
- int32_t pdg // PDG code
- float chi2cdf // Like chi^2 cumulative distribution function for [tof_meas-tof_hyp]^2/sigma^2
- float reserved // Reserved field
datatypes:
## ==========================================================================
@@ -313,6 +329,26 @@ datatypes:
- eic::Index tofID // Index of the associated TOF info, if any
- eic::Index mcID // Index of the associated MC particle, if any
eic::CherenkovParticleID:
Description: "Cherenkov detector PID"
Author: "A. Kiselev, C. Dilks"
Members:
- eic::Index ID // Unique entry ID
- eic::Index recID // Index of the associated ReconstructedParticle particle, if any
VectorMembers:
- eic::CherenkovPdgHypothesis options // Evaluated PDG hypotheses, typically (e/pi/K/p)
eic::TofParticleID:
Description: "TOF detector PID"
Author: "Z. Ye"
Members:
- eic::Index ID // Unique entry ID
- eic::Index recID // Index of the associated ReconstructedParticle particle, if any
- float reserved // Reserved field
VectorMembers:
- eic::TofPdgHypothesis options // Evaluated PDG hypotheses, typically (e/pi/K/p)
## ==========================================================================
## Calorimetry
## ==========================================================================
Loading