12 #ifndef FALAISE_SNEMO_DATAMODELS_TRACKER_CLUSTERING_DATA_H 13 #define FALAISE_SNEMO_DATAMODELS_TRACKER_CLUSTERING_DATA_H 1 23 #include <boost/cstdint.hpp> 24 #include <boost/serialization/access.hpp> 163 bool default_solution_ =
false);
205 virtual void clear();
208 virtual void tree_dump(std::ostream& out_ = std::clog,
const std::string& title_ =
"",
209 const std::string& indent_ =
"",
bool inherit_ =
false)
const;
224 #include <boost/serialization/export.hpp> 226 "snemo::datamodel::tracker_clustering_data")
228 #endif // FALAISE_SNEMO_DATAMODELS_TRACKER_CLUSTERING_DATA_H const tracker_clustering_data::solution_col_type & get_solutions() const
Return the non mutable reference to the collection of clustering solutions.
virtual ~tracker_clustering_data()
Destructor:
void set_default_solution(int index_)
Set the default clustering solution.
const tracker_clustering_solution & get_default_solution() const
Return a non mutable reference to the default clustering solution is any.
std::vector< tracker_clustering_solution::handle_type > solution_col_type
Collection of handles on tracker clustering solutions.
Definition: tracker_clustering_data.h:147
void invalidate_default_solution()
Reset the default clustering solution is any.
static const std::string & delayed_key()
Key for the boolean property associated to delayed clustering solutions.
#define DATATOOLS_SERIALIZATION_DECLARATION()
static const std::string & delayed_id_key()
Key for the integer property associated to delayed clustering solutions.
bool is_valid() const
Check if the object has a valid internal structure.
A collection of tracker clusters.
Definition: tracker_clustering_solution.h:88
void invalidate_solutions()
Reset the clustering solutions.
const tracker_clustering_solution & get_solution(int i_) const
Return a non mutable reference to a clustering solution by index.
static const std::string & prompt_key()
Key for the boolean property associated to prompt clustering solutions.
bool has_solutions() const
Check if there are some clustering solutions.
bool has_default_solution() const
Check if there is some default clustering solution.
void reset()
Reset the internals.
Definition: calo_tapered_scin_box_model.h:54
virtual void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.
datatools::properties & grab_auxiliaries()
Return a non mutable reference on the container of auxiliary properties.
tracker_clustering_data()
Default constructor.
const datatools::properties & get_auxiliaries() const
Return a mutable reference on the container of auxiliary properties.
void add_solution(const tracker_clustering_solution::handle_type &handle_, bool default_solution_=false)
Add a clustering solution.
tracker_clustering_solution & grab_default_solution()
Return a mutable reference to the default clustering solution is any.
SuperNEMO tracker clustering data model.
Definition: tracker_clustering_data.h:129
size_t get_number_of_solutions() const
Returns the number of solutions.
static const std::string & clusterizer_id_key()
virtual void clear()
Clear the object.
tracker_clustering_data::solution_col_type & grab_solutions()
Return the mutable reference to the collection of clustering solutions.