Particle Identification and Tracking
|
ABC for filter objects. More...
#include <filter.h>
Public Member Functions | |
virtual bool | operator() (int index, int frame) const =0 |
Returns true if the particle at index in frame passes what every criteria that the subclasses implement. More... | |
virtual void | set_wrapper (const Wrapper_in *)=0 |
Sets pointer to Wrapper_in to read data from. More... | |
virtual FILT_TYPE | get_type () const =0 |
Returns filter type. More... | |
virtual | ~Filter () |
Destructor. More... | |
Filter () | |
Empty constructor. More... | |
ABC for filter objects.
Filter objects act as a (partial) layer on top of the wrapper objects to allow only particles that meet criteria to even be created. There are probably better ways to factor this code.
They take in a the index and frame of particle in a returns a bool, true if the particle is good, false if it is bad.
|
inlinevirtual |
Destructor.
|
inline |
Empty constructor.
|
pure virtual |
Returns filter type.
Implemented in utilities::Filter_ersI, utilities::Filter_ers, and utilities::Filter_trivial.
Referenced by main().
|
pure virtual |
Returns true if the particle at index in frame passes what every criteria that the subclasses implement.
Implemented in utilities::Filter_ersI, utilities::Filter_ers, and utilities::Filter_trivial.
|
pure virtual |
Sets pointer to Wrapper_in to read data from.
Implemented in utilities::Filter_ersI, utilities::Filter_ers, and utilities::Filter_trivial.
Referenced by tracking::hash_case::init(), and tracking::Master_box::init().