17 #ifndef FALAISE_SNEMO_PROCESSING_MOCK_CALORIMETER_S2C_MODULE_H 18 #define FALAISE_SNEMO_PROCESSING_MOCK_CALORIMETER_S2C_MODULE_H 1 45 namespace processing {
96 calibrated_calorimeter_hits_);
109 calibrated_calorimeter_hits_);
115 std::vector<std::string> _hit_categories_;
117 std::string _SD_label_;
118 std::string _CD_label_;
119 std::string _Geo_label_;
120 double _cluster_time_width_;
121 bool _alpha_quenching_;
122 bool _store_mc_hit_id_;
141 #endif // FALAISE_SNEMO_PROCESSING_MOCK_CALORIMETER_S2C_MODULE_H
bool has_external_random() const
Check if the module use an external PRNG.
void reset_external_random()
Reset the external PRNG.
A mock calibration for SuperNEMO calorimeter hits.
Definition: mock_calorimeter_s2c_module.h:48
void set_geom_manager(const geomtools::manager &gmgr_)
Setting geometry manager.
virtual ~mock_calorimeter_s2c_module()
Destructor.
const geomtools::manager & get_geom_manager() const
Getting geometry manager.
void _process_calorimeter_digitization(const mctools::simulated_data &simulated_data_, snemo::datamodel::calibrated_data::calorimeter_hit_collection_type &calibrated_calorimeter_hits_)
Digitize calorimeter hits.
mygsl::rng & _get_random()
Getting random number generator.
void _process_calorimeter_calibration(snemo::datamodel::calibrated_data::calorimeter_hit_collection_type &calorimeter_hits_)
Calibrate calorimeter hits (energy/time resolution spread)
virtual process_status process(datatools::things &data_)
Data record processing.
std::map< std::string, calorimeter_regime > calorimeter_regime_col_type
Dictionary of calorimeter regime objects associated to collection of calorimeter-like hits.
Definition: mock_calorimeter_s2c_module.h:51
virtual void reset()
Reset.
void set_external_random(mygsl::rng &rng_)
Set the external PRNG.
DOCD_CLASS_DECLARATION(my::algo)
std::vector< calorimeter_hit_handle_type > calorimeter_hit_collection_type
Collection of handles on calibrated calorimeter hits.
Definition: calibrated_data.h:58
std::map< std::string, module_entry_type > module_handle_dict_type
Definition: calo_tapered_scin_box_model.h:54
#define DPP_MODULE_REGISTRATION_INTERFACE(T)
void _process_calorimeter_trigger(snemo::datamodel::calibrated_data::calorimeter_hit_collection_type &calorimeter_hits_)
Apply basic trigger effect.
virtual void initialize(const datatools::properties &setup_, datatools::service_manager &service_manager_, dpp::module_handle_dict_type &module_dict_)
Initialization.
mock_calorimeter_s2c_module(datatools::logger::priority=datatools::logger::PRIO_FATAL)
Constructor.
void _set_defaults()
Set default attributes values.
void _process(const mctools::simulated_data &simulated_data_, snemo::datamodel::calibrated_data::calorimeter_hit_collection_type &calibrated_calorimeter_hits_)
Main process function.