![]() |
KaliVeda
Toolkit for HIC analysis
|
Specifies a runfile according to run number and file index ,.
Each experimental 'run' may produce 1 or more files. The conditions and settings of the experiment are assumed to be the same during the entire length of the run.
Each 'run' is assigned a number. Each file of the 'run' is assigned an index.
To fully specify a runfile requires both run number and index: run_index_t. In the case where only 1 file is associated with each run, the index is optional.
Declaring a run_index_t can be done like:
Definition at line 33 of file run_index.h.
#include <run_index.h>
Public Member Functions | |
run_index_t ()=default | |
run_index_t (const run_index_t &)=default | |
run_index_t (const TString &rs) | |
run_index_t (int run, std::optional< int > index) | |
run_index_t (run_index_t &&)=default | |
TString | as_string () const |
void | clear () |
bool | has_index () const |
int | index (int no_index=-1) const |
TString | index_string () const |
run_index_t & | operator= (const run_index_t &)=default |
run_index_t & | operator= (run_index_t &&)=default |
int | run () const |
void | set (const TString &rs) |
void | set_index (int i) |
void | set_run (int r) |
Friends | |
bool | operator< (const run_index_t &A, const run_index_t &B) |
std::ostream & | operator<< (std::ostream &out, const run_index_t &rndx) |
bool | operator== (const run_index_t &A, const run_index_t &B) |
|
inline |
Definition at line 35 of file run_index.h.
|
default |
|
default |
|
default |
|
inline |
Definition at line 46 of file run_index.h.
|
inline |
Definition at line 94 of file run_index.h.
|
inline |
Definition at line 75 of file run_index.h.
|
inline |
Definition at line 61 of file run_index.h.
|
inline |
Definition at line 57 of file run_index.h.
|
inline |
Definition at line 101 of file run_index.h.
|
default |
|
default |
|
inline |
Definition at line 52 of file run_index.h.
Definition at line 81 of file run_index.h.
|
inline |
Definition at line 69 of file run_index.h.
|
inline |
Definition at line 65 of file run_index.h.
|
friend |
Definition at line 118 of file run_index.h.
|
friend |
Definition at line 106 of file run_index.h.
|
friend |
Definition at line 127 of file run_index.h.