14#ifndef R3BNEULANDPOINT_H
15#define R3BNEULANDPOINT_H
17#include "FairMCPoint.h"
29 , fParentParticleId{ 0 }
38 const Double_t length,
41 const Double_t lightYield,
42 const int particle_id,
43 const int parent_particle_id)
44 : FairMCPoint{ trackID, detID, pos, mom, tof, length, eLoss, EventId }
45 , fLightYield{ lightYield }
46 , fParticleId{ particle_id }
47 , fParentParticleId{ parent_particle_id }
52 const Double_t lightYield,
53 const int particle_id,
54 const int parent_particle_id)
55 : FairMCPoint{ point }
56 , fLightYield{ lightYield }
57 , fParticleId{ particle_id }
58 , fParentParticleId{ parent_particle_id }
64 [[nodiscard]] auto
GetPaddle() const ->
int {
return GetDetectorID(); }
65 [[nodiscard]]
auto GetLightYield() const ->
double {
return fLightYield; }
66 [[nodiscard]]
auto GetPID() const ->
int {
return fParticleId; }
73 void Print(
const Option_t* )
const override;
80 int fParentParticleId;
auto operator<<(std::ostream &, const R3BNeulandPoint &) -> std::ostream &
auto GetPID() const -> int
void SetParticleId(int particle_id)
void Print(const Option_t *) const override
ClassDefOverride(R3BNeulandPoint, 2)
auto GetPaddle() const -> int
void SetParentParticleId(int particle_id)
auto GetLightYield() const -> double
void SetLightYield(double light_yield)
auto GetPosition() const -> TVector3
auto GetMomentum() const -> TVector3
R3BNeulandPoint(const FairMCPoint &point, const Double_t lightYield, const int particle_id, const int parent_particle_id)
R3BNeulandPoint(const Int_t trackID, const Int_t detID, const TVector3 &pos, const TVector3 &mom, const Double_t tof, const Double_t length, const Double_t eLoss, const UInt_t EventId, const Double_t lightYield, const int particle_id, const int parent_particle_id)