Particle Identification and Tracking
|
A class to hold a stack of Corr objects for handing into a hash_case. More...
#include <corr_case.h>
Public Member Functions | |
Corr_case (const tracking::Corr_gofr *, int comp_count, float max_range, const int n_bins, int comp_num, int dset_num, int read_comp_num) | |
Constructor for filling with Corr_gofr. More... | |
void | out_to_wrapper (utilities::Generic_wrapper &wrap, const std::string &base_name, const utilities::Md_store *md_store) const |
Averages the values in a vector of Accum_sofq and writes. More... | |
tracking::Corr * | at (int j) |
Returns the nth element of the case. More... | |
tracking::Corr * | operator[] (int j) |
Returns the nth element of the case. More... | |
unsigned int | size () const |
Returns size. More... | |
~Corr_case () | |
Destructor. More... | |
Private Attributes | |
std::vector< tracking::Corr * > | corr_vec_ |
Vector of correlation objects. More... | |
std::map< std::string, float > | prams_float_ |
map of float parameters fed to the corr objects More... | |
std::map< std::string,int > | prams_int_ |
map of integer parameters fed to the corr objects More... | |
A class to hold a stack of Corr objects for handing into a hash_case.
Very similar to Accum_case. These are not the most elegant solutions, but they seem to work.
Corr_case::Corr_case | ( | const tracking::Corr_gofr * | , |
int | comp_count, | ||
float | max_range, | ||
const int | n_bins, | ||
int | comp_num, | ||
int | dset_num, | ||
int | read_comp_num | ||
) |
Constructor for filling with Corr_gofr.
The pointer does nothing, but is passed into set the type.
References corr_vec_, prams_float_, and prams_int_.
Corr_case::~Corr_case | ( | ) |
Destructor.
References corr_vec_.
|
inline |
|
inline |
void Corr_case::out_to_wrapper | ( | utilities::Generic_wrapper & | wrap, |
const std::string & | base_name, | ||
const utilities::Md_store * | md_store | ||
) | const |
Averages the values in a vector of Accum_sofq and writes.
References utilities::Generic_wrapper::add_meta_data(), utilities::Generic_wrapper::close_group(), utilities::Generic_wrapper::close_wrapper(), corr_vec_, utilities::format_name(), utilities::Generic_wrapper::open_group(), utilities::Generic_wrapper::open_wrapper(), prams_float_, and prams_int_.
Referenced by main().
|
inline |
|
private |
Vector of correlation objects.
Referenced by at(), Corr_case(), operator[](), out_to_wrapper(), size(), and ~Corr_case().
|
private |
map of float parameters fed to the corr objects
Referenced by Corr_case(), and out_to_wrapper().
|
private |
map of integer parameters fed to the corr objects
Referenced by Corr_case(), and out_to_wrapper().