Falaise
4.0.1
SuperNEMO Software Toolkit
|
The base class for all tracker fitter algorithms. More...
#include <falaise/snemo/processing/base_tracker_fitter.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_fitter (const std::string &id_="anonymous") | |
Default constructor. More... | |
virtual | ~base_tracker_fitter () |
Destructor. More... | |
int | process (const snemo::datamodel::tracker_clustering_data &clustering_, snemo::datamodel::tracker_trajectory_data &trajectory_) |
Main tracker trajectory driver. More... | |
virtual void | initialize (const datatools::properties &setup_)=0 |
Initialize the tracker trajectory fitter through configuration properties. More... | |
virtual void | reset ()=0 |
Reset the tracker trajectory fitter. More... | |
void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const |
Smart print. More... | |
Static Public Member Functions | |
static void | ocd_support (datatools::object_configuration_description &, const std::string &prefix_="") |
OCD support. More... | |
Protected Member Functions | |
void | _initialize (const datatools::properties &setup_) |
Initialize the clusterizer through configuration properties. More... | |
void | _reset () |
Reset the clusterizer. More... | |
void | _set_defaults () |
Set default attribute values. More... | |
void | _set_initialized (bool) |
Set the initialization flag. More... | |
virtual int | _process_algo (const snemo::datamodel::tracker_clustering_data &clustering_, snemo::datamodel::tracker_trajectory_data &trajectory_)=0 |
Specific fitting algorithm. More... | |
virtual int | _post_process (snemo::datamodel::tracker_trajectory_data &trajectory_) |
Post-processing operation. More... | |
Protected Attributes | |
datatools::logger::priority | _logging_priority |
The base class for all tracker fitter algorithms.
snemo::processing::base_tracker_fitter::base_tracker_fitter | ( | const std::string & | id_ = "anonymous" | ) |
Default constructor.
|
virtual |
Destructor.
|
protected |
Initialize the clusterizer through configuration properties.
|
protectedvirtual |
Post-processing operation.
|
protectedpure virtual |
Specific fitting algorithm.
|
protected |
Reset the clusterizer.
|
protected |
Set default attribute values.
|
protected |
Set the initialization flag.
const geomtools::manager& snemo::processing::base_tracker_fitter::get_geometry_manager | ( | ) | const |
Return a non-mutable reference to the geometry manager.
const snemo::geometry::gg_locator& snemo::processing::base_tracker_fitter::get_gg_locator | ( | ) | const |
Return the tracker locator.
const std::string& snemo::processing::base_tracker_fitter::get_id | ( | ) | const |
Return the clusterizer ID.
datatools::logger::priority snemo::processing::base_tracker_fitter::get_logging_priority | ( | ) | const |
Get logging priority.
bool snemo::processing::base_tracker_fitter::has_geometry_manager | ( | ) | const |
Check the geometry manager.
|
pure virtual |
Initialize the tracker trajectory fitter through configuration properties.
bool snemo::processing::base_tracker_fitter::is_initialized | ( | ) | const |
Check if theclusterizer is initialized.
|
static |
OCD support.
int snemo::processing::base_tracker_fitter::process | ( | const snemo::datamodel::tracker_clustering_data & | clustering_, |
snemo::datamodel::tracker_trajectory_data & | trajectory_ | ||
) |
Main tracker trajectory driver.
|
pure virtual |
Reset the tracker trajectory fitter.
void snemo::processing::base_tracker_fitter::set_geometry_manager | ( | const geomtools::manager & | gmgr_ | ) |
Address the geometry manager.
void snemo::processing::base_tracker_fitter::set_logging_priority | ( | datatools::logger::priority | logging_priority_ | ) |
Set logging priority level.
void snemo::processing::base_tracker_fitter::tree_dump | ( | std::ostream & | out_ = std::clog , |
const std::string & | title_ = "" , |
||
const std::string & | indent_ = "" , |
||
bool | inherit_ = false |
||
) | const |
Smart print.
|
protected |