Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
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_info > | track_info_dict_type |
Dictionary type of track info. More... | |
Public Member Functions | |
const track_info_dict_type & | get_track_infos () const |
track_info_dict_type & | grab_track_infos () |
bool | has_track_info (const int id_) const |
const track_info & | get_track_info (const int id_) const |
track_info & | grab_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... | |
Recording of tracks history.
typedef std::map<int, track_info> mctools::g4::track_history::track_info_dict_type |
Dictionary type of track info.
mctools::g4::track_history::track_history | ( | ) |
Constructor.
mctools::g4::track_history::~track_history | ( | ) |
Destructor.
void mctools::g4::track_history::add_track_info | ( | const int | id_, |
const track_info & | tinfo_ | ||
) |
const track_info& mctools::g4::track_history::get_track_info | ( | const int | id_ | ) | const |
const track_info_dict_type& mctools::g4::track_history::get_track_infos | ( | ) | const |
track_info& mctools::g4::track_history::grab_track_info | ( | const int | id_ | ) |
track_info_dict_type& mctools::g4::track_history::grab_track_infos | ( | ) |
bool mctools::g4::track_history::has_track_info | ( | const int | id_ | ) | const |
void mctools::g4::track_history::reset | ( | ) |
Reset the track history object.