SND@LHC Software
Loading...
Searching...
No Matches
TimeDetPoint Class Reference

#include <TimeDetPoint.h>

Inheritance diagram for TimeDetPoint:
Collaboration diagram for TimeDetPoint:

Public Member Functions

 TimeDetPoint ()
 
 TimeDetPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgCode, TVector3 Lpos, TVector3 Lmom)
 
virtual ~TimeDetPoint ()
 
virtual void Print () const
 
Int_t PdgCode () const
 
TVector3 LastPoint () const
 
TVector3 LastMom () const
 

Private Member Functions

 TimeDetPoint (const TimeDetPoint &point)
 
TimeDetPoint operator= (const TimeDetPoint &point)
 

Private Attributes

Int_t fPdgCode
 
TVector3 fLpos
 
TVector3 fLmom
 

Detailed Description

Definition at line 11 of file TimeDetPoint.h.

Constructor & Destructor Documentation

◆ TimeDetPoint() [1/3]

TimeDetPoint::TimeDetPoint ( )

Default constructor

Definition at line 9 of file TimeDetPoint.cxx.

10 : FairMCPoint()
11{
12}

◆ TimeDetPoint() [2/3]

TimeDetPoint::TimeDetPoint ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Int_t  pdgCode,
TVector3  Lpos,
TVector3  Lmom 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID for LiSc: segment T1 (seg=1), segment T2 (seg=2), normal detector (c=0) and corner detector (c=1), sequential number nr + 100000*seg + 10000*c;
posCcoordinates 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]

Definition at line 16 of file TimeDetPoint.cxx.

20 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss), fPdgCode(pdgcode),fLpos(Lpos),fLmom(Lmom)
21{
22}
TVector3 fLpos
TVector3 fLmom

◆ ~TimeDetPoint()

TimeDetPoint::~TimeDetPoint ( )
virtual

Destructor

Definition at line 26 of file TimeDetPoint.cxx.

26{ }

◆ TimeDetPoint() [3/3]

TimeDetPoint::TimeDetPoint ( const TimeDetPoint point)
private

Member Function Documentation

◆ LastMom()

TVector3 TimeDetPoint::LastMom ( ) const
inline

Definition at line 41 of file TimeDetPoint.h.

41{return fLmom;}

◆ LastPoint()

TVector3 TimeDetPoint::LastPoint ( ) const
inline

Definition at line 40 of file TimeDetPoint.h.

40{return fLpos;}

◆ operator=()

TimeDetPoint TimeDetPoint::operator= ( const TimeDetPoint point)
private

◆ PdgCode()

Int_t TimeDetPoint::PdgCode ( ) const
inline

Definition at line 39 of file TimeDetPoint.h.

39{return fPdgCode;}

◆ Print()

void TimeDetPoint::Print ( ) const
virtual

Output to screen

Definition at line 30 of file TimeDetPoint.cxx.

31{
32 cout << "-I- TimeDetPoint: veto point for track " << fTrackID
33 << " in detector " << fDetectorID << endl;
34 cout << " Position (" << fX << ", " << fY << ", " << fZ
35 << ") cm" << endl;
36 cout << " Momentum (" << fPx << ", " << fPy << ", " << fPz
37 << ") GeV" << endl;
38 cout << " Time " << fTime << " ns, Length " << fLength
39 << " cm, Energy loss " << fELoss*1.0e06 << " keV" << endl;
40}

Member Data Documentation

◆ fLmom

TVector3 TimeDetPoint::fLmom
private

Definition at line 46 of file TimeDetPoint.h.

◆ fLpos

TVector3 TimeDetPoint::fLpos
private

Definition at line 46 of file TimeDetPoint.h.

◆ fPdgCode

Int_t TimeDetPoint::fPdgCode
private

Copy constructor

Definition at line 45 of file TimeDetPoint.h.


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