12 #ifndef FALAISE_SNEMO_DATAMODELS_TRACKER_TRAJECTORY_DATA_H 13 #define FALAISE_SNEMO_DATAMODELS_TRACKER_TRAJECTORY_DATA_H 1 17 #include <boost/serialization/access.hpp> 53 bool default_solution_ =
false);
92 virtual void tree_dump(std::ostream& out_ = std::clog,
const std::string& title_ =
"",
93 const std::string& indent_ =
"",
bool inherit_ =
false)
const;
109 #include <boost/serialization/export.hpp> 111 "snemo::datamodel::tracker_trajectory_data")
113 #endif // FALAISE_SNEMO_DATAMODELS_TRACKER_TRAJECTORY_DATA_H
SuperNEMO Tracker trajectory data model.
Definition: tracker_trajectory_data.h:32
const tracker_trajectory_solution & get_solution(int i_) const
Return a non mutable reference to a trajectory solution by index.
virtual void clear()
Clear the object.
virtual ~tracker_trajectory_data()
Destructor:
const tracker_trajectory_solution & get_default_solution() const
Return a non mutable reference to the default trajectory solution is any.
tracker_trajectory_data::solution_col_type & grab_solutions()
void invalidate_default_solution()
Reset the default trajectory solution is any.
void invalidate_solutions()
Reset the trajectory solutions.
A collection of tracker clusters , solution of a trajectory algorithm.
Definition: tracker_trajectory_solution.h:33
size_t get_number_of_solutions() const
Returns the number of solutions.
void add_solution(const tracker_trajectory_solution::handle_type &handle_, bool default_solution_=false)
Add a trajectory solution.
#define DATATOOLS_SERIALIZATION_DECLARATION()
void reset()
Reset the internals.
tracker_trajectory_data()
Default constructor.
std::vector< tracker_trajectory_solution::handle_type > solution_col_type
Collection of handles on tracker trajectory solutions.
Definition: tracker_trajectory_data.h:37
virtual void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.
Definition: calo_tapered_scin_box_model.h:54
const tracker_trajectory_data::solution_col_type & get_solutions() const
datatools::properties & grab_auxiliaries()
Return a non mutable reference on the container of auxiliary properties.
bool has_default_solution() const
Check if there is some default trajectory solution.
bool has_solutions() const
Check if there are some trajectory solutions.
const datatools::properties & get_auxiliaries() const
Return a mutable reference on the container of auxiliary properties.
void set_default_solution(int index_)
Set the default trajectory solution.