CbmRoot
Loading...
Searching...
No Matches
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.

◆ 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.

◆ End() [1/2]

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

Accesses the end of timeslice [ns].

Definition at line 21 of file CaTimesliceHeader.h.

◆ End() [2/2]

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

Definition at line 22 of file CaTimesliceHeader.h.

◆ Start() [1/2]

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

Accesses the start of timeslice [ns].

Definition at line 25 of file CaTimesliceHeader.h.

◆ Start() [2/2]

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

Definition at line 26 of file CaTimesliceHeader.h.

◆ ToString()

std::string TimesliceHeader::ToString ( ) const

String representation of the contents.

Definition at line 18 of file CaTimesliceHeader.cxx.

Member Data Documentation

◆ fEnd

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

End of timeslice.

Definition at line 39 of file CaTimesliceHeader.h.

◆ fStart

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

Start of timeslice.

Definition at line 38 of file CaTimesliceHeader.h.


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