Particle Identification and Tracking
Public Member Functions | Private Attributes | List of all members
tracking::TA_vanHove Class Reference

Track accumulator that implements computation of van Hove functions. More...

#include <ta_vanHove.h>

+ Inheritance diagram for tracking::TA_vanHove:
+ Collaboration diagram for tracking::TA_vanHove:

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_vanHove (unsigned max_steps, unsigned nbins, float max_range)
 Constructor. More...
 
virtual ~TA_vanHove ()
 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::Histogramx_disp_
 vector of Histogram objects, one for each time step, for displacement along x. More...
 
std::vector< utilities::Histogramy_disp_
 vector of Histogram objects, one for each time step, for displacement along y. More...
 
unsigned max_step_
 Maximum time step. More...
 

Detailed Description

Track accumulator that implements computation of van Hove functions.

Constructor & Destructor Documentation

TA_vanHove::TA_vanHove ( unsigned  max_steps,
unsigned  nbins,
float  max_range 
)

Constructor.

TA_vanHove::~TA_vanHove ( )
virtual

Destructor.

Member Function Documentation

void TA_vanHove::add_disp ( const utilities::Tuplef displacement,
unsigned  steps 
)
virtual

Add a track segment displacement.

Parameters
[in]displacementThe net displacement of the track segment.
[in]stepsThe number of time steps in the track segment.

Implements tracking::Trk_accumulator.

References max_step_, x_disp_, and y_disp_.

unsigned tracking::TA_vanHove::max_step ( ) const
inlinevirtual

Returns the maximum step that the accumulator can deal with.

Implements tracking::Trk_accumulator.

References max_step_.

void TA_vanHove::output_to_wrapper ( utilities::Generic_wrapper out,
const utilities::Md_store md_store 
) const

Member Data Documentation

unsigned tracking::TA_vanHove::max_step_
private

Maximum time step.

Referenced by add_disp(), max_step(), and output_to_wrapper().

std::vector<utilities::Histogram> tracking::TA_vanHove::x_disp_
private

vector of Histogram objects, one for each time step, for displacement along x.

Referenced by add_disp(), and output_to_wrapper().

std::vector<utilities::Histogram> tracking::TA_vanHove::y_disp_
private

vector of Histogram objects, one for each time step, for displacement along y.

Referenced by add_disp(), and output_to_wrapper().


The documentation for this class was generated from the following files: