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

#include <TimeDetPoint.h>

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

Public Member Functions

 TimeDetPoint ()
 ~TimeDetPoint () override
void extraPrintInfo () const override
 DetectorPoint ()=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
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

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 14 of file TimeDetPoint.h.

Constructor & Destructor Documentation

◆ TimeDetPoint()

TimeDetPoint::TimeDetPoint ( )

Default constructor

Definition at line 12 of file TimeDetPoint.cxx.

12: SHiP::DetectorPoint() {}

◆ ~TimeDetPoint()

TimeDetPoint::~TimeDetPoint ( )
overridedefault

Destructor

Member Function Documentation

◆ DetectorPoint() [1/4]

◆ DetectorPoint() [2/4]

SHiP::DetectorPoint::DetectorPoint ( const DetectorPoint & point)
default

Copy constructor

◆ DetectorPoint() [3/4]

SHiP::DetectorPoint::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 )

Definition at line 24 of file DetectorPoint.cxx.

25 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss, eventID),
26 fPdgCode(pdgcode),
27 fLpos{pos.X(), pos.Y(), pos.Z()},
28 fLmom{mom.X(), mom.Y(), mom.Z()} {}
std::array< Double_t, 3 > fLmom
std::array< Double_t, 3 > fLpos

◆ DetectorPoint() [4/4]

SHiP::DetectorPoint::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 )

Definition at line 19 of file DetectorPoint.cxx.

15 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss, eventID),
16 fPdgCode(pdgcode),
17 fLpos{Lpos.X(), Lpos.Y(), Lpos.Z()},
18 fLmom{Lmom.X(), Lmom.Y(), Lmom.Z()} {}

◆ extraPrintInfo()

void TimeDetPoint::extraPrintInfo ( ) const
overridevirtual

Reimplemented from SHiP::DetectorPoint.

Definition at line 19 of file TimeDetPoint.cxx.

19 {
20 LOG(info) << "This is the time detector";
21}

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