17#include "Math/Vector4D.h"
19#include "TLorentzVector.h"
34 ROOT::Math::XYZTVector xyzt,
35 ROOT::Math::PxPyPzMVector pm,
36 std::array<int, kLAST + 1> nPoints);
39 R3BMCTrack(TParticle* particle, std::array<int, kLAST + 1> nPoints,
int fMC);
45 void Print(Option_t* option =
"")
const override;
DetectorId
Unique identifier for all R3B detector systems.
const int fPdgCode
PDG particle code.
const std::array< int, kLAST+1 > fNPoints
Array representing the number of MCPoints for this track in each subdetector.
int fMotherId
Index of mother track.
int GetPdgCode() const
Accessors.
double GetRapidity() const
ROOT::Math::XYZTVector GetStartVertex() const
ROOT::Math::PxPyPzEVector GetFourMomentum() const
int GetNPoints(DetectorId detId) const
Accessors to the number of MCPoints in the detectors.
ClassDefOverride(R3BMCTrack, 3)
ROOT::Math::PxPyPzMVector GetMomentumMass() const
const ROOT::Math::PxPyPzMVector fMomentumMass
Momentum and mass at start vertex [GeV].
void Print(Option_t *option="") const override
Output to screen.
R3BMCTrack()
Default constructor.
~R3BMCTrack() override=default
Destructor.
const ROOT::Math::XYZTVector fStartVertex
Coordinates of start vertex [cm, ns].
void SetMotherId(int id)
Modifiers.