33 #ifndef MCTOOLS_G4_TRACK_HISTORY_H 34 #define MCTOOLS_G4_TRACK_HISTORY_H 1 61 void set_id(
const int id_);
96 std::string _particle_name_;
97 std::string _creator_process_name_;
98 std::string _creator_sensitive_category_;
138 #endif // MCTOOLS_G4_TRACK_HISTORY_H
const std::string & get_particle_name() const
track_info_dict_type & grab_track_infos()
track_history()
Constructor.
void set_creator_process_name(const std::string &name_)
~track_history()
Destructor.
const track_info & get_track_info(const int id_) const
void set_creator_sensitive_category(const std::string &category_)
int get_parent_id() const
std::map< int, track_info > track_info_dict_type
Dictionary type of track info.
Definition: track_history.h:105
bool has_track_info(const int id_) const
track_info & grab_track_info(const int id_)
const std::string & get_creator_process_name() const
Recording of informations about a single track.
Definition: track_history.h:50
const std::string & get_creator_sensitive_category() const
void add_track_info(const int id_, const track_info &tinfo_)
void set_particle_name(const std::string &name_)
void reset()
Reset the track history object.
const track_info_dict_type & get_track_infos() const
static const int TRACK_ID_UNSET
Undefined Id for a track (parent track Id is 0 for a primary track)
Definition: track_history.h:55
void set_id(const int id_)
Recording of tracks history.
Definition: track_history.h:45
void set_parent_id(const int id_)