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

Go to the source code of this file.

Namespaces

namespace  Enable
 
namespace  G4BEAMLINE
 

Macros

#define MACRO_G4BEAMLINE_C
 

Functions

float PosFlip (float pos)
 
float AngleFlip (float angle)
 
float MagFieldFlip (float Bfield)
 
PHG4CylinderSubsystemG4BEAMLINE::ForwardBeamLineEnclosure (nullptr)
 
PHG4CylinderSubsystemG4BEAMLINE::BackwardBeamLineEnclosure (nullptr)
 
void BeamLineInit ()
 
void BeamLineDefineMagnets (PHG4Reco *g4Reco)
 
void BeamLineDefineBeamPipe (PHG4Reco *g4Reco)
 

Variables

bool Enable::BEAMLINE_BLACKHOLE = false
 
int Enable::BEAMLINE_VERBOSITY = 0
 
double G4BEAMLINE::starting_z = G4PIPE::be_pipe_length / 2. + G4PIPE::al_pipe_length + G4PIPE::al_pipe_cone_length + G4PIPE::al_pipe_ext_length + 2*no_overlapp
 
double G4BEAMLINE::enclosure_z_max = 2050. + (700-starting_z)
 
double G4BEAMLINE::enclosure_r_max = 30.
 
double G4BEAMLINE::enclosure_center = 0.5 * (starting_z + enclosure_z_max)
 
double G4BEAMLINE::skin_thickness = 0.
 
int G4BEAMLINE::pipe_id_offset = 100
 
int G4BEAMLINE::roman_pot_pipe_id_offset = 200
 

Macro Definition Documentation

#define MACRO_G4BEAMLINE_C

Definition at line 2 of file G4_BeamLine.C.

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

Function Documentation

float AngleFlip ( float  angle)

Definition at line 333 of file G4_BeamLine.C.

View newest version in sPHENIX GitHub at line 333 of file G4_BeamLine.C

Referenced by BeamLineDefineMagnets().

+ Here is the caller graph for this function:

void BeamLineDefineBeamPipe ( PHG4Reco g4Reco)

Definition at line 235 of file G4_BeamLine.C.

View newest version in sPHENIX GitHub at line 235 of file G4_BeamLine.C

References Enable::ABSORBER, G4BEAMLINE::BackwardBeamLineEnclosure(), Enable::BEAMLINE_ABSORBER, Enable::BEAMLINE_OVERLAPCHECK, Enable::BEAMLINE_VERBOSITY, G4BEAMLINE::enclosure_center, G4BEAMLINE::ForwardBeamLineEnclosure(), max, name, Acts::UnitConstants::nm, Enable::OVERLAPCHECK, PHG4DetectorSubsystem::OverlapCheck(), G4BEAMLINE::pipe_id_offset, PosFlip(), PHG4Reco::registerSubsystem(), G4BEAMLINE::roman_pot_pipe_id_offset, PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetActive(), PHG4Subsystem::SetMotherSubsystem(), PHG4DetectorSubsystem::SuperDetector(), nlohmann::to_string(), and Enable::VERBOSITY.

Referenced by G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void BeamLineInit ( )

Definition at line 52 of file G4_BeamLine.C.

View newest version in sPHENIX GitHub at line 52 of file G4_BeamLine.C

References G4BEAMLINE::enclosure_r_max, G4BEAMLINE::enclosure_z_max, max, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, min, and BlackHoleGeometry::min_z.

float MagFieldFlip ( float  Bfield)

Definition at line 337 of file G4_BeamLine.C.

View newest version in sPHENIX GitHub at line 337 of file G4_BeamLine.C

Referenced by BeamLineDefineMagnets().

+ Here is the caller graph for this function:

float PosFlip ( float  pos)

Definition at line 329 of file G4_BeamLine.C.

View newest version in sPHENIX GitHub at line 329 of file G4_BeamLine.C

References pos().

Referenced by BeamLineDefineBeamPipe(), and BeamLineDefineMagnets().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: