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);
113 for (iz=0; iz<200; iz++) {
114 for (ix=-40; ix<=40; ix++) {
CLHEP::Hep3Vector G4ThreeVector
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
static constexpr double mm
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
static constexpr double m
void SetSDtoScoreVoxel(G4VSensitiveDetector *asd)
~MyDetectorConstruction()
G4LogicalVolume * scoreVoxel
virtual G4VPhysicalVolume * Construct()
static constexpr double cm