Falaise
4.0.1
SuperNEMO Software Toolkit
|
The base abstract class for all tracker clustering algorithms. More...
#include <falaise/snemo/processing/base_tracker_clusterizer.h>
Public Member Functions | |
void | set_logging_priority (datatools::logger::priority logging_priority_) |
Set logging priority level. More... | |
datatools::logger::priority | get_logging_priority () const |
Get logging priority. More... | |
const std::string & | get_id () const |
Return the clusterizer ID. More... | |
const snemo::geometry::gg_locator & | get_gg_locator () const |
Return the tracker locator. More... | |
bool | has_geometry_manager () const |
Check the geometry manager. More... | |
void | set_geometry_manager (const geomtools::manager &gmgr_) |
Address the geometry manager. More... | |
const geomtools::manager & | get_geometry_manager () const |
Return a non-mutable reference to the geometry manager. More... | |
bool | is_initialized () const |
Check if theclusterizer is initialized. More... | |
base_tracker_clusterizer (const std::string &id_="anonymous") | |
Default constructor. More... | |
virtual | ~base_tracker_clusterizer () |
Destructor. More... | |
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. More... | |
void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const |
virtual void | initialize (const datatools::properties &setup_)=0 |
Initialize the clusterizer through configuration properties. More... | |
virtual void | reset ()=0 |
Reset the clusterizer. More... | |
Static Public Member Functions | |
static void | ocd_support (datatools::object_configuration_description &, const std::string &prefix_="") |
OCD support. More... | |
Protected Attributes | |
datatools::logger::priority | _logging_priority |
The base abstract class for all tracker clustering algorithms.
typedef snemo::datamodel::calibrated_data::calorimeter_hit_collection_type snemo::processing::base_tracker_clusterizer::calo_hit_collection_type |
typedef snemo::datamodel::calibrated_data::tracker_hit_collection_type snemo::processing::base_tracker_clusterizer::hit_collection_type |
typedef snemo::datamodel::calibrated_tracker_hit::handle_type snemo::processing::base_tracker_clusterizer::hit_handle_type |
typedef snemo::datamodel::calibrated_tracker_hit snemo::processing::base_tracker_clusterizer::hit_type |
snemo::processing::base_tracker_clusterizer::base_tracker_clusterizer | ( | const std::string & | id_ = "anonymous" | ) |
Default constructor.
|
virtual |
Destructor.
|
protected |
Clear working arrays.
|
protected |
Initialize the clusterizer through configuration properties.
|
protectedvirtual |
Post processing.
|
protected |
Post processing to collect unclustered hits.
|
protectedvirtual |
Prepare cluster for processing.
|
protectedpure virtual |
Specific clustering algorithm.
|
protected |
Reset the clusterizer.
|
protected |
Set default attribute values.
|
protected |
Set the initialization flag.
const geomtools::manager& snemo::processing::base_tracker_clusterizer::get_geometry_manager | ( | ) | const |
Return a non-mutable reference to the geometry manager.
const snemo::geometry::gg_locator& snemo::processing::base_tracker_clusterizer::get_gg_locator | ( | ) | const |
Return the tracker locator.
const std::string& snemo::processing::base_tracker_clusterizer::get_id | ( | ) | const |
Return the clusterizer ID.
datatools::logger::priority snemo::processing::base_tracker_clusterizer::get_logging_priority | ( | ) | const |
Get logging priority.
bool snemo::processing::base_tracker_clusterizer::has_geometry_manager | ( | ) | const |
Check the geometry manager.
|
pure virtual |
Initialize the clusterizer through configuration properties.
bool snemo::processing::base_tracker_clusterizer::is_initialized | ( | ) | const |
Check if theclusterizer is initialized.
|
static |
OCD support.
int snemo::processing::base_tracker_clusterizer::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.
|
pure virtual |
Reset the clusterizer.
void snemo::processing::base_tracker_clusterizer::set_geometry_manager | ( | const geomtools::manager & | gmgr_ | ) |
Address the geometry manager.
void snemo::processing::base_tracker_clusterizer::set_logging_priority | ( | datatools::logger::priority | logging_priority_ | ) |
Set logging priority level.
void snemo::processing::base_tracker_clusterizer::tree_dump | ( | std::ostream & | out_ = std::clog , |
const std::string & | title_ = "" , |
||
const std::string & | indent_ = "" , |
||
bool | inherit_ = false |
||
) | const |
|
protected |