Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::ToFTrack Class Reference
Inheritance diagram for Hal::ToFTrack:
Hal::DetectorTrack

Public Member Functions

 ToFTrack ()
 
 ToFTrack (const ToFTrack &other)=default
 
ToFTrackoperator= (const ToFTrack &track)=default
 
Int_t GetNHits () const
 
Float_t GetTime () const
 
Float_t GetMass2 () const
 
Float_t GetBeta () const
 
Float_t GetEnergy () const
 
void SetNHits (Int_t nToFHits)
 
void SetBeta (Float_t toFBeta)
 
void SetEnergy (Float_t toFEnergy)
 
void SetMass2 (Float_t toFMass2)
 
void SetTime (Float_t toFTime)
 
- Public Member Functions inherited from Hal::DetectorTrack
 DetectorTrack (const DetectorTrack &other)=default
 
DetectorTrackoperator= (const DetectorTrack &track)=default
 
Int_t GetFlag () const
 
void SetFlag (Int_t flag)
 
void SetFlagGood ()
 
void SetFlagBad ()
 

Static Public Member Functions

static Float_t DummyVal ()
 

Detailed Description

Definition at line 17 of file ToFTrack.h.

Constructor & Destructor Documentation

◆ ToFTrack() [1/2]

Hal::ToFTrack::ToFTrack ( )

default ctor

Definition at line 11 of file ToFTrack.cxx.

◆ ToFTrack() [2/2]

Hal::ToFTrack::ToFTrack ( const ToFTrack & other)
default

copy ctor

Parameters
other

◆ ~ToFTrack()

Hal::ToFTrack::~ToFTrack ( )
virtual

Definition at line 13 of file ToFTrack.cxx.

Member Function Documentation

◆ DummyVal()

static Float_t Hal::ToFTrack::DummyVal ( )
inlinestatic
Returns
value of beta . mass2, energyfor dummy partile

Definition at line 44 of file ToFTrack.h.

◆ GetBeta()

Float_t Hal::ToFTrack::GetBeta ( ) const
inline
Returns
beta in ToF

Definition at line 65 of file ToFTrack.h.

◆ GetEnergy()

Float_t Hal::ToFTrack::GetEnergy ( ) const
inline
Returns
energy from ToF

Definition at line 70 of file ToFTrack.h.

◆ GetMass2()

Float_t Hal::ToFTrack::GetMass2 ( ) const
inline
Returns
square of mass (should it be negative number for particles that don't have ToF id?)

Definition at line 60 of file ToFTrack.h.

◆ GetNHits()

Int_t Hal::ToFTrack::GetNHits ( ) const
inline
Returns
number of hits in ToF

Definition at line 49 of file ToFTrack.h.

◆ GetTime()

Float_t Hal::ToFTrack::GetTime ( ) const
inline
Returns
time of flight

Definition at line 54 of file ToFTrack.h.

◆ operator=()

ToFTrack & Hal::ToFTrack::operator= ( const ToFTrack & track)
default

Assignment operator

Parameters
track
Returns

◆ SetBeta()

void Hal::ToFTrack::SetBeta ( Float_t toFBeta)
inline
Parameters
toFBetaset ToF beta

Definition at line 80 of file ToFTrack.h.

◆ SetEnergy()

void Hal::ToFTrack::SetEnergy ( Float_t toFEnergy)
inline
Parameters
toFEnergyset ToF energy

Definition at line 85 of file ToFTrack.h.

◆ SetMass2()

void Hal::ToFTrack::SetMass2 ( Float_t toFMass2)
inline
Parameters
toFMass2set tof mass2

Definition at line 90 of file ToFTrack.h.

◆ SetNHits()

void Hal::ToFTrack::SetNHits ( Int_t nToFHits)
inline
Parameters
nToFHitsset number of ToF hits

Definition at line 75 of file ToFTrack.h.

◆ SetTime()

void Hal::ToFTrack::SetTime ( Float_t toFTime)
inline
Parameters
toFTimeset time of flight

Definition at line 95 of file ToFTrack.h.


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