ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4_Magnet.C File Reference
+ Include dependency graph for G4_Magnet.C:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Enable
 
namespace  G4MAGNET
 

Macros

#define MACRO_G4MAGNET_C
 

Functions

void MagnetFieldInit ()
 
void MagnetInit ()
 
double Magnet (PHG4Reco *g4Reco, double radius)
 

Variables

bool Enable::MAGNET = false
 
bool Enable::MAGNET_ABSORBER = false
 
bool Enable::MAGNET_OVERLAPCHECK = false
 
int Enable::MAGNET_VERBOSITY = 0
 
double G4MAGNET::magnet_outer_cryostat_wall_radius = 174.5
 
double G4MAGNET::magnet_outer_cryostat_wall_thickness = 2.5
 
double G4MAGNET::magnet_length = 379.
 

Macro Definition Documentation

#define MACRO_G4MAGNET_C

Definition at line 2 of file G4_Magnet.C.

View newest version in sPHENIX GitHub at line 2 of file G4_Magnet.C

Function Documentation

double Magnet ( PHG4Reco g4Reco,
double  radius 
)

Definition at line 48 of file G4_Magnet.C.

View newest version in sPHENIX GitHub at line 48 of file G4_Magnet.C

References Enable::ABSORBER, Enable::MAGNET_ABSORBER, G4MAGNET::magnet_length, G4MAGNET::magnet_outer_cryostat_wall_radius, G4MAGNET::magnet_outer_cryostat_wall_thickness, Enable::MAGNET_OVERLAPCHECK, Enable::MAGNET_VERBOSITY, max, no_overlapp, Enable::OVERLAPCHECK, PHG4DetectorSubsystem::OverlapCheck(), radius, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_int_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetActive(), PHG4DetectorSubsystem::SuperDetector(), and Enable::VERBOSITY.

Referenced by G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void MagnetFieldInit ( )

Definition at line 27 of file G4_Magnet.C.

View newest version in sPHENIX GitHub at line 27 of file G4_Magnet.C

References isfinite, G4MAGNET::magfield, and G4MAGNET::magfield_rescale.

Referenced by G4Init(), and MagnetInit().

+ Here is the caller graph for this function:

void MagnetInit ( )

Definition at line 40 of file G4_Magnet.C.

View newest version in sPHENIX GitHub at line 40 of file G4_Magnet.C

References G4MAGNET::magnet_length, G4MAGNET::magnet_outer_cryostat_wall_radius, G4MAGNET::magnet_outer_cryostat_wall_thickness, MagnetFieldInit(), max, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, min, and BlackHoleGeometry::min_z.

Referenced by G4Init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: