Project
Loading...
Searching...
No Matches
o2::framework::pid::tof Namespace Reference

Functions

float MassToExpTime (float tofExpMom, float length, float massSquared)
 Compute the expected time of flight for a given momentum, length and massSquared.
 
float TrackTimeToTOFSignal (float tracktime, float exptime)
 Compute the signal of the time of flight for a given track time and expected time of flight.
 

Function Documentation

◆ MassToExpTime()

float o2::framework::pid::tof::MassToExpTime ( float  tofExpMom,
float  length,
float  massSquared 
)
inline

Compute the expected time of flight for a given momentum, length and massSquared.

Parameters
tofExpMomthe expected momentum of the particle in GeV/c
lengththe track length in cm
massSquaredthe squared mass of the particle in GeV^2/c^4
Returns
the expected time of flight of the particle in ps

Definition at line 36 of file PID.h.

◆ TrackTimeToTOFSignal()

float o2::framework::pid::tof::TrackTimeToTOFSignal ( float  tracktime,
float  exptime 
)
inline

Compute the signal of the time of flight for a given track time and expected time of flight.

Parameters
tracktimethe measured time of flight (at the vertex) in ps
exptimethe expected time of flight in ps
Returns
the signal of the time of flight

Definition at line 48 of file PID.h.