9 #ifndef FALAISE_SNEMO_DATAMODELS_TRACKER_TRAJECTORY_SOLUTION_H 10 #define FALAISE_SNEMO_DATAMODELS_TRACKER_TRAJECTORY_SOLUTION_H 1 14 #include <boost/cstdint.hpp> 29 class tracker_clustering_solution;
30 class tracker_cluster;
128 virtual void clear();
131 virtual void tree_dump(std::ostream& out_ = std::clog,
const std::string& title_ =
"",
132 const std::string& indent_ =
"",
bool inherit_ =
false)
const;
135 int32_t _solution_id_;
149 #endif // FALAISE_SNEMO_DATAMODELS_TRACKER_TRAJECTORY_SOLUTION_H std::vector< cluster_handle_type > cluster_col_type
Collection of handles on tracker clusters.
Definition: tracker_trajectory_solution.h:53
virtual void clear()
Empty the contents of the tracker trajectories solution.
datatools::handle< tracker_clustering_solution > handle_clustering_solution_type
Handle on tracker cluster solution.
Definition: tracker_trajectory_solution.h:44
tracker_trajectory_solution()
Default constructor.
A collection of tracker clusters , solution of a trajectory algorithm.
Definition: tracker_trajectory_solution.h:33
void invalidate_clustering_solution()
Reset the reference clustering solution.
int get_solution_id() const
Get the solution ID.
datatools::handle< tracker_cluster > cluster_handle_type
Handle on tracker cluster.
Definition: tracker_trajectory_solution.h:50
#define DATATOOLS_SERIALIZATION_DECLARATION()
A collection of tracker clusters.
Definition: tracker_clustering_solution.h:88
const cluster_col_type & get_unfitted_clusters() const
Return a non mutable reference on the container of handles on unfitted clusters.
void invalidate_unfitted_clusters()
Reset the unfitted clusters.
std::vector< trajectory_handle_type > trajectory_col_type
Collection of handles on tracker clusters.
Definition: tracker_trajectory_solution.h:41
cluster_col_type & grab_unfitted_clusters()
Return a mutable reference on the container of handles on unfitted clusters.
tracker_trajectory::handle_type trajectory_handle_type
Handle on tracker cluster.
Definition: tracker_trajectory_solution.h:38
bool has_trajectories() const
Check if there is trajectories.
Definition: calo_tapered_scin_box_model.h:54
void reset()
Reset the tracker cluster solution.
void set_solution_id(int32_t)
Set the solution ID.
const tracker_clustering_solution & get_clustering_solution() const
Return a non mutable reference on the reference clustering solution.
datatools::properties & grab_auxiliaries()
Return a mutable reference on the container of auxiliary properties.
bool has_solution_id() const
Check if there is a valid solution ID.
void set_clustering_solution(const handle_clustering_solution_type &clustering_solution_)
Set the reference clustering solution.
virtual ~tracker_trajectory_solution()
Default constructor.
bool has_clustering_solution() const
Check if there is a valid reference clustering solution.
bool has_unfitted_clusters() const
Check if there is unfitted clusters.
const datatools::properties & get_auxiliaries() const
Return a non mutable reference on the container of auxiliary properties.
trajectory_col_type & grab_trajectories()
Return a mutable reference on the container of trajectories.
void invalidate_trajectories()
Reset the trajectories.
datatools::handle< tracker_trajectory_solution > handle_type
Handle on tracker trajectory solution.
Definition: tracker_trajectory_solution.h:47
void invalidate_solution_id()
Invalidate the solution ID.
const trajectory_col_type & get_trajectories() const
Return a non mutable reference on the container of trajectories.
virtual void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.
tracker_clustering_solution & grab_clustering_solution()
Return a mutable reference on the reference clustering solution.