29 #ifndef FALAISE_SNEMO_SIMULATION_GG_STEP_HIT_PROCESSOR_H 30 #define FALAISE_SNEMO_SIMULATION_GG_STEP_HIT_PROCESSOR_H 1 47 namespace simulation {
77 virtual void initialize(const ::datatools::properties& config_,
82 const ::mctools::base_step_hit_processor::step_hit_ptr_collection_type& the_base_step_hits,
87 const ::mctools::base_step_hit_processor::step_hit_ptr_collection_type& the_base_step_hits,
109 std::string _module_category_;
112 std::string _mapping_category_;
118 double _time_resolution_;
122 double _fiducial_drift_radius_;
126 double _fiducial_drift_length_;
130 double _mean_ionization_energy_;
149 bool _use_continuous_ionization_;
150 bool _compute_minimum_approach_position_;
151 bool _store_track_infos_;
160 uint32_t _module_type_;
161 uint32_t _gg_cell_type_;
172 std::map<uint32_t, geometry::gg_locator> _fast_gg_cell_locators_per_module_;
186 #endif // FALAISE_SNEMO_SIMULATION_GG_STEP_HIT_PROCESSOR_H
void _process(const mctools::base_step_hit_processor::step_hit_ptr_collection_type &base_step_hits_, mctools::simulated_data::hit_handle_collection_type *gg_hits_, mctools::simulated_data::hit_collection_type *plain_gg_hits_)
Main process method.
virtual void process(const ::mctools::base_step_hit_processor::step_hit_ptr_collection_type &the_base_step_hits, ::mctools::simulated_data::hit_handle_collection_type &the_handle_hits)
Main processing routine :
virtual ~gg_step_hit_processor()
Destructor.
A basic processor of simulated step hits in some drift cell in Geiger regime.
Definition: gg_step_hit_processor.h:50
bool match_gg_hit(const mctools::base_step_hit &gg_hit_, const mctools::base_step_hit &step_hit_) const
Check if a step hit is a candidate for being part within a proposed Geiger hit.
const mygsl::rng & get_rng() const
Return a non mutable reference to the PRNG.
virtual void reset()
Reset.
void _purge_gg_hits(mctools::simulated_data::hit_handle_collection_type *gg_hits_, mctools::simulated_data::hit_collection_type *plain_gg_hits_)
To be documented.
gg_step_hit_processor()
Default constructor.
virtual bool accept_external_rng() const
Check if processor accepts an external PRNG.
virtual void set_external_rng(mygsl::rng &rng_)
Set an external PRNG.
bool has_external_rng() const
Check if processor uses an external PRNG.
Definition: calo_tapered_scin_box_model.h:54
mygsl::rng & grab_rng()
Return a mutable reference to the PRNG.
void _set_defaults()
Set default values for attributes.
#define MCTOOLS_STEP_HIT_PROCESSOR_REGISTRATION_INTERFACE(SHP_CLASS_NAME)
virtual void initialize(const ::datatools::properties &config_, ::datatools::service_manager &service_mgr_)
Main setup routine.
Fast locator class for SuperNEMO drift chamber volumes.
Definition: gg_locator.h:62