52 layeredMaterialName(
"none"), layeredMaterial(nullptr)
57 G4double hs[] = {half_size,half_size,half_size};
59 G4int nBin[] = {1,1,1};
74 for(
G4int i=0;i<np;i++)
88 assert(region!=
nullptr);
89 region->AddRootLogicalVolume(worldLog);
90 region->SetWorld(worldPhys);
96 for(
G4int i=0;i<np;i++)
101 worldLog->SetVisAttributes(wisatt);
137 assert(region!=
nullptr);
138 region->UpdateMaterialList();
#define G4MUTEX_INITIALIZER
G4GLOB_DLL std::ostream G4cout
G4LogicalVolume * GetVolume(const G4String &name, G4bool verbose=true) const
static G4LogicalVolumeStore * GetInstance()
void SetVisAttributes(const G4VisAttributes *pVA)
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)
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
virtual void List() const
virtual void SetupGeometry(G4VPhysicalVolume *)
G4String layeredMaterialName
G4ScoringProbe(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])
void SetSize(G4double size[3])
void SetVisibility(G4bool=true)