EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <GlobalVariables.C>
#include <G4_Pipe.C>
#include <g4detectors/BeamLineMagnetSubsystem.h>
#include <g4detectors/PHG4BlockSubsystem.h>
#include <g4detectors/PHG4ConeSubsystem.h>
#include <g4detectors/PHG4CylinderSubsystem.h>
#include <g4detectors/PHG4ZDCSubsystem.h>
#include <g4detectors/PHG4DetectorSubsystem.h>
#include <g4main/PHG4Reco.h>
#include <TSystem.h>
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) |
PHG4CylinderSubsystem * | G4BEAMLINE::ForwardBeamLineEnclosure (nullptr) |
PHG4CylinderSubsystem * | G4BEAMLINE::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 |
#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
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().
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().
void BeamLineDefineMagnets | ( | PHG4Reco * | g4Reco | ) |
Definition at line 59 of file G4_BeamLine.C.
View newest version in sPHENIX GitHub at line 59 of file G4_BeamLine.C
References Enable::ABSORBER, AngleFlip(), G4BEAMLINE::BackwardBeamLineEnclosure(), Enable::BEAMLINE_ABSORBER, Enable::BEAMLINE_BLACKHOLE, Enable::BEAMLINE_OVERLAPCHECK, Enable::BEAMLINE_VERBOSITY, PHG4DetectorSubsystem::BlackHole(), G4BEAMLINE::enclosure_center, G4BEAMLINE::enclosure_r_max, G4BEAMLINE::enclosure_z_max, G4BEAMLINE::ForwardBeamLineEnclosure(), getline, G4BARRELHCAL::length, M_PI, MagFieldFlip(), max, Enable::OVERLAPCHECK, PHG4DetectorSubsystem::OverlapCheck(), PosFlip(), PHG4Reco::registerSubsystem(), PHG4CylinderSubsystem::set_color(), PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetAbsorberActive(), PHG4DetectorSubsystem::SetActive(), PHG4Subsystem::SetMotherSubsystem(), G4BEAMLINE::skin_thickness, G4BEAMLINE::starting_z, PHG4DetectorSubsystem::SuperDetector(), Enable::VERBOSITY, Fun4AllBase::Verbosity(), x, y, and z.
Referenced by G4Setup().
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().
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().