Falaise  4.0.1
SuperNEMO Software Toolkit
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
snemo::processing::base_tracker_fitter Class Referenceabstract

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_locatorget_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::managerget_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
 

Detailed Description

The base class for all tracker fitter algorithms.

Constructor & Destructor Documentation

◆ base_tracker_fitter()

snemo::processing::base_tracker_fitter::base_tracker_fitter ( const std::string &  id_ = "anonymous")

Default constructor.

◆ ~base_tracker_fitter()

virtual snemo::processing::base_tracker_fitter::~base_tracker_fitter ( )
virtual

Destructor.

Member Function Documentation

◆ _initialize()

void snemo::processing::base_tracker_fitter::_initialize ( const datatools::properties setup_)
protected

Initialize the clusterizer through configuration properties.

◆ _post_process()

virtual int snemo::processing::base_tracker_fitter::_post_process ( snemo::datamodel::tracker_trajectory_data trajectory_)
protectedvirtual

Post-processing operation.

◆ _process_algo()

virtual int snemo::processing::base_tracker_fitter::_process_algo ( const snemo::datamodel::tracker_clustering_data clustering_,
snemo::datamodel::tracker_trajectory_data trajectory_ 
)
protectedpure virtual

Specific fitting algorithm.

◆ _reset()

void snemo::processing::base_tracker_fitter::_reset ( )
protected

Reset the clusterizer.

◆ _set_defaults()

void snemo::processing::base_tracker_fitter::_set_defaults ( )
protected

Set default attribute values.

◆ _set_initialized()

void snemo::processing::base_tracker_fitter::_set_initialized ( bool  )
protected

Set the initialization flag.

◆ get_geometry_manager()

const geomtools::manager& snemo::processing::base_tracker_fitter::get_geometry_manager ( ) const

Return a non-mutable reference to the geometry manager.

◆ get_gg_locator()

const snemo::geometry::gg_locator& snemo::processing::base_tracker_fitter::get_gg_locator ( ) const

Return the tracker locator.

◆ get_id()

const std::string& snemo::processing::base_tracker_fitter::get_id ( ) const

Return the clusterizer ID.

◆ get_logging_priority()

datatools::logger::priority snemo::processing::base_tracker_fitter::get_logging_priority ( ) const

Get logging priority.

◆ has_geometry_manager()

bool snemo::processing::base_tracker_fitter::has_geometry_manager ( ) const

Check the geometry manager.

◆ initialize()

virtual void snemo::processing::base_tracker_fitter::initialize ( const datatools::properties setup_)
pure virtual

Initialize the tracker trajectory fitter through configuration properties.

◆ is_initialized()

bool snemo::processing::base_tracker_fitter::is_initialized ( ) const

Check if theclusterizer is initialized.

◆ ocd_support()

static void snemo::processing::base_tracker_fitter::ocd_support ( datatools::object_configuration_description ,
const std::string &  prefix_ = "" 
)
static

OCD support.

◆ process()

int snemo::processing::base_tracker_fitter::process ( const snemo::datamodel::tracker_clustering_data clustering_,
snemo::datamodel::tracker_trajectory_data trajectory_ 
)

Main tracker trajectory driver.

◆ reset()

virtual void snemo::processing::base_tracker_fitter::reset ( )
pure virtual

Reset the tracker trajectory fitter.

◆ set_geometry_manager()

void snemo::processing::base_tracker_fitter::set_geometry_manager ( const geomtools::manager gmgr_)

Address the geometry manager.

◆ set_logging_priority()

void snemo::processing::base_tracker_fitter::set_logging_priority ( datatools::logger::priority  logging_priority_)

Set logging priority level.

◆ tree_dump()

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.

Member Data Documentation

◆ _logging_priority

datatools::logger::priority snemo::processing::base_tracker_fitter::_logging_priority
protected

The documentation for this class was generated from the following file: