68 G4double hs[] = { half_size, half_size, half_size };
70 G4int nBin[] = { 1, 1, 1 };
82 std::size_t np =
posVec.size();
83 for(std::size_t i = 0; i < np; ++i)
96 assert(region !=
nullptr);
97 region->AddRootLogicalVolume(worldLog);
98 region->SetWorld(worldPhys);
105 std::size_t np =
posVec.size();
106 for(std::size_t i = 0; i < np; ++i)
113 wisatt->SetVisibility(
false);
114 worldLog->SetVisAttributes(wisatt);
116 visatt->SetVisibility(
true);
153 assert(region !=
nullptr);
154 region->UpdateMaterialList();
G4TemplateAutoLock< G4Mutex > G4AutoLock
#define G4MUTEX_INITIALIZER
G4GLOB_DLL std::ostream G4cout
G4LogicalVolume * GetVolume(const G4String &name, G4bool verbose=true, G4bool reverseSearch=false) const
static G4LogicalVolumeStore * GetInstance()
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
static G4RegionStore * GetInstance()
G4Region * GetRegion(const G4String &name, G4bool verbose=true) const
void SetupGeometry(G4VPhysicalVolume *) override
void List() const override
G4String layeredMaterialName
G4ScoringProbe(const G4String &lvName, G4double half_size, G4bool checkOverlap=false)
std::vector< G4ThreeVector > posVec
G4bool SetMaterial(G4String val)
G4Material * layeredMaterial
G4LogicalVolume * GetLogicalVolume() const
virtual void List() const
G4MultiFunctionalDetector * fMFD
G4LogicalVolume * fMeshElementLogical
void SetNumberOfSegments(G4int nSegment[3])
G4VScoringMesh(const G4String &wName)
void SetSize(G4double size[3])