Geant4
10.03
|
#include <ML2WorldConstruction.hh>
Static Public Member Functions | |
static CML2WorldConstruction * | GetInstance (void) |
Static Private Attributes | |
static CML2WorldConstruction * | instance = 0 |
Additional Inherited Members | |
Protected Member Functions inherited from G4VUserDetectorConstruction | |
void | SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false) |
void | SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD) |
Definition at line 73 of file ML2WorldConstruction.hh.
CML2WorldConstruction::CML2WorldConstruction | ( | void | ) |
Definition at line 46 of file ML2WorldConstruction.cc.
References acceleratorEnv, bWorldCreated, CML2PhantomConstruction::GetInstance(), CML2AcceleratorConstruction::GetInstance(), and phantomEnv.
Referenced by GetInstance().
CML2WorldConstruction::~CML2WorldConstruction | ( | void | ) |
Definition at line 53 of file ML2WorldConstruction.cc.
References acceleratorEnv, backScatteredPlane, phantomEnv, phaseSpace, and PVWorld.
void CML2WorldConstruction::checkVolumeOverlap | ( | ) |
Definition at line 122 of file ML2WorldConstruction.cc.
References G4VPhysicalVolume::CheckOverlaps(), G4endl, G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetNoDaughters(), and PVWorld.
Referenced by main().
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 73 of file ML2WorldConstruction.cc.
References PVWorld.
bool CML2WorldConstruction::create | ( | SInputData * | inputData, |
bool | bOnlyVisio | ||
) |
Definition at line 78 of file ML2WorldConstruction.cc.
References acceleratorEnv, backScatteredPlane, SGeneralData::bForcePhaseSpaceBeforeJaws, G4Colour::Black(), bOnlyVisio, SGeneralData::bSavePhaseSpace, SGeneralData::bSaveROG, SGeneralData::bStopAtPhaseSpace, bWorldCreated, SGeneralData::centrePhaseSpace, CML2PhantomConstruction::Construct(), CML2AcceleratorConstruction::Construct(), CML2PhaseSpaces::createPlane(), G4NistManager::FindOrBuildMaterial(), G4endl, SInputData::generalData, CML2AcceleratorConstruction::getAcceleratorIsoCentre(), CML2AcceleratorConstruction::getAcceleratorName(), CML2PhantomConstruction::getPhantomName(), CML2AcceleratorConstruction::getPhysicalVolume(), CML2AcceleratorConstruction::getZ_Value_PhaseSpaceBeforeJaws(), SGeneralData::halfSizePhaseSpace, idSD_PhaseSpace, G4NistManager::Instance(), SGeneralData::max_N_particles_in_PhSp_File, mm, SGeneralData::nMaxParticlesInRamPlanePhaseSpace, phantomEnv, phaseSpace, SGeneralData::PhaseSpaceOutFile, SInputData::primaryParticleData, PVWorld, SGeneralData::ROGOutFile, SGeneralData::saving_in_ROG_Voxels_every_events, SGeneralData::seed, G4LogicalVolume::SetVisAttributes(), G4VisAttributes::SetVisibility(), and SGeneralData::StartFileInputData.
Referenced by main().
|
inline |
Definition at line 92 of file ML2WorldConstruction.hh.
References acceleratorEnv.
|
inline |
Definition at line 95 of file ML2WorldConstruction.hh.
References bOnlyVisio.
|
inline |
Definition at line 84 of file ML2WorldConstruction.hh.
References acceleratorEnv.
Referenced by main().
|
static |
Definition at line 64 of file ML2WorldConstruction.cc.
References CML2WorldConstruction(), and instance.
Referenced by CML2RunAction::EndOfRunAction(), and main().
|
inline |
Definition at line 81 of file ML2WorldConstruction.hh.
References backScatteredPlane, and CML2PhaseSpaces::getCML2SensDetNParticle().
|
inline |
Definition at line 82 of file ML2WorldConstruction.hh.
References CML2PhaseSpaces::getCML2SensDetNParticle(), and phaseSpace.
|
inline |
Definition at line 91 of file ML2WorldConstruction.hh.
References phantomEnv.
|
inline |
Definition at line 83 of file ML2WorldConstruction.hh.
References CML2PhantomConstruction::getTotalNumberOfEvents(), and phantomEnv.
|
inline |
Definition at line 87 of file ML2WorldConstruction.hh.
References bWorldCreated.
bool CML2WorldConstruction::newGeometry | ( | ) |
Definition at line 146 of file ML2WorldConstruction.cc.
References acceleratorEnv, CML2PhantomConstruction::applyNewCentre(), CML2PrimaryGenerationAction::GetInstance(), phantomEnv, CML2AcceleratorConstruction::rotateAccelerator(), and CML2PrimaryGenerationAction::setRotation().
Referenced by main().
|
inline |
Definition at line 89 of file ML2WorldConstruction.hh.
References phantomEnv, and CML2PhantomConstruction::saveData().
Referenced by CML2RunAction::EndOfRunAction().
|
inline |
Definition at line 90 of file ML2WorldConstruction.hh.
References phaseSpace, and CML2PhaseSpaces::save().
Referenced by CML2RunAction::EndOfRunAction().
|
private |
Definition at line 100 of file ML2WorldConstruction.hh.
Referenced by CML2WorldConstruction(), create(), getAcceleratorWorld(), getCML2AcceleratorConstruction(), newGeometry(), and ~CML2WorldConstruction().
|
private |
Definition at line 104 of file ML2WorldConstruction.hh.
Referenced by create(), getNParticleBackScattered(), and ~CML2WorldConstruction().
|
private |
Definition at line 105 of file ML2WorldConstruction.hh.
Referenced by create(), and getbOnlyVisio().
|
private |
Definition at line 99 of file ML2WorldConstruction.hh.
Referenced by CML2WorldConstruction(), create(), and getWorldCreated().
|
staticprivate |
Definition at line 97 of file ML2WorldConstruction.hh.
Referenced by GetInstance().
|
private |
Definition at line 101 of file ML2WorldConstruction.hh.
Referenced by CML2WorldConstruction(), create(), getPhantomWorld(), getTotalNumberOfEventsInPhantom(), newGeometry(), savePhantomData(), and ~CML2WorldConstruction().
|
private |
Definition at line 103 of file ML2WorldConstruction.hh.
Referenced by create(), getNParticlePhaseSpace(), savePhaseSpaceData(), and ~CML2WorldConstruction().
|
private |
Definition at line 102 of file ML2WorldConstruction.hh.
Referenced by checkVolumeOverlap(), Construct(), create(), and ~CML2WorldConstruction().