GEMC
2.3
Geant4 Monte-Carlo Framework
|
#include <gbank.h>
Public Member Functions | |
gBank () | |
gBank (int i, string bname, string d) | |
~gBank () | |
void | load_variable (string, int, string, string) |
int | getVarId (string) |
string | getVarType (string) |
int | getVarBankType (string) |
void | orderNames () |
Data Fields | |
string | bankName |
name of the bank, it's also key in the map but we store it here as well More... | |
int | idtag |
unique id for the bank More... | |
string | bdescription |
bank description More... | |
vector< string > | name |
Variable name. More... | |
vector< int > | id |
Output variable identifier. More... | |
vector< string > | type |
Variable type. More... | |
vector< string > | description |
Variable description. More... | |
map< int, string > | orderedNames |
Friends | |
ostream & | operator<< (ostream &stream, gBank) |
Overloaded "<<" for the class 'bank'. More... | |
gBank
This class defines the general bank content.
The structure of the content is read from the database or a text file.
void gBank::load_variable | ( | string | n, |
int | i, | ||
string | t, | ||
string | d | ||
) |
|
friend |