Particle Identification and Tracking
|
Class to hold the master list of all particles to be processed by the code. More...
#include <master_box_t.h>
Public Member Functions | |
void | print () |
prints out a representation of this in some useful way More... | |
void | push (particle *next) |
add next particle More... | |
particle * | get_particle (int n) |
return a pointer to particle in the location More... | |
void | append_to_data_types (utilities::D_TYPE type) |
adds a new type to the data_types More... | |
Master_box () | |
Constructor. More... | |
unsigned int | size () |
Returns the total number of particles contained in the Master_box. More... | |
void | clean_pos_link () |
Cleans up hanging lists from the tracking procedure. More... | |
void | init (const utilities::Wrapper_in &w_in, utilities::Filter &filt) |
initialization to take in a wrapper More... | |
void | compute_accum (tracking::Accumulator &in) const |
Puts all of the particles in to the Accumulator. More... | |
const utilities::Md_store * | get_Md_store (unsigned int j) const |
Returns a pointer to the Md_store for plane j in the input wrapper. More... | |
~Master_box () | |
Destructor. More... | |
Protected Member Functions | |
void | priv_init (utilities::Filter const *const filt) |
private initialization function More... | |
Protected Attributes | |
std::vector< particle * > | particle_vec_ |
Vector that contains pointers to all of the particles that are going to be considered in the code. More... | |
const utilities::Wrapper_in * | in_wrapper_ |
Pointer to wrapper to take care of particle location input data. More... | |
unsigned int | imagesz1 |
unsigned int | imagesz2 |
std::set< utilities::D_TYPE > | data_types |
A set of the data types known by particles in the Master_box. More... | |
bool | own_wrapper_ |
if the master box owns, and hence needs to delete the wrapper More... | |
Class to hold the master list of all particles to be processed by the code.
Master_box::Master_box | ( | ) |
Constructor.
Master_box::~Master_box | ( | ) |
Destructor.
References tracking::particle_base::clear_wrapper_in(), in_wrapper_, own_wrapper_, and particle_vec_.
|
inline |
adds a new type to the data_types
References data_types.
void tracking::Master_box::clean_pos_link | ( | ) |
Cleans up hanging lists from the tracking procedure.
void Master_box::compute_accum | ( | tracking::Accumulator & | in) | const |
Puts all of the particles in to the Accumulator.
References tracking::Accumulator::add_particle(), and particle_vec_.
Referenced by main().
const Md_store * Master_box::get_Md_store | ( | unsigned int | j) | const |
Returns a pointer to the Md_store for plane j in the input wrapper.
References utilities::Wrapper_in::get_Md_store(), and in_wrapper_.
Referenced by tracking::hash_case::init().
|
inline |
return a pointer to particle in the location
References particle_vec_.
Referenced by tracking::hash_case::init(), tracking::Track_shelf::init(), and main().
void Master_box::init | ( | const utilities::Wrapper_in & | w_in, |
utilities::Filter & | filt | ||
) |
initialization to take in a wrapper
References in_wrapper_, own_wrapper_, priv_init(), and utilities::Filter::set_wrapper().
Referenced by main().
void Master_box::print | ( | ) |
prints out a representation of this in some useful way
References particle_vec_.
|
protected |
private initialization function
References data_types, utilities::Wrapper_in::get_data_types(), utilities::Wrapper_in::get_num_entries(), utilities::Wrapper_in::get_num_frames(), in_wrapper_, tracking::particle_base::intialize_wrapper_in(), and particle_vec_.
Referenced by init().
|
inline |
add next particle
References particle_vec_.
|
inline |
Returns the total number of particles contained in the Master_box.
References particle_vec_.
Referenced by tracking::hash_case::init(), tracking::Track_shelf::init(), and main().
|
protected |
A set of the data types known by particles in the Master_box.
Referenced by append_to_data_types(), and priv_init().
|
protected |
|
protected |
|
protected |
Pointer to wrapper to take care of particle location input data.
This class is responcible for creating and destroying this wrapper. This pointer will be handed to every particle that is part of this Master_box. The exact type of wrapper that is made will be determined by the parameter object.
Referenced by get_Md_store(), init(), priv_init(), and ~Master_box().
|
protected |
if the master box owns, and hence needs to delete the wrapper
Referenced by init(), and ~Master_box().
|
protected |
Vector that contains pointers to all of the particles that are going to be considered in the code.
This class is responcible for making all of the objects to represent the particles. This is all done with pointers, not with objects to take anvatage of polymorphism. This class is responcible to creating and destroying all of the particle objects.
Referenced by compute_accum(), get_particle(), print(), priv_init(), push(), size(), and ~Master_box().