79 bool bPhanExists=
false;
108 G4int saving_in_ROG_Voxels_every_events,
G4int seed,
124 phmWorldLV->SetVisAttributes(simpleAlSVisAtt);
157 for (
int i=0;i< nMatNames; i++)
172 for (
int i=0; i <nLVD1; i++)
227 sprintf(cT,
"%d",cTI);
228 translationName=
"_TrX"+
G4String(cT)+
"_";
230 sprintf(cT,
"%d",cTI);
231 translationName+=
"Y"+
G4String(cT)+
"_";
233 sprintf(cT,
"%d",cTI);
235 return translationName;
CML2SDWithVoxels * getSensDet()
G4ThreeVector currentCentre
void GeometryHasBeenModified(G4bool prop=true)
void setVolumeNameIdLink(std::vector< SvolumeNameId > volNameIdLink)
G4ThreeVector getHalfContainerSize()
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
G4ThreeVector getHalfContainerSize()
CLHEP::Hep3Vector G4ThreeVector
bool Construct(G4VPhysicalVolume *PVWorld, G4int saving_in_ROG_Voxels_every_events, G4int seed, G4String ROGOutFile, G4bool bSaveROG, G4bool bOnlyVisio)
static CML2PhantomConstruction * instance
void SetReferenceWorld(G4bool bOV)
G4Material * GetMaterial() const
const G4String & GetName() const
void SetVisibility(G4bool)
CML2PhantomConstruction(void)
G4VPhysicalVolume * GetDaughter(const G4int i) const
G4int getTotalNumberOfEvents()
G4VPhysicalVolume * getPhysicalVolume()
static G4NistManager * Instance()
void addNewCentre(G4ThreeVector val)
G4int getTotalNumberOfEvents()
CML2SDWithVoxels * sensDet
const G4String & GetName() const
~CML2PhantomConstruction(void)
void SetTranslation(const G4ThreeVector &v)
G4VReadOutGeometry * GetROgeometry() const
static G4GeometryManager * GetInstance()
G4int GetNoDaughters() const
G4VPhysicalVolume * getPhysicalVolume()
G4VPhysicalVolume * PVPhmWorld
static G4RunManager * GetRunManager()
CML2Ph_BoxInBox * Ph_BoxInBox
G4LogicalVolume * GetLogicalVolume() const
G4int getTotalNumberOfEvents()
CML2SDWithVoxels * getSensDet()
bool Construct(G4VPhysicalVolume *PVWorld, G4int saving_in_ROG_Voxels_every_events, G4int seed, G4String ROGOutFile, G4bool bSaveROG)
void createPhysicalVolumeNamesList(G4String *matNames, G4int nMatNames)
bool Construct(G4VPhysicalVolume *PVWorld, G4int saving_in_ROG_Voxels_every_events, G4int seed, G4String ROGOutFile, G4bool bSaveROG)
std::vector< SvolumeNameId > volumeNameIdLink
G4ThreeVector halfPhantomInsideSize
CML2Ph_FullWater * Ph_fullWater
void OpenGeometry(G4VPhysicalVolume *vol=0)
G4String getCurrentTranslationString()
std::vector< G4ThreeVector > centre
CML2PhantomConstructionMessenger * phantomContstructionMessenger
static CML2PhantomConstruction * GetInstance(void)
G4bool CloseGeometry(G4bool pOptimise=true, G4bool verbose=false, G4VPhysicalVolume *vol=0)
G4VPhysicalVolume * GetROWorld() const