33 #ifndef FALAISE_SNEMO_CUT_SIMULATED_DATA_CUT_H 34 #define FALAISE_SNEMO_CUT_SIMULATED_DATA_CUT_H 1 41 #include <boost/cstdint.hpp> 48 class service_manager;
107 virtual void reset();
117 std::string _SD_label_;
120 std::string _flag_name_;
122 std::string _hit_category_;
123 int _hit_category_range_min_;
124 int _hit_category_range_max_;
126 std::string _hit_property_logic_;
127 typedef std::map<std::string, std::vector<std::string> > property_values_dict_type;
128 property_values_dict_type
129 _hit_property_values_;
145 #endif // FALAISE_SNEMO_CUT_SIMULATED_DATA_CUT_H Definition: simulated_data_cut.h:61
void set_SD_label(const std::string &SD_label_)
Set the SD bank key.
const std::string & get_SD_label() const
Return the SD bank key.
void _set_defaults()
Default values.
Definition: simulated_data_cut.h:62
Definition: simulated_data_cut.h:65
virtual void initialize(const datatools::properties &configuration_, datatools::service_manager &service_manager_, cuts::cut_handle_dict_type &cut_dict_)
Initilization.
virtual int _accept()
Selection.
simulated_data_cut(datatools::logger::priority logging_priority_=datatools::logger::PRIO_FATAL)
Constructor.
Definition: simulated_data_cut.h:63
bool is_mode_has_hit_property() const
Check mode MODE_HAS_HIT_PROPERTY:
const std::string & get_flag_name() const
Return the name of cut mode MODE_FLAG.
virtual ~simulated_data_cut()
Destructor.
mode_type
The cut mode.
Definition: simulated_data_cut.h:59
DOCD_CLASS_DECLARATION(my::algo)
Definition: simulated_data_cut.h:56
bool is_mode_range_hit_category() const
Check mode MODE_RANGE_HIT_CATEGORY:
#define CUT_REGISTRATION_INTERFACE(T)
Definition: calo_tapered_scin_box_model.h:54
uint32_t get_mode() const
Return the cut mode.
void set_flag_name(const std::string &flag_name_)
Set the name of cut mode MODE_FLAG.
Definition: simulated_data_cut.h:60
std::map< std::string, cut_entry_type > cut_handle_dict_type
bool is_mode_has_hit_category() const
Check mode MODE_HAS_HIT_CATEGORY:
bool is_mode_flag() const
Check mode MODE_FLAG:
virtual void reset()
Reset.