Geant4.10
|
#include <ML2PhantomConstruction.hh>
Public Member Functions | |
CML2PhantomConstruction (void) | |
~CML2PhantomConstruction (void) | |
bool | Construct (G4VPhysicalVolume *PVWorld, G4int saving_in_ROG_Voxels_every_events, G4int seed, G4String ROGOutFile, G4bool bSaveROG, G4bool bOnlyVisio) |
G4int | getTotalNumberOfEvents () |
G4String | getPhantomName () |
void | setPhantomName (G4String val) |
void | setPhantomFileName (G4String val) |
void | setNewName () |
void | setNewName (G4String val) |
void | applyNewCentre (G4ThreeVector val) |
bool | applyNewCentre () |
void | saveData () |
void | addNewCentre (G4ThreeVector val) |
void | writeInfo () |
G4String | getCurrentTranslationString () |
void | resetSensDet () |
Static Public Member Functions | |
static CML2PhantomConstruction * | GetInstance (void) |
Definition at line 60 of file ML2PhantomConstruction.hh.
CML2PhantomConstruction::CML2PhantomConstruction | ( | void | ) |
CML2PhantomConstruction::~CML2PhantomConstruction | ( | void | ) |
Definition at line 53 of file ML2PhantomConstruction.cc.
|
inline |
Definition at line 79 of file ML2PhantomConstruction.hh.
Referenced by CML2PhantomConstructionMessenger::SetNewValue().
void CML2PhantomConstruction::applyNewCentre | ( | G4ThreeVector | val | ) |
Definition at line 208 of file ML2PhantomConstruction.cc.
References G4GeometryManager::CloseGeometry(), G4RunManager::GeometryHasBeenModified(), G4LogicalVolume::GetDaughter(), G4GeometryManager::GetInstance(), G4VPhysicalVolume::GetLogicalVolume(), G4VSensitiveDetector::GetROgeometry(), G4VReadOutGeometry::GetROWorld(), G4RunManager::GetRunManager(), G4GeometryManager::OpenGeometry(), CML2SDWithVoxels::resetVoxelsSingle(), and G4VPhysicalVolume::SetTranslation().
Referenced by CML2WorldConstruction::newGeometry(), and CML2PhantomConstructionMessenger::SetNewValue().
bool CML2PhantomConstruction::applyNewCentre | ( | ) |
Definition at line 191 of file ML2PhantomConstruction.cc.
bool CML2PhantomConstruction::Construct | ( | G4VPhysicalVolume * | PVWorld, |
G4int | saving_in_ROG_Voxels_every_events, | ||
G4int | seed, | ||
G4String | ROGOutFile, | ||
G4bool | bSaveROG, | ||
G4bool | bOnlyVisio | ||
) |
Definition at line 107 of file ML2PhantomConstruction.cc.
References CML2Ph_FullWater::Construct(), CML2Ph_BoxInBox::Construct(), G4NistManager::FindOrBuildMaterial(), CML2Ph_FullWater::getPhysicalVolume(), CML2Ph_BoxInBox::getPhysicalVolume(), CML2Ph_FullWater::getSensDet(), CML2Ph_BoxInBox::getSensDet(), CLHEP::Hep3Vector::getX(), CLHEP::Hep3Vector::getY(), CLHEP::Hep3Vector::getZ(), G4NistManager::Instance(), CML2PhantomConstructionMessenger::SetReferenceWorld(), G4VisAttributes::SetVisibility(), CML2SDWithVoxels::setVolumeNameIdLink(), G4Colour::White(), CML2Ph_FullWater::writeInfo(), and CML2Ph_BoxInBox::writeInfo().
Referenced by CML2WorldConstruction::create().
G4String CML2PhantomConstruction::getCurrentTranslationString | ( | ) |
Definition at line 221 of file ML2PhantomConstruction.cc.
References CLHEP::Hep3Vector::getX(), CLHEP::Hep3Vector::getY(), CLHEP::Hep3Vector::getZ(), and python.hepunit::mm.
Referenced by CML2RunAction::BeginOfRunAction().
|
static |
Definition at line 67 of file ML2PhantomConstruction.cc.
References CML2PhantomConstruction().
Referenced by CML2RunAction::BeginOfRunAction(), CML2WorldConstruction::CML2WorldConstruction(), main(), and CML2AcceleratorConstructionMessenger::SetNewValue().
|
inline |
Definition at line 68 of file ML2PhantomConstruction.hh.
Referenced by CML2WorldConstruction::create().
G4int CML2PhantomConstruction::getTotalNumberOfEvents | ( | ) |
Definition at line 98 of file ML2PhantomConstruction.cc.
References CML2Ph_FullWater::getTotalNumberOfEvents(), and CML2Ph_BoxInBox::getTotalNumberOfEvents().
Referenced by CML2WorldConstruction::getTotalNumberOfEventsInPhantom().
|
inline |
Definition at line 83 of file ML2PhantomConstruction.hh.
References CML2SDWithVoxels::resetVoxelsSingle().
Referenced by CML2AcceleratorConstructionMessenger::SetNewValue().
|
inline |
Definition at line 77 of file ML2PhantomConstruction.hh.
References CML2SDWithVoxels::save().
Referenced by CML2WorldConstruction::savePhantomData().
|
inline |
Definition at line 71 of file ML2PhantomConstruction.hh.
References CML2SDWithVoxels::setFullOutFileDataSingle().
Referenced by CML2RunAction::BeginOfRunAction().
Definition at line 72 of file ML2PhantomConstruction.hh.
References CML2SDWithVoxels::setFullOutFileDataSingle().
Definition at line 70 of file ML2PhantomConstruction.hh.
Referenced by CML2PhantomConstructionMessenger::CML2PhantomConstructionMessenger(), and CML2PhantomConstructionMessenger::SetNewValue().
Definition at line 69 of file ML2PhantomConstruction.hh.
Referenced by CML2PhantomConstructionMessenger::CML2PhantomConstructionMessenger(), and CML2PhantomConstructionMessenger::SetNewValue().
void CML2PhantomConstruction::writeInfo | ( | ) |
Definition at line 202 of file ML2PhantomConstruction.cc.
References G4endl.
Referenced by CML2RunAction::BeginOfRunAction().