Public Member Functions | Private Attributes | List of all members
snReadCIRFile Class Reference

Reads CIRs from CIR HDF5 file. More...

#include <snReadCIRFile.h>

Public Member Functions

 snReadCIRFile (std::string filename)
 
virtual ~snReadCIRFile ()
 
cir_struct getCIR (Blocks_Type cir_num)
 returns CIR with a given number More...
 
double getCIRRate ()
 Return the CIR rate of the file. More...
 
Blocks_Type getCIRAmount ()
 Return the number of total CIRs in file. More...
 
double getC0 ()
 Returns the speed of light as defined in file. More...
 

Private Attributes

H5File * file
 
Group * group_cirs
 
parameters_simulation_struct my_params
 
double * ref_ranges
 

Detailed Description

Reads CIRs from CIR HDF5 file.

Parameters
filename

Constructor & Destructor Documentation

snReadCIRFile::snReadCIRFile ( std::string  filename)
snReadCIRFile::~snReadCIRFile ( )
virtual

Member Function Documentation

double snReadCIRFile::getC0 ( )
inline

Returns the speed of light as defined in file.

Returns
value for c0
cir_struct snReadCIRFile::getCIR ( Blocks_Type  cir_num)

returns CIR with a given number

Parameters
<cir_num>CIR number
Returns
CIR
Blocks_Type snReadCIRFile::getCIRAmount ( )
inline

Return the number of total CIRs in file.

Returns
CIR amount
double snReadCIRFile::getCIRRate ( )
inline

Return the CIR rate of the file.

Returns
CIR rate

Member Data Documentation

H5File* snReadCIRFile::file
private
Group* snReadCIRFile::group_cirs
private
parameters_simulation_struct snReadCIRFile::my_params
private
double* snReadCIRFile::ref_ranges
private

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