GEMC  1.8
Geant4 Monte-Carlo Framework
MBankdefs.h
Go to the documentation of this file.
1 #ifndef MBankdefs_H
8 #define MBankdefs_H 1
9 
10 // %%%%%%%%%%%%%
11 // gemc headers
12 // %%%%%%%%%%%%%
13 #include "MPHBaseClass.h"
14 #include "usage.h"
15 
16 // %%%%%%%%%%%
17 // C++ headers
18 // %%%%%%%%%%%
19 #include <sstream>
20 using namespace std;
21 
28 class MBank
29 {
30  public:
31  MBank(){;}
32  ~MBank(){;}
33 
34  public:
35  vector<string> name;
36  vector<int> id;
37  vector<int> type;
38  vector<int> activated;
39  vector<string> description;
40 };
41 
42 map<string, MBank> read_banks(gemc_opts, map<string, MPHB_Factory>);
43 
44 
45 #endif
map< string, MBank > read_banks(gemc_opts, map< string, MPHB_Factory >)
Fills bank maps according to Hit Process Map.
Definition: MBankdefs.cc:21
STL namespace.
vector< int > id
Output variable identifier.
Definition: MBankdefs.h:36
vector< string > name
Variable name.
Definition: MBankdefs.h:35
vector< string > description
Variable description.
Definition: MBankdefs.h:39
vector< int > type
Type of variable: 0=int, 1=double.
Definition: MBankdefs.h:37
~MBank()
Definition: MBankdefs.h:32
vector< int > activated
Activated means this variable will be written to the output.
Definition: MBankdefs.h:38
MBank()
Definition: MBankdefs.h:31