Bayeux  3.4.1
Core Foundation library for SuperNEMO
Classes | Public Types | Public Member Functions | List of all members
mctools::g4::track_history Class Reference

Recording of tracks history. More...

#include <bayeux/mctools/g4/track_history.h>

Classes

class  track_info
 Recording of informations about a single track. More...
 

Public Types

typedef std::map< int, track_infotrack_info_dict_type
 Dictionary type of track info. More...
 

Public Member Functions

const track_info_dict_typeget_track_infos () const
 
track_info_dict_typegrab_track_infos ()
 
bool has_track_info (const int id_) const
 
const track_infoget_track_info (const int id_) const
 
track_infograb_track_info (const int id_)
 
void add_track_info (const int id_, const track_info &tinfo_)
 
 track_history ()
 Constructor. More...
 
 ~track_history ()
 Destructor. More...
 
void reset ()
 Reset the track history object. More...
 

Detailed Description

Recording of tracks history.

Member Typedef Documentation

◆ track_info_dict_type

Dictionary type of track info.

Constructor & Destructor Documentation

◆ track_history()

mctools::g4::track_history::track_history ( )

Constructor.

◆ ~track_history()

mctools::g4::track_history::~track_history ( )

Destructor.

Member Function Documentation

◆ add_track_info()

void mctools::g4::track_history::add_track_info ( const int  id_,
const track_info tinfo_ 
)

◆ get_track_info()

const track_info& mctools::g4::track_history::get_track_info ( const int  id_) const

◆ get_track_infos()

const track_info_dict_type& mctools::g4::track_history::get_track_infos ( ) const

◆ grab_track_info()

track_info& mctools::g4::track_history::grab_track_info ( const int  id_)

◆ grab_track_infos()

track_info_dict_type& mctools::g4::track_history::grab_track_infos ( )

◆ has_track_info()

bool mctools::g4::track_history::has_track_info ( const int  id_) const

◆ reset()

void mctools::g4::track_history::reset ( )

Reset the track history object.


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