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);
void AddRootLogicalVolume(G4LogicalVolume *lv)
void set(double x, double y, double z)
void SetProductionCut(G4double cut, G4int index=-1)
CLHEP::Hep3Vector G4ThreeVector
G4VPhysicalVolume * PVWorld
G4VPhysicalVolume * fullWaterPhantomPV
bool Construct(G4VPhysicalVolume *PVWorld, G4int saving_in_ROG_Voxels_every_events, G4int seed, G4String ROGOutFile, G4bool bSaveROG)
static constexpr double mm
void AddNewDetector(G4VSensitiveDetector *aSD)
void SetROgeometry(G4VReadOutGeometry *value)
void SetProductionCuts(G4ProductionCuts *cut)
void setBuildData(G4ThreeVector centre, G4ThreeVector halfSize, G4int NumberOfVoxelsAlongX, G4int NumberOfVoxelsAlongY, G4int NumberOfVoxelsAlongZ)
G4ThreeVector GetFrameTranslation() const
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
void SetVisibility(G4bool=true)
static G4SDManager * GetSDMpointer()
CML2SDWithVoxels * sensDet
static G4NistManager * Instance()