32 #ifndef FALAISE_TRACKERPRECLUSTERING_PRE_CLUSTERIZER_H 33 #define FALAISE_TRACKERPRECLUSTERING_PRE_CLUSTERIZER_H 1 94 template <
typename Hit>
135 double _delayed_hit_cluster_time_;
136 bool _processing_prompt_hits_;
137 bool _processing_delayed_hits_;
138 bool _split_chamber_;
147 bool operator()(
const Hit* hit_ptr_i_,
const Hit* hit_ptr_j_)
const {
148 if (!hit_ptr_i_->has_delayed_time())
return false;
149 if (!hit_ptr_j_->has_delayed_time())
return false;
150 return hit_ptr_i_->get_delayed_time() < hit_ptr_j_->get_delayed_time();
156 #include "falaise/TrackerPreClustering/pre_clusterizer.tpp" 158 #endif // FALAISE_TRACKERPRECLUSTERING_PRE_CLUSTERIZER_H void _set_defaults()
Set defualt attribute values.
virtual ~pre_clusterizer()
Destrctuor.
void set_processing_delayed_hits(bool)
Set the flag for delayed hits processing.
double get_cell_size() const
Return the cell size.
bool is_locked() const
Check the lock flag.
Output data structure.
Definition: interface.h:109
void set_processing_prompt_hits(bool)
Set the flag for prompt hits processing.
static const int OK
Definition: pre_clusterizer.h:67
void set_split_chamber(bool)
Set the flag to split the tracking chamber.
int process(const input_data< Hit > &input_, output_data< Hit > &output_)
A pre-clusterizer of Geiger hits for the SuperNEMO detector.
Definition: pre_clusterizer.h:65
pre_clusterizer()
Default constructor.
void set_delayed_hit_cluster_time(double)
Set the delayed hit cluster time.
Setup data for the TrackerPreClustering algorithm.
Definition: interface.h:50
bool operator()(const Hit *hit_ptr_i_, const Hit *hit_ptr_j_) const
Main comparison method(less than) : require non null handles and non-Nan delayed times.
Definition: pre_clusterizer.h:147
A functor for handle on tracker hits that perform a comparison by delayed time.
Definition: pre_clusterizer.h:144
void set_logging_priority(datatools::logger::priority logging_)
Set logging threshold.
static const int ERROR
Definition: pre_clusterizer.h:68
Definition: event_display.h:40
double get_delayed_hit_cluster_time() const
Return the delayed hit cluster time.
datatools::logger::priority get_logging_priority() const
Return logging threshold.
bool is_processing_prompt_hits() const
Check if prompt hits are processed.
int initialize(const setup_data &setup_)
Configure and initialize the algorithm.
bool is_processing_delayed_hits() const
Check if delayed hits are processed.
bool is_split_chamber() const
Check the flag to split the tracking chamber.
void set_cell_size(double cell_size_)
Set the cell size.