31 #include "DetectorConstruction.hh"
32 #include "ScreenSD.hh"
81 G4bool checkOverlaps =
true;
91 G4Box* worldS =
new G4Box(
"World", worldHxyz, worldHxyz, worldHxyz);
97 0,
G4ThreeVector(), worldLV,
"World", 0,
false, 0, checkOverlaps);
108 G4Box* boxS =
new G4Box(
"World", boxHxy, boxHxy, boxHz);
117 boxLV,
"Box", worldLV,
false, 0, checkOverlaps);
127 G4Box* screenS =
new G4Box(
"World", screenHxy, screenHxy, screenHz);
132 posz += boxHz + screenHz;
136 screenLV,
"Screen", worldLV,
false, 0, checkOverlaps);
144 simpleBoxVisAtt->SetVisibility(
true);
163 auto screenSD =
new ScreenSD(
"ScreenSD");
static G4ThreadLocal G4GlobalMagFieldMessenger * fMagFieldMessenger
CLHEP::Hep3Vector G4ThreeVector
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
static G4MaterialTable * GetMaterialTable()
static constexpr double mm
void AddNewDetector(G4VSensitiveDetector *aSD)
void SetVerboseLevel(G4int verboseLevel)
G4VPhysicalVolume * Construct()
static const G4VisAttributes & GetInvisible()
static constexpr double m
virtual void ConstructSDandField()
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
void SetVisAttributes(const G4VisAttributes *pVA)
static G4SDManager * GetSDMpointer()
static constexpr double cm
G4GLOB_DLL std::ostream G4cout
static G4NistManager * Instance()