#include <QtSql>
#include <QtWidgets>
#include <iostream>
#include <string>
#include "G4ThreeVector.hh"
#include "G4RotationMatrix.hh"
#include "G4Colour.hh"
#include "string_utilities.h"
#include "options.h"
Go to the source code of this file.
|
void | mergeMaps (map< string, string > &lhs, const map< string, string > &rhs) |
|
G4RotationMatrix | calc_rotation (string, string) |
|
G4ThreeVector | calc_position (string) |
|
G4Colour | gcol (string) |
|
int | getLastId (QSqlDatabase db, string t, string v, int r) |
|
QSqlDatabase | openGdb (goptions) |
|
void | closeGdb (QSqlDatabase db) |
|
map< string, string > | getFilesInDirectory (string) |
|
string | assignAttribute (QDomElement e, string attribute, string defaultValue) |
|
int | assignAttribute (QDomElement e, string attribute, int defaultValue) |
|
double | assignAttribute (QDomElement e, string attribute, double defaultValue) |
|
string | timeStamp () |
|
string | bestValueUnits (double, string) |
|
vector< double > | convertVintVdouble (vector< int > input) |
|
gemc utility functions
- Author
Maurizio Ungaro
-
mail: ungar.nosp@m.o@jl.nosp@m.ab.or.nosp@m.g
Definition in file utils.h.
string assignAttribute |
( |
QDomElement |
e, |
|
|
string |
attribute, |
|
|
string |
defaultValue |
|
) |
| |
int assignAttribute |
( |
QDomElement |
e, |
|
|
string |
attribute, |
|
|
int |
defaultValue |
|
) |
| |
double assignAttribute |
( |
QDomElement |
e, |
|
|
string |
attribute, |
|
|
double |
defaultValue |
|
) |
| |
string bestValueUnits |
( |
double |
, |
|
|
string |
|
|
) |
| |
G4ThreeVector calc_position |
( |
string |
| ) |
|
G4RotationMatrix calc_rotation |
( |
string |
, |
|
|
string |
|
|
) |
| |
void closeGdb |
( |
QSqlDatabase |
db | ) |
|
vector<double> convertVintVdouble |
( |
vector< int > |
input | ) |
|
map<string, string> getFilesInDirectory |
( |
string |
| ) |
|
int getLastId |
( |
QSqlDatabase |
db, |
|
|
string |
t, |
|
|
string |
v, |
|
|
int |
r |
|
) |
| |
void mergeMaps |
( |
map< string, string > & |
lhs, |
|
|
const map< string, string > & |
rhs |
|
) |
| |