ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <GlobalVariables.C>
#include <g4detectors/PHG4CylinderSubsystem.h>
#include <g4main/PHG4Reco.h>
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. |
#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
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().
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().
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().