10 #include "FairLogger.h" 12 ERNDTrack::ERNDTrack(
const TVector3& detectorVertex,
const TVector3& targetVertex,
13 float edep,
float time,
float tac)
14 : fTargetVertex(targetVertex)
15 , fDetectorVertex(detectorVertex)
22 TVector3 ERNDTrack::Direction()
const {
23 TVector3 direction = fDetectorVertex - fTargetVertex;