Go to the documentation of this file.
48 if (onLayer && tc2 > 0) {
55 if (particleMovesInwards != particleMovesInwards2) {
72 position_.SetXYZT(position_.X() + momentum_.X() / momentum_.E() * deltaTimeC,
73 position_.Y() + momentum_.Y() / momentum_.E() * deltaTimeC,
74 position_.Z() + momentum_.Z() / momentum_.E() * deltaTimeC,
math::XYZTLorentzVector position_
position of the particle that was used to create trajectory
static constexpr double speedOfLight
Speed of light [cm / ns].
math::XYZTLorentzVector momentum_
momentum of the particle that was used to create trajectory
Implementation of a barrel detector layer (cylindrical).
constexpr std::array< uint8_t, layerIndexSize > layer
void move(double deltaTimeC) override
Move the particle along the helix trajectory for a given time.
double nextCrossingTimeC(const BarrelSimplifiedGeometry &layer, bool onLayer=false) const override
Return delta time (t*c) of the next intersection of trajectory and barrel layer.