9 #ifndef FALAISE_SNEMO_DATAMODELS_TRACKER_CLUSTER_H 10 #define FALAISE_SNEMO_DATAMODELS_TRACKER_CLUSTER_H 1 14 #include <boost/cstdint.hpp> 85 virtual void tree_dump(std::ostream& out_ = std::clog,
const std::string& title_ =
"",
86 const std::string& indent_ =
"",
bool inherit_ =
false)
const;
98 #endif // FALAISE_SNEMO_DATAMODELS_TRACKER_CLUSTER_H static const std::string & delayed_cluster_flag()
Flag for a auxiliary property.
calibrated_tracker_hit::collection_type & grab_hits()
Return a mutable reference on the container of handles on calibrated tracker hits.
const calibrated_tracker_hit & get_hit(int i_) const
Return a non mutable reference on the calibrated tracker hit given its index.
virtual ~tracker_cluster()
Destructor.
bool is_delayed() const
Check if the cluster is associated to delayed hits.
A cluster of Geiger calibrated hits referenced by handles.
Definition: tracker_cluster.h:28
void invalidate_cluster_id()
Invalidate the cluster ID.
#define DATATOOLS_SERIALIZATION_DECLARATION()
bool is_prompt() const
Check if the cluster is associated to prompt hits.
void make_prompt()
Mark the cluster as associated to prompt hits.
void make_delayed()
Mark the cluster as associated to delayed hits.
Model of a calibrated tracker hit (Geiger regime)
Definition: calibrated_tracker_hit.h:35
virtual void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.
datatools::handle< tracker_cluster > handle_type
Handle on tracker cluster.
Definition: tracker_cluster.h:31
int get_cluster_id() const
Get the cluster ID.
Definition: calo_tapered_scin_box_model.h:54
unsigned int get_number_of_hits() const
Return the number of hits in the cluster.
void clear()
Reset/invalidate the contents of the tracker cluster.
bool has_cluster_id() const
Check if there is a valid cluster ID.
const calibrated_tracker_hit::collection_type & get_hits() const
Return a non mutable reference on the container of handles on calibrated tracker hits.
tracker_cluster()
Default constructor.
void set_cluster_id(int32_t)
Set the cluster ID.
std::vector< handle_type > collection_type
Alias for a collection of handles on calibrated tracker hits.
Definition: calibrated_tracker_hit.h:54
void reset()
Reset/invalidate the tracker cluster(see clear)