EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4_Magnet_Beast.C File Reference
#include <GlobalVariables.C>
#include <eicdetectors/BeastMagnetSubsystem.h>
#include <g4main/PHG4Reco.h>
+ Include dependency graph for G4_Magnet_Beast.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_G4MAGNETBEAST_C
 

Functions

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

Variables

bool Enable::MAGNET = false
 
bool Enable::MAGNET_ABSORBER = false
 
double G4MAGNET::magnet_outer_radius = 300.
 
double G4MAGNET::magnet_inner_radius = 135.
 
double G4MAGNET::magnet_length = 500.
 

Macro Definition Documentation

#define MACRO_G4MAGNETBEAST_C

Definition at line 2 of file G4_Magnet_Beast.C.

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

Function Documentation

double Magnet ( PHG4Reco g4Reco,
double  radius 
)

Definition at line 45 of file G4_Magnet_Beast.C.

View newest version in sPHENIX GitHub at line 45 of file G4_Magnet_Beast.C

References Enable::ABSORBER, Enable::MAGNET_ABSORBER, G4MAGNET::magnet_inner_radius, G4MAGNET::magnet_outer_radius, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetActive(), and PHG4DetectorSubsystem::SuperDetector().

Referenced by G4LmonDetector::ConstructMe(), and G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void MagnetFieldInit ( )

Definition at line 25 of file G4_Magnet_Beast.C.

View newest version in sPHENIX GitHub at line 25 of file G4_Magnet_Beast.C

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

Referenced by G4Init(), and MagnetInit().

+ Here is the caller graph for this function:

void MagnetInit ( )

Definition at line 37 of file G4_Magnet_Beast.C.

View newest version in sPHENIX GitHub at line 37 of file G4_Magnet_Beast.C

References G4MAGNET::magnet_length, G4MAGNET::magnet_outer_radius, 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: