gfields
Loading...
Searching...
No Matches
gfieldConventions.h
Go to the documentation of this file.
1#pragma once
2
13#define GFIELD_DEFAULT_INTEGRATION_STEPPER "G4DormandPrince745"
14
20#define GFIELD_DEFAULT_MINIMUM_STEP "1.0*mm"
21
27#define GFIELD_DEFAULT_MAXIMUM_STEP "0*mm"
28
29// Other default parameters are in the form of strings (to preserve unit expressions).
30
34#define GFIELD_DEFAULT_VERTEX "0*mm"
35
39#define GFIELD_DEFAULT_ROTANGLE "0*deg"
40
44#define GFIELD_DEFAULT_VERBOSITY "0"
45
53#define GLOBAL_FIELD_OPTION "global_field"
54
63#define NO_FIELD_OPTION "no_field"
64
71#define MAX_FIELD_STEP_OPTION "max_field_step"
72
76#define NO_FIELD_ALL "all"
77
78
79// Error codes in the 1200 range (module-local).
80#define ERR_WRONG_FIELD_ROTATION 1201
81#define ERR_WRONG_FIELD_NOT_FOUND 1202
82#define ERR_STEPPER_NOT_FOUND 1203
83#define ERR_WRONG_POLE_NUMBER 1204
84#define ERR_WRONG_FIELD_SYMMETRY 1205
85#define ERR_WRONG_COORDINATE_DEF 1206
86#define ERR_MAP_FILE_NOT_FOUND 1207
87