CbmRoot
Loading...
Searching...
No Matches
cbm::algo::ca::TimesliceHeader Class Reference

Structure for keeping the current information on the timeslice. More...

#include <CaTimesliceHeader.h>

Public Member Functions

float & End ()
 Accesses the end of timeslice [ns].
 
float End () const
 
float & Start ()
 Accesses the start of timeslice [ns].
 
float Start () const
 
std::string ToString () const
 String representation of the contents.
 
float ConvToTau (float time) const
 Converts time from ns to tau.
 
float ConvToNs (float tau) const
 Converts time from tau to ns.
 

Private Attributes

float fStart
 Start of timeslice.
 
float fEnd
 End of timeslice.
 

Detailed Description

Structure for keeping the current information on the timeslice.

Definition at line 18 of file CaTimesliceHeader.h.

Member Function Documentation

◆ ConvToNs()

float cbm::algo::ca::TimesliceHeader::ConvToNs ( float tau) const
inline

Converts time from tau to ns.

Definition at line 35 of file CaTimesliceHeader.h.

References fEnd, and fStart.

◆ ConvToTau()

float cbm::algo::ca::TimesliceHeader::ConvToTau ( float time) const
inline

Converts time from ns to tau.

Definition at line 32 of file CaTimesliceHeader.h.

References fEnd, and fStart.

◆ End() [1/2]

float & cbm::algo::ca::TimesliceHeader::End ( )
inline

Accesses the end of timeslice [ns].

Definition at line 21 of file CaTimesliceHeader.h.

References fEnd.

Referenced by cbm::algo::ca::TrackFinder::FindTracks().

◆ End() [2/2]

float cbm::algo::ca::TimesliceHeader::End ( ) const
inline

Definition at line 22 of file CaTimesliceHeader.h.

References fEnd.

◆ Start() [1/2]

float & cbm::algo::ca::TimesliceHeader::Start ( )
inline

Accesses the start of timeslice [ns].

Definition at line 25 of file CaTimesliceHeader.h.

References fStart.

Referenced by cbm::algo::ca::TrackFinder::FindTracks().

◆ Start() [2/2]

float cbm::algo::ca::TimesliceHeader::Start ( ) const
inline

Definition at line 26 of file CaTimesliceHeader.h.

References fStart.

◆ ToString()

std::string TimesliceHeader::ToString ( ) const

String representation of the contents.

Definition at line 18 of file CaTimesliceHeader.cxx.

References fEnd, and fStart.

Member Data Documentation

◆ fEnd

float cbm::algo::ca::TimesliceHeader::fEnd
private

End of timeslice.

Definition at line 39 of file CaTimesliceHeader.h.

Referenced by ConvToNs(), ConvToTau(), End(), End(), and ToString().

◆ fStart

float cbm::algo::ca::TimesliceHeader::fStart
private

Start of timeslice.

Definition at line 38 of file CaTimesliceHeader.h.

Referenced by ConvToNs(), ConvToTau(), Start(), Start(), and ToString().


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