|
Particle Identification and Tracking
|
Track accumulator that computes the distribution of
and
for displacements.
More...
#include <ta_disp.h>
Inheritance diagram for tracking::TA_disp:
Collaboration diagram for tracking::TA_disp:Public Member Functions | |
| void | add_disp (const utilities::Tuplef &displacement, unsigned steps) |
| Add a track segment displacement. More... | |
| unsigned | max_step () const |
| Returns the maximum step that the accumulator can deal with. More... | |
| TA_disp (unsigned max_steps, unsigned r_nbins, float max_r, unsigned t_nbins) | |
| Constructor. More... | |
| ~TA_disp () | |
| Destructor. More... | |
| void | output_to_wrapper (utilities::Generic_wrapper &out, const utilities::Md_store &md_store) const |
| Output function. More... | |
Private Attributes | |
| std::vector< utilities::Histogram > | r_disp_ |
| vector of Histogram objects, one for each time step, for squared displacement. More... | |
| std::vector< utilities::Histogram > | theta_ |
| A vector of histograms for. More... | |
| unsigned | max_step_ |
| Maximum time step. More... | |
Track accumulator that computes the distribution of
and
for displacements.
| TA_disp::TA_disp | ( | unsigned | max_steps, |
| unsigned | r_nbins, | ||
| float | max_r, | ||
| unsigned | t_nbins | ||
| ) |
Constructor.
| TA_disp::~TA_disp | ( | ) |
Destructor.
|
virtual |
Add a track segment displacement.
| [in] | displacement | The net displacement of the track segment. |
| [in] | steps | The number of time steps in the track segment. |
Implements tracking::Trk_accumulator.
|
inlinevirtual |
Returns the maximum step that the accumulator can deal with.
Implements tracking::Trk_accumulator.
References max_step_.
| void TA_disp::output_to_wrapper | ( | utilities::Generic_wrapper & | out, |
| const utilities::Md_store & | md_store | ||
| ) | const |
Output function.
References utilities::Generic_wrapper::add_meta_data(), base_name, utilities::Generic_wrapper::close_group(), utilities::Generic_wrapper::close_wrapper(), utilities::format_name(), utilities::Md_store::get_value(), utilities::Generic_wrapper::is_open(), max_step_, utilities::Generic_wrapper::open_group(), utilities::Generic_wrapper::open_wrapper(), r_disp_, and theta_.
|
private |
Maximum time step.
Referenced by add_disp(), max_step(), and output_to_wrapper().
|
private |
vector of Histogram objects, one for each time step, for squared displacement.
Referenced by add_disp(), and output_to_wrapper().
|
private |
A vector of histograms for.
Referenced by add_disp(), and output_to_wrapper().
1.8.4