| 
    Geant4
    10.01.p03
    
   | 
 
#include <ML2PhantomConstruction.hh>
 Collaboration diagram for CML2PhantomConstruction: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) | 
Private Member Functions | |
| bool | design (void) | 
| void | createPhysicalVolumeNamesList (G4String *matNames, G4int nMatNames) | 
| void | createPhysicalVolumeNamesList (G4VPhysicalVolume *PV) | 
Static Private Attributes | |
| static CML2PhantomConstruction * | instance = 0 | 
Definition at line 60 of file ML2PhantomConstruction.hh.
| CML2PhantomConstruction::CML2PhantomConstruction | ( | void | ) | 
Definition at line 47 of file ML2PhantomConstruction.cc.
References idCurrentCentre, and phantomContstructionMessenger.
Referenced by GetInstance().
 Here is the caller graph for this function:| CML2PhantomConstruction::~CML2PhantomConstruction | ( | void | ) | 
Definition at line 53 of file ML2PhantomConstruction.cc.
References Ph_BoxInBox, Ph_fullWater, and phantomName.
      
  | 
  inline | 
Definition at line 79 of file ML2PhantomConstruction.hh.
References centre.
Referenced by design(), and CML2PhantomConstructionMessenger::SetNewValue().
 Here is the caller graph for this function:| void CML2PhantomConstruction::applyNewCentre | ( | G4ThreeVector | val | ) | 
Definition at line 208 of file ML2PhantomConstruction.cc.
References G4GeometryManager::CloseGeometry(), currentCentre, G4RunManager::GeometryHasBeenModified(), G4LogicalVolume::GetDaughter(), G4GeometryManager::GetInstance(), G4VPhysicalVolume::GetLogicalVolume(), G4VSensitiveDetector::GetROgeometry(), G4VReadOutGeometry::GetROWorld(), G4RunManager::GetRunManager(), G4GeometryManager::OpenGeometry(), PVPhmWorld, CML2SDWithVoxels::resetVoxelsSingle(), sensDet, and G4VPhysicalVolume::SetTranslation().
Referenced by CML2WorldConstruction::newGeometry(), and CML2PhantomConstructionMessenger::SetNewValue().
 Here is the call graph for this function:
 Here is the caller graph for this function:| bool CML2PhantomConstruction::applyNewCentre | ( | ) | 
Definition at line 191 of file ML2PhantomConstruction.cc.
References centre, currentCentre, and idCurrentCentre.
| 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 bOnlyVisio, CML2Ph_FullWater::Construct(), CML2Ph_BoxInBox::Construct(), createPhysicalVolumeNamesList(), design(), G4NistManager::FindOrBuildMaterial(), CML2Ph_FullWater::getPhysicalVolume(), CML2Ph_BoxInBox::getPhysicalVolume(), CML2Ph_FullWater::getSensDet(), CML2Ph_BoxInBox::getSensDet(), halfPhantomInsideSize, idVolumeName, G4NistManager::Instance(), Ph_BoxInBox, Ph_fullWater, phantomContstructionMessenger, phantomName, PVPhmWorld, sensDet, CML2PhantomConstructionMessenger::SetReferenceWorld(), G4VisAttributes::SetVisibility(), CML2SDWithVoxels::setVolumeNameIdLink(), volumeNameIdLink, G4Colour::White(), CML2Ph_FullWater::writeInfo(), and CML2Ph_BoxInBox::writeInfo().
Referenced by CML2WorldConstruction::create().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 154 of file ML2PhantomConstruction.cc.
References SvolumeNameId::volumeId, SvolumeNameId::volumeName, and volumeNameIdLink.
Referenced by Construct(), and createPhysicalVolumeNamesList().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 164 of file ML2PhantomConstruction.cc.
References createPhysicalVolumeNamesList(), G4endl, G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetMaterial(), G4VPhysicalVolume::GetName(), G4Material::GetName(), G4LogicalVolume::GetNoDaughters(), idVolumeName, SvolumeNameId::volumeId, SvolumeNameId::volumeName, and volumeNameIdLink.
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 76 of file ML2PhantomConstruction.cc.
References addNewCentre(), centre, G4endl, CML2Ph_FullWater::getHalfContainerSize(), CML2Ph_BoxInBox::getHalfContainerSize(), halfPhantomInsideSize, Ph_BoxInBox, Ph_fullWater, and phantomName.
Referenced by Construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:| G4String CML2PhantomConstruction::getCurrentTranslationString | ( | ) | 
Definition at line 221 of file ML2PhantomConstruction.cc.
References currentCentre, and mm.
Referenced by CML2RunAction::BeginOfRunAction().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 67 of file ML2PhantomConstruction.cc.
References CML2PhantomConstruction(), and instance.
Referenced by CML2RunAction::BeginOfRunAction(), CML2WorldConstruction::CML2WorldConstruction(), main(), and CML2AcceleratorConstructionMessenger::SetNewValue().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 68 of file ML2PhantomConstruction.hh.
References phantomName.
Referenced by CML2WorldConstruction::create().
 Here is the caller graph for this function:| G4int CML2PhantomConstruction::getTotalNumberOfEvents | ( | ) | 
Definition at line 98 of file ML2PhantomConstruction.cc.
References CML2Ph_FullWater::getTotalNumberOfEvents(), CML2Ph_BoxInBox::getTotalNumberOfEvents(), Ph_BoxInBox, Ph_fullWater, and phantomName.
Referenced by CML2WorldConstruction::getTotalNumberOfEventsInPhantom().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 83 of file ML2PhantomConstruction.hh.
References CML2SDWithVoxels::resetVoxelsSingle(), and sensDet.
Referenced by CML2AcceleratorConstructionMessenger::SetNewValue().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 77 of file ML2PhantomConstruction.hh.
References CML2SDWithVoxels::save(), and sensDet.
Referenced by CML2WorldConstruction::savePhantomData().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 71 of file ML2PhantomConstruction.hh.
References sensDet, and CML2SDWithVoxels::setFullOutFileDataSingle().
Referenced by CML2RunAction::BeginOfRunAction().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 72 of file ML2PhantomConstruction.hh.
References sensDet, and CML2SDWithVoxels::setFullOutFileDataSingle().
 Here is the call graph for this function:
      
  | 
  inline | 
Definition at line 70 of file ML2PhantomConstruction.hh.
References PhantomFileName.
Referenced by CML2PhantomConstructionMessenger::CML2PhantomConstructionMessenger(), and CML2PhantomConstructionMessenger::SetNewValue().
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 69 of file ML2PhantomConstruction.hh.
References phantomName.
Referenced by CML2PhantomConstructionMessenger::CML2PhantomConstructionMessenger(), and CML2PhantomConstructionMessenger::SetNewValue().
 Here is the caller graph for this function:| void CML2PhantomConstruction::writeInfo | ( | ) | 
Definition at line 202 of file ML2PhantomConstruction.cc.
References bOnlyVisio, centre, currentCentre, G4endl, and idCurrentCentre.
Referenced by CML2RunAction::BeginOfRunAction().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 105 of file ML2PhantomConstruction.hh.
Referenced by Construct(), and writeInfo().
      
  | 
  private | 
Definition at line 100 of file ML2PhantomConstruction.hh.
Referenced by addNewCentre(), applyNewCentre(), design(), and writeInfo().
      
  | 
  private | 
Definition at line 99 of file ML2PhantomConstruction.hh.
Referenced by applyNewCentre(), getCurrentTranslationString(), and writeInfo().
      
  | 
  private | 
Definition at line 99 of file ML2PhantomConstruction.hh.
Referenced by Construct(), and design().
      
  | 
  private | 
Definition at line 101 of file ML2PhantomConstruction.hh.
Referenced by applyNewCentre(), CML2PhantomConstruction(), and writeInfo().
      
  | 
  private | 
Definition at line 97 of file ML2PhantomConstruction.hh.
Referenced by Construct(), and createPhysicalVolumeNamesList().
      
  | 
  staticprivate | 
Definition at line 89 of file ML2PhantomConstruction.hh.
Referenced by GetInstance().
      
  | 
  private | 
Definition at line 104 of file ML2PhantomConstruction.hh.
Referenced by Construct(), design(), getTotalNumberOfEvents(), and ~CML2PhantomConstruction().
      
  | 
  private | 
Definition at line 103 of file ML2PhantomConstruction.hh.
Referenced by Construct(), design(), getTotalNumberOfEvents(), and ~CML2PhantomConstruction().
      
  | 
  private | 
Definition at line 88 of file ML2PhantomConstruction.hh.
Referenced by CML2PhantomConstruction(), and Construct().
      
  | 
  private | 
Definition at line 90 of file ML2PhantomConstruction.hh.
Referenced by setPhantomFileName().
      
  | 
  private | 
Definition at line 90 of file ML2PhantomConstruction.hh.
Referenced by Construct(), design(), getPhantomName(), getTotalNumberOfEvents(), setPhantomName(), and ~CML2PhantomConstruction().
      
  | 
  private | 
Definition at line 92 of file ML2PhantomConstruction.hh.
Referenced by applyNewCentre(), and Construct().
      
  | 
  private | 
Definition at line 95 of file ML2PhantomConstruction.hh.
Referenced by applyNewCentre(), Construct(), resetSensDet(), saveData(), and setNewName().
      
  | 
  private | 
Definition at line 96 of file ML2PhantomConstruction.hh.
Referenced by Construct(), and createPhysicalVolumeNamesList().