ECCE @ EIC Software
 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 
5 #include <set>
6 #include <string>
7 
8 double no_overlapp = 0.0001;
9 
10 // These Input settings are needed in multiple Input selections
11 // Putting those here avoids include file ordering problems
12 namespace Input
13 {
14  bool HEPMC = false;
15  bool EMBED = false;
16  bool READEIC = false;
17 
18  bool UPSILON = false;
19  std::set<int> UPSILON_EmbedIds;
20 } // namespace Input
21 
22 namespace DstOut
23 {
24  string OutputDir = ".";
25  string OutputFile = "test.root";
26 } // namespace DstOut
27 
28 // Global settings affecting multiple subsystems
29 namespace Enable
30 {
31  bool OVERLAPCHECK = false;
32  bool ABSORBER = false;
33  bool DSTOUT = false;
34  bool DSTOUT_COMPRESS = false;
35  int VERBOSITY = 0;
36 
37  // IP selection require explicit choice in the main macros
38  bool IP6 = false;
39  bool IP8 = false;
40 
41  float HFARFWD_ION_ENERGY = 0;
42  float HFARBWD_E_ENERGY = 0;
44 
45 } // namespace Enable
46 
47 // every G4 subsystem needs to implement this
48 // rather than forcing another include file,
49 // let's put this into the GlobalVariables.C
50 namespace BlackHoleGeometry
51 {
52  double max_radius = 0.; // this is needed for the overall dimension of the black hole
53  double min_z = 0.;
54  double max_z = 0.;
55  double gap = no_overlapp;
56  bool visible = false;
57 }; // namespace BlackHoleGeometry
58 
59 namespace G4P6DECAYER
60 {
62 }
63 
64 // our various tracking macro
65 class PHG4TrackFastSim;
66 namespace TRACKING
67 {
68  string TrackNodeName = "TrackMap";
69 
71 
73 
75 
76  std::set<std::string> ProjectionNames;
77 }
78 
79 //For B0 Tracking
80 class B0TrackFastSim;
81 namespace B0TRACKING
82 {
83  string TrackNodeName = "TrackMap";
84 
86 
88 
89  std::set<std::string> B0ProjectionNames;
90 }
91 
92 namespace G4MAGNET
93 {
94  // initialize to garbage values - the override is done in the respective
95  // MagnetInit() functions. If used standalone (without the G4_Magnet include)
96  // like in the tracking - those need to be set in the Fun4All macro
97  double magfield_rescale = NAN;
98  string magfield;
99 } // namespace G4MAGNET
100 #endif