78 va-> SetVisibility(
false);
79 areaLV-> SetVisAttributes(va);
85 const double dxyphantom= 40.*
cm;
86 const double dzphantom= 50.*
cm;
89 dxyphantom/2., dxyphantom/2., dzphantom/2.);
99 lphantom-> SetVisAttributes(va);
105 G4Box* svoxel=
new G4Box(
"voxel", dvoxel/2., dvoxel_y/2., dvoxel/2.);
108 va-> SetVisibility(
false);
109 scoreVoxel-> SetVisAttributes(va);
113 for (iz=0; iz<200; iz++) {
114 for (ix=-40; ix<=40; ix++) {
119 scoreVoxel,
"voxel", lphantom,
CLHEP::Hep3Vector G4ThreeVector
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
virtual G4VPhysicalVolume * Construct()
void SetSDtoScoreVoxel(G4VSensitiveDetector *asd)
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
~MyDetectorConstruction()