Falaise  4.0.1
SuperNEMO Software Toolkit
Public Member Functions | List of all members
snemo::simulation::calorimeter_step_hit_processor Class Reference

A basic processor of simulated step hits in SuperNEMO calorimeter blocks. More...

#include <falaise/snemo/simulation/calorimeter_step_hit_processor.h>

Inheritance diagram for snemo::simulation::calorimeter_step_hit_processor:
mctools::calorimeter_step_hit_processor mctools::base_step_hit_processor datatools::i_tree_dumpable

Public Member Functions

virtual bool locate_calorimeter_block (const geomtools::vector_3d &position_, geomtools::geom_id &gid_) const
 Find the Gid of the calorimeter block at a given position. More...
 
virtual void initialize (const ::datatools::properties &config_, ::datatools::service_manager &service_mgr_)
 Main setup routine. More...
 
- Public Member Functions inherited from mctools::calorimeter_step_hit_processor
const std::string & get_mapping_category () const
 
void set_mapping_category (const std::string &sc_)
 
const std::vector< int > & get_mapping_category_any_addresses () const
 
 calorimeter_step_hit_processor ()
 
virtual ~calorimeter_step_hit_processor ()
 
virtual void process (const ::mctools::base_step_hit_processor::step_hit_ptr_collection_type &base_step_hits_, ::mctools::simulated_data::hit_handle_collection_type &handle_hits_)
 
virtual void process (const ::mctools::base_step_hit_processor::step_hit_ptr_collection_type &base_step_hits_, ::mctools::simulated_data::hit_collection_type &plain_hits_)
 
bool match_scintillation_hit (const base_step_hit &scintillation_hit_, const base_step_hit &step_hit_) const
 
void merge_scintillation_hits (simulated_data::hit_handle_collection_type &scintillation_hits_)
 
void tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
 
- Public Member Functions inherited from mctools::base_step_hit_processor
bool is_debug () const
 
void set_debug (bool)
 
void set_pool (pool_type &)
 
bool has_pool () const
 
pool_typeget_pool () const
 
bool using_private_pool () const
 
void setup_private_pool (size_t capacity_=DEFAULT_POOL_CAPACITY)
 
void add_new_hit (simulated_data::hit_handle_collection_type &hits_)
 
const std::string & get_name () const
 
void set_name (const std::string &)
 
 base_step_hit_processor ()
 
virtual ~base_step_hit_processor ()
 
const std::string & get_hit_category () const
 
void set_hit_category (const std::string &hc_)
 
const std::string & get_sensitive_category () const
 
void set_sensitive_category (const std::string &sc_)
 
bool has_geom_manager () const
 
void set_geom_manager (const geomtools::manager &gmgr_)
 
const geomtools::managerget_geom_manager () const
 
const datatools::propertiesget_auxiliaries () const
 
datatools::propertiesgrab_auxiliaries ()
 
virtual bool accept_external_rng () const
 
virtual void set_external_rng (mygsl::rng &rng_)
 
void initialize (const datatools::properties &config_)
 
virtual void initialize (const datatools::properties &config_, datatools::service_manager &service_mgr_)
 
void process (const step_hit_ptr_collection_type &base_step_hits_, simulated_data &sim_data_)
 
virtual void process (const step_hit_ptr_collection_type &base_step_hits_, simulated_data::hit_handle_collection_type &hits_)=0
 
virtual void process (const step_hit_ptr_collection_type &base_step_hit_s, simulated_data::hit_collection_type &plain_hits_)
 
datatools::logger::priority get_logging_priority () const
 
void set_logging_priority (datatools::logger::priority)
 
- Public Member Functions inherited from datatools::i_tree_dumpable
 i_tree_dumpable ()
 
virtual ~i_tree_dumpable ()
 
virtual void print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const
 
void print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const
 
void print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const
 
void tree_dump_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="", const bool inherit_=false) const
 
void tree_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="") const
 
void smart_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="") const
 

Additional Inherited Members

- Public Types inherited from mctools::base_step_hit_processor
typedef std::vector< base_step_hit * > step_hit_ptr_collection_type
 
typedef datatools::handle_pool< base_step_hitpool_type
 
- Public Types inherited from datatools::i_tree_dumpable
enum  ostream_type
 
- Static Public Member Functions inherited from mctools::calorimeter_step_hit_processor
static void init_ocd (datatools::object_configuration_description &)
 
- Static Public Member Functions inherited from mctools::base_step_hit_processor
static void init_ocd (datatools::object_configuration_description &)
 
- Static Public Member Functions inherited from datatools::i_tree_dumpable
static const boost::property_tree::ptree & empty_options ()
 
static boost::property_tree::ptree make_base_print_options (const std::string &title_, const std::string &indent_="", const bool inherit_=false)
 
static std::ostream & last_skip_tag (std::ostream &out_)
 
static std::ostream & skip_tag (std::ostream &out_)
 
static std::ostream & last_tag (std::ostream &out_)
 
static std::ostream & tag (std::ostream &out_)
 
- Public Attributes inherited from datatools::i_tree_dumpable
 OSTREAM_COUT
 
 OSTREAM_CERR
 
 OSTREAM_CLOG
 
- Static Public Attributes inherited from mctools::base_step_hit_processor
static const size_t DEFAULT_POOL_CAPACITY
 
- Protected Member Functions inherited from mctools::calorimeter_step_hit_processor
void _init (const ::datatools::properties &config_, ::datatools::service_manager &service_mgr_)
 
void _process (const base_step_hit_processor::step_hit_ptr_collection_type &base_step_hits_, simulated_data::hit_handle_collection_type *calo_hits_, simulated_data::hit_collection_type *plain_calo_hits_)
 
- Protected Member Functions inherited from mctools::base_step_hit_processor
void _initialize (const datatools::properties &config_, datatools::service_manager &service_mgr_)
 
- Protected Attributes inherited from mctools::base_step_hit_processor
datatools::logger::priority _logging_priority
 
std::string _name
 
std::string _hit_category
 
std::string _sensitive_category
 
const geomtools::manager_geom_manager
 
datatools::properties _auxiliaries
 
pool_type_private_pool
 
bool _pool_owner
 
pool_type_pool
 

Detailed Description

A basic processor of simulated step hits in SuperNEMO calorimeter blocks.

Member Function Documentation

◆ initialize()

virtual void snemo::simulation::calorimeter_step_hit_processor::initialize ( const ::datatools::properties config_,
::datatools::service_manager service_mgr_ 
)
virtual

Main setup routine.

Reimplemented from mctools::calorimeter_step_hit_processor.

◆ locate_calorimeter_block()

virtual bool snemo::simulation::calorimeter_step_hit_processor::locate_calorimeter_block ( const geomtools::vector_3d position_,
geomtools::geom_id gid_ 
) const
virtual

Find the Gid of the calorimeter block at a given position.

Reimplemented from mctools::calorimeter_step_hit_processor.


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