FairShip
Loading...
Searching...
No Matches
TTPoint Class Reference

#include <TTPoint.h>

Inheritance diagram for TTPoint:
[legend]
Collaboration diagram for TTPoint:
[legend]

Public Member Functions

 TTPoint ()=default
 TTPoint (Int_t trackID, Int_t detID, const TVector3 &pos, const TVector3 &mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgCode)
Public Member Functions inherited from SHiP::DetectorPoint
 DetectorPoint ()=default
 ~DetectorPoint () override=default
 DetectorPoint (Int_t eventID, Int_t trackID, Int_t detID, const TVector3 &pos, const TVector3 &mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgCode, const TVector3 &Lpos, const TVector3 &Lmom)
 DetectorPoint (Int_t eventID, Int_t trackID, Int_t detID, const TVector3 &pos, const TVector3 &mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgCode)
 DetectorPoint (const DetectorPoint &point)=default
DetectorPoint & operator= (const DetectorPoint &point)=default
virtual void Print () const
Int_t PdgCode () const
TVector3 LastPoint () const
TVector3 LastMom () const
virtual void extraPrintInfo () const

Additional Inherited Members

Protected Attributes inherited from SHiP::DetectorPoint
Int_t fPdgCode
std::array< Double_t, 3 > fLpos
std::array< Double_t, 3 > fLmom

Detailed Description

Definition at line 11 of file TTPoint.h.

Constructor & Destructor Documentation

◆ TTPoint() [1/2]

TTPoint::TTPoint ( )
default

Default constructor

◆ TTPoint() [2/2]

TTPoint::TTPoint ( Int_t trackID,
Int_t detID,
const TVector3 & pos,
const TVector3 & mom,
Double_t tof,
Double_t length,
Double_t eLoss,
Int_t pdgCode )
inline

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posCoordinates at entrance to active volume [cm]
momMomentum of track at entrance [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]
pdgCodePDG code of the track

Definition at line 26 of file TTPoint.h.

28 : SHiP::DetectorPoint(0, trackID, detID, pos, mom, tof, length, eLoss,
29 pdgCode) {}

The documentation for this class was generated from the following file: