EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GlobalVariables.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file GlobalVariables.C
1
#ifndef MACRO_GLOBALVARIABLES_C
2
#define MACRO_GLOBALVARIABLES_C
3
4
#include <
g4decayer/EDecayType.hh
>
5
#include <set>
6
7
double
no_overlapp
= 0.0001;
8
9
// These Input settings are needed in multiple Input selections
10
// Putting those here avoids include file ordering problems
11
namespace
Input
12
{
13
bool
HEPMC
=
false
;
14
bool
EMBED
=
false
;
15
bool
READEIC
=
false
;
16
17
bool
UPSILON
=
false
;
18
std::set<int>
UPSILON_EmbedIds
;
19
}
// namespace Input
20
21
namespace
DstOut
22
{
23
string
OutputDir
=
"."
;
24
string
OutputFile
=
"test.root"
;
25
}
// namespace DstOut
26
27
// Global settings affecting multiple subsystems
28
namespace
Enable
29
{
30
bool
ABSORBER
=
false
;
31
bool
DSTOUT
=
false
;
32
bool
DSTOUT_COMPRESS
=
false
;
33
bool
OVERLAPCHECK
=
false
;
34
bool
SUPPORT
=
false
;
35
int
VERBOSITY
= 0;
36
}
// namespace Enable
37
38
// every G4 subsystem needs to implement this
39
// rather than forcing another include file,
40
// let's put this into the GlobalVariables.C
41
namespace
BlackHoleGeometry
42
{
43
double
max_radius
= 0.;
// this is needed for the overall dimension of the black hole
44
double
min_z
= 0.;
45
double
max_z
= 0.;
46
double
gap
=
no_overlapp
;
47
bool
visible
=
false
;
48
};
// namespace BlackHoleGeometry
49
50
namespace
G4P6DECAYER
51
{
52
EDecayType
decayType
=
EDecayType::kAll
;
53
}
54
55
// our various tracking macro
56
namespace
TRACKING
57
{
58
string
TrackNodeName
=
"SvtxTrackMap"
;
59
}
60
61
namespace
G4MAGNET
62
{
63
// initialize to garbage values - the override is done in the respective
64
// MagnetInit() functions. If used standalone (without the G4_Magnet include)
65
// like in the tracking - those need to be set in the Fun4All macro
66
double
magfield_rescale
= NAN;
67
string
magfield
;
68
}
// namespace G4MAGNET
69
#endif
fun4all_macros
blob
master
common
GlobalVariables.C
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:53
using
1.8.2 with
EIC GitHub integration