tracking::wrapper_i_file Class Reference

Wrapper class for dealing with data from a text file. More...

#include <wrapper_i_file.h>

Inheritance diagram for tracking::wrapper_i_file:
Inheritance graph
[legend]
Collaboration diagram for tracking::wrapper_i_file:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int num_entries () const
 Implementation for wrapper_i of files.
void print () const
double get_value (int ind, utilities::D_TYPE type) const
 ~wrapper_i_file ()
 wrapper_i_file (params_file *param)
void fill_master_box (master_box_t< particle_track > &test) const

Protected Member Functions

void fill_data (string file_name, int row, int col)

Protected Attributes

int rows
 number of rows(particles) that the
int cols
map< utilities::D_TYPE, int > contents

Private Attributes

double * first
 Pointer to the first data point of the.

Detailed Description

Wrapper class for dealing with data from a text file.

This is mainly for testing purposes. The assumption is that the data is stored in space deliniated file with one particle per row with the orderin [indx, x, y, I, r2,E]


Constructor & Destructor Documentation

wrapper_i_file::~wrapper_i_file (  ) 

References first.

wrapper_i_file::wrapper_i_file ( params_file param  ) 

Member Function Documentation

void wrapper_i_file::fill_data ( string  file_name,
int  row,
int  col 
) [protected]

References cols, first, j, rows, and tmp.

Referenced by wrapper_i_file().

void wrapper_i_file::fill_master_box ( master_box_t< particle_track > &  test  )  const
double wrapper_i_file::get_value ( int  ind,
utilities::D_TYPE  type 
) const

References cols, and first.

int wrapper_i_file::num_entries (  )  const

Implementation for wrapper_i of files.

References rows.

void wrapper_i_file::print (  )  const

References cols, and rows.


Member Data Documentation

Referenced by fill_data(), get_value(), and print().

Pointer to the first data point of the.

Referenced by fill_data(), get_value(), and ~wrapper_i_file().

number of rows(particles) that the

Referenced by fill_data(), num_entries(), and print().


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

Generated on Wed Nov 4 18:27:21 2009 for Particle Identification and Tracking by  doxygen 1.5.9-20090622