9 #ifndef FALAISE_SNEMO_DATAMODELS_TRACKER_TRAJECTORY_H 10 #define FALAISE_SNEMO_DATAMODELS_TRACKER_TRAJECTORY_H 1 14 #include <boost/cstdint.hpp> 122 virtual void clear();
125 virtual void tree_dump(std::ostream& out = std::clog,
const std::string& title_ =
"",
126 const std::string& indent_ =
"",
bool inherit_ =
false)
const;
140 #endif // FALAISE_SNEMO_DATAMODELS_TRACKER_TRAJECTORY_H void invalidate_trajectory_id()
Invalidate the trajectory ID.
tracker_cluster::handle_type handle_cluster
Handle on tracker cluster.
Definition: tracker_trajectory.h:35
const tracker_cluster & get_cluster() const
Return a non mutable reference on the cluster.
virtual void clear()
Empty the contents of the tracker trajectory.
calibrated_tracker_hit::collection_type orphans_collection_type
Collection of handles of calibrated tracker hit.
Definition: tracker_trajectory.h:44
const orphans_collection_type & get_orphans() const
Return a non mutable reference on the collection of orphan hits (handles)
datatools::handle< base_trajectory_pattern > handle_pattern
Handle on trajectory pattern.
Definition: tracker_trajectory.h:41
A cluster of Geiger calibrated hits referenced by handles.
Definition: tracker_cluster.h:28
bool has_pattern() const
Check if the pattern is present.
bool has_orphans() const
Check if there are some orphan hits along the fitted trajectory.
virtual ~tracker_trajectory()
Destructor.
base_trajectory_pattern & grab_pattern()
Return a mutable reference on the pattern.
#define DATATOOLS_SERIALIZATION_DECLARATION()
handle_pattern & grab_pattern_handle()
Return a mutable reference on the pattern handle.
A trajectory of Geiger calibrated hits referenced by handles.
Definition: tracker_trajectory.h:29
bool has_cluster() const
Check if the cluster is present.
datatools::handle< tracker_trajectory > handle_type
Handle on tracker trajectory.
Definition: tracker_trajectory.h:32
const base_trajectory_pattern & get_pattern() const
Return a non mutable reference on the pattern.
int get_trajectory_id() const
Get the trajectory ID.
The base class of fitted trajectory pattern.
Definition: base_trajectory_pattern.h:26
Definition: calo_tapered_scin_box_model.h:54
const handle_pattern & get_pattern_handle() const
Return a non mutable reference on the pattern handle.
virtual void tree_dump(std::ostream &out=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.
const handle_cluster & get_cluster_handle() const
Return a non mutable reference on the cluster handle.
std::vector< handle_cluster > clusters_collection_type
Collection of handles on tracker clusters.
Definition: tracker_trajectory.h:38
void detach_cluster()
Detach the cluster.
handle_cluster & grab_cluster_handle()
Return a mutable reference on the cluster handle.
tracker_trajectory()
Default constructor.
bool has_trajectory_id() const
Check if there is a valid trajectory ID.
void set_trajectory_id(int32_t)
Set the trajectory ID.
orphans_collection_type & grab_orphans()
Return a mutable reference on the collection of orphan hits (handles)
void reset()
Reset the tracker trajectory (see clear)
void reset_orphans()
Reset the collection of orphan hits.
void set_pattern_handle(const handle_pattern &pattern_handle_)
Attach a pattern by handle.
std::vector< handle_type > collection_type
Alias for a collection of handles on calibrated tracker hits.
Definition: calibrated_tracker_hit.h:54
void set_cluster_handle(const handle_cluster &cluster_handle_)
Attach a cluster by handle.
tracker_cluster & grab_cluster()
Return a mutable reference on the cluster.
void detach_pattern()
Detach the pattern.