28 #ifndef FALAISE_SNEMO_PROCESSING_BASE_GAMMA_BUILDER_H 29 #define FALAISE_SNEMO_PROCESSING_BASE_GAMMA_BUILDER_H 1 55 class particle_track_data;
65 namespace processing {
80 const std::string &
get_id()
const;
117 virtual void reset() = 0;
120 void tree_dump(std::ostream &out_ = std::clog,
const std::string &title_ =
"",
121 const std::string &indent_ =
"",
bool inherit_ =
false)
const;
125 const std::string &prefix_ =
"");
167 bool _add_foil_vertex_extrapolation_;
168 double _add_foil_vertex_minimal_probability_;
171 bool _add_gamma_from_annihilation_;
172 double _add_gamma_from_annihilation_minimal_probability_;
175 bool _select_calorimeter_hits_;
176 std::vector<std::string>
177 _select_calorimeter_hits_tags_;
184 #endif // FALAISE_SNEMO_PROCESSING_BASE_GAMMA_BUILDER_H void set_geometry_manager(const geomtools::manager &gmgr_)
Address the geometry manager.
bool has_geometry_manager() const
Check the geometry manager.
virtual int _prepare_process(const base_gamma_builder::hit_collection_type &calo_hits_, snemo::datamodel::particle_track_data &ptd_)
Prepare data for processing.
const geomtools::manager & get_geometry_manager() const
Return a non-mutable reference to the geometry manager.
const snemo::geometry::xcalo_locator & get_xcalo_locator() const
Return the X-wall calorimeter locator.
The base class for all gamma builder algorithms.
Definition: base_gamma_builder.h:68
virtual ~base_gamma_builder()
Destructor.
void _set_initialized(bool)
Set the initialization flag.
snemo::datamodel::calibrated_data::calorimeter_hit_collection_type hit_collection_type
Typedef to calibrated calorimeter hits.
Definition: base_gamma_builder.h:71
Fast locator class for SuperNEMO X calorimeter scintillator block volumes.
Definition: xcalo_locator.h:61
void _set_defaults()
Set default attribute values.
void _reset()
Reset the clusterizer.
void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.
virtual void reset()=0
Reset the tracker trajectory fitter.
A geometry manager plugin with embedded SuperNEMO locators.
Definition: locator_plugin.h:40
virtual void initialize(const datatools::properties &setup_)=0
Initialize the tracker trajectory fitter through configuration properties.
int process(const base_gamma_builder::hit_collection_type &calo_hits_, snemo::datamodel::particle_track_data &ptd_)
Main tracker trajectory driver.
const snemo::geometry::gveto_locator & get_gveto_locator() const
Return the gamma veto calorimeter locator.
virtual int _post_process(const base_gamma_builder::hit_collection_type &calo_hits_, snemo::datamodel::particle_track_data &ptd_)
Post processing.
bool is_initialized() const
Check if theclusterizer is initialized.
std::vector< calorimeter_hit_handle_type > calorimeter_hit_collection_type
Collection of handles on calibrated calorimeter hits.
Definition: calibrated_data.h:58
static void ocd_support(datatools::object_configuration_description &, const std::string &prefix_="")
OCD support.
virtual int _process_algo(const base_gamma_builder::hit_collection_type &calo_hits_, snemo::datamodel::particle_track_data &ptd_)=0
Specific algorithm.
Definition: calo_tapered_scin_box_model.h:54
const snemo::geometry::calo_locator & get_calo_locator() const
Return the main wall calorimeter locator.
Fast locator class for SuperNEMO gamma-veto scintillator block volumes.
Definition: gveto_locator.h:61
datatools::logger::priority _logging_priority
Logging priority threshold.
Definition: base_gamma_builder.h:156
base_gamma_builder(const std::string &id_="anonymous")
Default constructor.
void _clear_working_arrays()
Clear working arrays.
SuperNEMO particle track model.
Definition: particle_track_data.h:38
datatools::logger::priority get_logging_priority() const
Get logging priority.
void _initialize(const datatools::properties &setup_)
Initialize the clusterizer through configuration properties.
const std::string & get_id() const
Return the gamma builder ID.
Fast locator class for SuperNEMO main calorimeter scintillator block volumes.
Definition: calo_locator.h:63
void set_logging_priority(datatools::logger::priority logging_priority_)
Set logging priority level.