|
| Vec3< Length > | vertex (SHiP::MCParticle const &p) |
| |
| Vec3< Momentum > | momentum (SHiP::MCParticle const &p) |
| |
| Energy | energy (SHiP::MCParticle const &p) |
| | Total energy.
|
| |
| Time | time (SHiP::MCParticle const &p) |
| |
| void | set_vertex (SHiP::MCParticle &p, Vec3< Length > const &v) |
| |
| void | set_momentum (SHiP::MCParticle &p, Vec3< Momentum > const &v) |
| |
| void | set_energy (SHiP::MCParticle &p, Energy e) |
| |
| void | set_time (SHiP::MCParticle &p, Time t) |
| |
| Vec3< Length > | position (SHiP::SimHit const &h) |
| |
| Vec3< Momentum > | momentum (SHiP::SimHit const &h) |
| |
| Energy | energy_deposit (SHiP::SimHit const &h) |
| |
| Time | time (SHiP::SimHit const &h) |
| |
| Length | path_length (SHiP::SimHit const &h) |
| |
| void | set_position (SHiP::SimHit &h, Vec3< Length > const &v) |
| |
| void | set_momentum (SHiP::SimHit &h, Vec3< Momentum > const &v) |
| |
| void | set_energy_deposit (SHiP::SimHit &h, Energy e) |
| |
| void | set_time (SHiP::SimHit &h, Time t) |
| |
| void | set_path_length (SHiP::SimHit &h, Length l) |
| |
| Vec3< Length > | vertex (SHiP::SimParticle const &p) |
| |
| Vec3< Length > | endpoint (SHiP::SimParticle const &p) |
| |
| Vec3< Momentum > | momentum (SHiP::SimParticle const &p) |
| |
| Energy | energy (SHiP::SimParticle const &p) |
| | Initial kinetic energy.
|
| |
| Time | time (SHiP::SimParticle const &p) |
| |
| void | set_vertex (SHiP::SimParticle &p, Vec3< Length > const &v) |
| |
| void | set_endpoint (SHiP::SimParticle &p, Vec3< Length > const &v) |
| |
| void | set_momentum (SHiP::SimParticle &p, Vec3< Momentum > const &v) |
| |
| void | set_energy (SHiP::SimParticle &p, Energy e) |
| |
| void | set_time (SHiP::SimParticle &p, Time t) |
| |
| Vec3< Length > | vertex (SHiP::RecParticle const &p) |
| |
| Vec3< Length > | endpoint (SHiP::RecParticle const &p) |
| |
| Vec3< Momentum > | momentum (SHiP::RecParticle const &p) |
| |
| Energy | energy (SHiP::RecParticle const &p) |
| | Initial kinetic energy.
|
| |
| Time | time (SHiP::RecParticle const &p) |
| |
| Length | ip_pv (SHiP::RecParticle const &p) |
| | Impact parameter wrt the primary vertex.
|
| |
| void | set_vertex (SHiP::RecParticle &p, Vec3< Length > const &v) |
| |
| void | set_endpoint (SHiP::RecParticle &p, Vec3< Length > const &v) |
| |
| void | set_momentum (SHiP::RecParticle &p, Vec3< Momentum > const &v) |
| |
| void | set_energy (SHiP::RecParticle &p, Energy e) |
| |
| void | set_time (SHiP::RecParticle &p, Time t) |
| |
| void | set_ip_pv (SHiP::RecParticle &p, Length l) |
| |
Quantity views over the persisted data classes.
The data classes stay plain-double PODs (ROOT streaming cannot handle mp-units members); these free functions convert to and from the canonical quantity types so computation code never touches an implicit unit. All conversions are bitwise (the storage unit is the quantity's unit).