38 #include "DetectorConstruction.hh"
39 #include "Materials.hh"
63 G4Box* areaSolid =
new G4Box(
"AREA", DXYZ_AREA/2., DXYZ_AREA/2.,
72 va-> SetVisibility(
false);
73 areaLV-> SetVisAttributes(va);
80 G4Box* svoxel =
new G4Box(
"voxel", dvoxel, dl, dvoxel);
84 va-> SetVisibility(
false);
85 lvoxel-> SetVisAttributes(va);
89 for ( iz = 0; iz < 5; iz++ ) {
90 for ( ix = -7; ix <= 7; ix++ ) {
94 lvoxel,
"voxel", areaLV,
false, index);
104 ltube-> SetVisAttributes(va);
107 rmtube-> rotateX(-90.*
deg);
109 ltube,
"tube", lvoxel,
false, 0);
115 G4Box* scal =
new G4Box(
"cal", dxycal, dxycal, dzcal);
119 lcal-> SetVisAttributes(va);
122 for ( ix = -2; ix <= 2; ix++ ) {
125 lcal,
"cal", areaLV,
false, index);
CLHEP::Hep3Vector G4ThreeVector
static constexpr double mm
CLHEP::HepRotation G4RotationMatrix
G4VPhysicalVolume * Construct()
static const G4double DXYZ_AREA
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
virtual void ConstructSDandField()
static constexpr double deg
static constexpr double cm