31 #ifndef FALAISE_SNEMO_CUT_PARTICLE_TRACK_DATA_CUT_H 32 #define FALAISE_SNEMO_CUT_PARTICLE_TRACK_DATA_CUT_H 1 39 #include <boost/cstdint.hpp> 105 virtual void reset();
115 std::string _PTD_label_;
117 std::string _flag_name_;
118 int _particles_range_min_;
119 int _particles_range_max_;
120 int _non_associated_calorimeter_hits_range_min_;
122 int _non_associated_calorimeter_hits_range_max_;
139 #endif // FALAISE_SNEMO_CUT_PARTICLE_TRACK_DATA_CUT_H const std::string & get_PTD_label() const
Return the 'Particle Track Data' bank label/name.
uint32_t get_mode() const
Return the cut mode.
bool is_mode_range_particles() const
Check mode RANGE_PARTICLES.
virtual int _accept()
Selection.
Definition: particle_track_data_cut.h:54
Definition: particle_track_data_cut.h:55
virtual ~particle_track_data_cut()
Destructor.
bool is_mode_has_particles() const
Check mode HAS_PARTICLES.
void set_flag_name(const std::string &flag_name_)
Set flag property name.
bool is_mode_range_non_associated_calorimeter_hits() const
Check mode RANGE_NON_ASSOCIATED_CALORIMETER_HITS.
bool is_mode_has_non_associated_calorimeter_hits() const
Check mode HAS_NON_ASSOCIATED_CALORIMETER_HITS.
A cut performed on the event record's 'particle track data' bank.
Definition: particle_track_data_cut.h:50
DOCD_CLASS_DECLARATION(my::algo)
mode_type
Mode of the cut.
Definition: particle_track_data_cut.h:53
Definition: particle_track_data_cut.h:56
Definition: particle_track_data_cut.h:58
#define CUT_REGISTRATION_INTERFACE(T)
Definition: calo_tapered_scin_box_model.h:54
virtual void reset()
Reset.
bool is_mode_flag() const
Check mode FLAG:
void set_PTD_label(const std::string &PTD_label_)
Set the 'Particle Track Data' bank label/name.
void _set_defaults()
Default values.
virtual void initialize(const datatools::properties &configuration_, datatools::service_manager &service_manager_, cuts::cut_handle_dict_type &cut_dict_)
Initilization.
Definition: particle_track_data_cut.h:57
std::map< std::string, cut_entry_type > cut_handle_dict_type
particle_track_data_cut(datatools::logger::priority logging_priority_=datatools::logger::PRIO_FATAL)
Constructor.
const std::string & get_flag_name() const
Return flag property name.
Definition: particle_track_data_cut.h:59