27 #ifndef FALAISE_SNEMO_PROCESSING_BASE_TRACKER_CLUSTERIZER_H 28 #define FALAISE_SNEMO_PROCESSING_BASE_TRACKER_CLUSTERIZER_H 1 35 #include <boost/cstdint.hpp> 64 class tracker_clustering_data;
67 namespace processing {
86 const std::string &
get_id()
const;
115 void tree_dump(std::ostream &out_ = std::clog,
const std::string &title_ =
"",
116 const std::string &indent_ =
"",
bool inherit_ =
false)
const;
122 virtual void reset() = 0;
126 const std::string &prefix_ =
"");
184 std::vector<hit_collection_type>
185 _prompt_time_clusters_;
186 std::vector<hit_collection_type>
187 _delayed_time_clusters_;
194 #endif // FALAISE_SNEMO_PROCESSING_BASE_TRACKER_CLUSTERIZER_H
int process(const base_tracker_clusterizer::hit_collection_type &gg_hits_, const base_tracker_clusterizer::calo_hit_collection_type &calo_hits_, snemo::datamodel::tracker_clustering_data &clustering_)
Main clustering process.
snemo::datamodel::calibrated_tracker_hit hit_type
Definition: base_tracker_clusterizer.h:73
void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
virtual ~base_tracker_clusterizer()
Destructor.
void set_logging_priority(datatools::logger::priority logging_priority_)
Set logging priority level.
void _reset()
Reset the clusterizer.
snemo::datamodel::calibrated_data::calorimeter_hit_collection_type calo_hit_collection_type
Definition: base_tracker_clusterizer.h:77
snemo::datamodel::calibrated_tracker_hit::handle_type hit_handle_type
Definition: base_tracker_clusterizer.h:74
const geomtools::manager & get_geometry_manager() const
Return a non-mutable reference to the geometry manager.
datatools::logger::priority get_logging_priority() const
Get logging priority.
base_tracker_clusterizer(const std::string &id_="anonymous")
Default constructor.
virtual void initialize(const datatools::properties &setup_)=0
Initialize the clusterizer through configuration properties.
virtual void reset()=0
Reset the clusterizer.
The base abstract class for all tracker clustering algorithms.
Definition: base_tracker_clusterizer.h:70
void _set_defaults()
Set default attribute values.
A pre-clusterizer of Geiger hits for the SuperNEMO detector.
Definition: pre_clusterizer.h:65
snemo::datamodel::calibrated_data::tracker_hit_collection_type hit_collection_type
Definition: base_tracker_clusterizer.h:75
datatools::logger::priority _logging_priority
Definition: base_tracker_clusterizer.h:168
void _set_initialized(bool)
Set the initialization flag.
bool has_geometry_manager() const
Check the geometry manager.
Model of a calibrated tracker hit (Geiger regime)
Definition: calibrated_tracker_hit.h:35
std::vector< calorimeter_hit_handle_type > calorimeter_hit_collection_type
Collection of handles on calibrated calorimeter hits.
Definition: calibrated_data.h:58
Setup data for the TrackerPreClustering algorithm.
Definition: interface.h:50
static void ocd_support(datatools::object_configuration_description &, const std::string &prefix_="")
OCD support.
Definition: calo_tapered_scin_box_model.h:54
void _post_process_collect_unclustered_hits(const base_tracker_clusterizer::hit_collection_type &gg_hits_, snemo::datamodel::tracker_clustering_data &clustering_)
Post processing to collect unclustered hits.
bool is_initialized() const
Check if theclusterizer is initialized.
virtual int _post_process(const base_tracker_clusterizer::hit_collection_type &gg_hits_, const base_tracker_clusterizer::calo_hit_collection_type &calo_hits_, snemo::datamodel::tracker_clustering_data &clustering_)
Post processing.
virtual int _prepare_process(const base_tracker_clusterizer::hit_collection_type &gg_hits_, const base_tracker_clusterizer::calo_hit_collection_type &calo_hits_, snemo::datamodel::tracker_clustering_data &clustering_)
Prepare cluster for processing.
void set_geometry_manager(const geomtools::manager &gmgr_)
Address the geometry manager.
std::vector< tracker_hit_handle_type > tracker_hit_collection_type
Collection of handles on calibrated tracker hits.
Definition: calibrated_data.h:55
SuperNEMO tracker clustering data model.
Definition: tracker_clustering_data.h:129
void _clear_working_arrays()
Clear working arrays.
const snemo::geometry::gg_locator & get_gg_locator() const
Return the tracker locator.
void _initialize(const datatools::properties &setup_)
Initialize the clusterizer through configuration properties.
const std::string & get_id() const
Return the clusterizer ID.
virtual int _process_algo(const base_tracker_clusterizer::hit_collection_type &gg_hits_, const base_tracker_clusterizer::calo_hit_collection_type &calo_hits_, snemo::datamodel::tracker_clustering_data &clustering_)=0
Specific clustering algorithm.
Fast locator class for SuperNEMO drift chamber volumes.
Definition: gg_locator.h:62