59 std::cout<<
"\n\n\tcentre of the phantom: " <<
centre/
mm<<
" [mm]"<<
G4endl;
60 std::cout<<
"\thalf thickness of the phantom: " <<
halfSize/
mm<<
" [mm]\n"<<
G4endl;
78 fullWaterPhantomLV->SetRegion(regVol);
85 fullWaterPhantomLV->SetVisAttributes(simpleAlSVisAtt);
88 sensDet=
new CML2SDWithVoxels(
"Water phantom", saving_in_ROG_Voxels_every_events, seed, ROGOutFile, bSaveROG,
G4ThreeVector(0.,0.,0.),
halfSize, 100, 100, 100);
97 fullWaterPhantomLV->SetSensitiveDetector(
sensDet);
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
G4ThreeVector GetFrameTranslation() const
CLHEP::Hep3Vector G4ThreeVector
void AddRootLogicalVolume(G4LogicalVolume *lv)
CML2SDWithVoxels * sensDet
void SetVisibility(G4bool)
void SetProductionCut(G4double cut, G4int index=-1)
static G4NistManager * Instance()
void SetROgeometry(G4VReadOutGeometry *value)
G4VPhysicalVolume * PVWorld
void AddNewDetector(G4VSensitiveDetector *aSD)
static G4SDManager * GetSDMpointer()
void setBuildData(G4ThreeVector centre, G4ThreeVector halfSize, G4int NumberOfVoxelsAlongX, G4int NumberOfVoxelsAlongY, G4int NumberOfVoxelsAlongZ)
bool Construct(G4VPhysicalVolume *PVWorld, G4int saving_in_ROG_Voxels_every_events, G4int seed, G4String ROGOutFile, G4bool bSaveROG)
void SetProductionCuts(G4ProductionCuts *cut)
G4VPhysicalVolume * fullWaterPhantomPV