68 G4Box *fullWaterPhantomBox =
new G4Box(
"fullWaterPhantomBox", halfSize.
getX(), halfSize.
getY(), halfSize.
getZ());
70 fullWaterPhantomPV =
new G4PVPlacement(0, centre,
"fullWaterPhantomPV", fullWaterPhantomLV, PVWorld,
false, 0);
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)
static constexpr double mm
G4ThreeVector GetFrameTranslation() const
CLHEP::Hep3Vector G4ThreeVector
void AddRootLogicalVolume(G4LogicalVolume *lv)
void SetProductionCut(G4double cut, G4int index=-1)
static G4NistManager * Instance()
void SetVisibility(G4bool=true)
void SetROgeometry(G4VReadOutGeometry *value)
void AddNewDetector(G4VSensitiveDetector *aSD)
static G4SDManager * GetSDMpointer()
void setBuildData(G4ThreeVector centre, G4ThreeVector halfSize, G4int NumberOfVoxelsAlongX, G4int NumberOfVoxelsAlongY, G4int NumberOfVoxelsAlongZ)
void SetProductionCuts(G4ProductionCuts *cut)