Falaise
4.0.1
SuperNEMO Software Toolkit
|
The base class for all gamma builder algorithms. More...
#include <falaise/snemo/processing/base_gamma_builder.h>
Public Types | |
typedef snemo::datamodel::calibrated_data::calorimeter_hit_collection_type | hit_collection_type |
Typedef to calibrated calorimeter hits. More... | |
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 gamma builder ID. More... | |
const snemo::geometry::calo_locator & | get_calo_locator () const |
Return the main wall calorimeter locator. More... | |
const snemo::geometry::xcalo_locator & | get_xcalo_locator () const |
Return the X-wall calorimeter locator. More... | |
const snemo::geometry::gveto_locator & | get_gveto_locator () const |
Return the gamma veto calorimeter 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_gamma_builder (const std::string &id_="anonymous") | |
Default constructor. More... | |
virtual | ~base_gamma_builder () |
Destructor. More... | |
int | process (const base_gamma_builder::hit_collection_type &calo_hits_, snemo::datamodel::particle_track_data &ptd_) |
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... | |
void | _clear_working_arrays () |
Clear working arrays. More... | |
virtual int | _prepare_process (const base_gamma_builder::hit_collection_type &calo_hits_, snemo::datamodel::particle_track_data &ptd_) |
Prepare data for processing. More... | |
virtual int | _process_algo (const base_gamma_builder::hit_collection_type &calo_hits_, snemo::datamodel::particle_track_data &ptd_)=0 |
Specific algorithm. More... | |
virtual int | _post_process (const base_gamma_builder::hit_collection_type &calo_hits_, snemo::datamodel::particle_track_data &ptd_) |
Post processing. More... | |
Protected Attributes | |
datatools::logger::priority | _logging_priority |
Logging priority threshold. More... | |
The base class for all gamma builder algorithms.
typedef snemo::datamodel::calibrated_data::calorimeter_hit_collection_type snemo::processing::base_gamma_builder::hit_collection_type |
Typedef to calibrated calorimeter hits.
snemo::processing::base_gamma_builder::base_gamma_builder | ( | const std::string & | id_ = "anonymous" | ) |
Default constructor.
|
virtual |
Destructor.
|
protected |
Clear working arrays.
|
protected |
Initialize the clusterizer through configuration properties.
|
protectedvirtual |
Post processing.
|
protectedvirtual |
Prepare data for processing.
|
protectedpure virtual |
Specific algorithm.
|
protected |
Reset the clusterizer.
|
protected |
Set default attribute values.
|
protected |
Set the initialization flag.
const snemo::geometry::calo_locator& snemo::processing::base_gamma_builder::get_calo_locator | ( | ) | const |
Return the main wall calorimeter locator.
const geomtools::manager& snemo::processing::base_gamma_builder::get_geometry_manager | ( | ) | const |
Return a non-mutable reference to the geometry manager.
const snemo::geometry::gveto_locator& snemo::processing::base_gamma_builder::get_gveto_locator | ( | ) | const |
Return the gamma veto calorimeter locator.
const std::string& snemo::processing::base_gamma_builder::get_id | ( | ) | const |
Return the gamma builder ID.
datatools::logger::priority snemo::processing::base_gamma_builder::get_logging_priority | ( | ) | const |
Get logging priority.
const snemo::geometry::xcalo_locator& snemo::processing::base_gamma_builder::get_xcalo_locator | ( | ) | const |
Return the X-wall calorimeter locator.
bool snemo::processing::base_gamma_builder::has_geometry_manager | ( | ) | const |
Check the geometry manager.
|
pure virtual |
Initialize the tracker trajectory fitter through configuration properties.
bool snemo::processing::base_gamma_builder::is_initialized | ( | ) | const |
Check if theclusterizer is initialized.
|
static |
OCD support.
int snemo::processing::base_gamma_builder::process | ( | const base_gamma_builder::hit_collection_type & | calo_hits_, |
snemo::datamodel::particle_track_data & | ptd_ | ||
) |
Main tracker trajectory driver.
|
pure virtual |
Reset the tracker trajectory fitter.
void snemo::processing::base_gamma_builder::set_geometry_manager | ( | const geomtools::manager & | gmgr_ | ) |
Address the geometry manager.
void snemo::processing::base_gamma_builder::set_logging_priority | ( | datatools::logger::priority | logging_priority_ | ) |
Set logging priority level.
void snemo::processing::base_gamma_builder::tree_dump | ( | std::ostream & | out_ = std::clog , |
const std::string & | title_ = "" , |
||
const std::string & | indent_ = "" , |
||
bool | inherit_ = false |
||
) | const |
Smart print.
|
protected |
Logging priority threshold.