53 , chkOverlap(checkOverlap)
54 , layeredMaterialName(
"none")
55 , layeredMaterial(nullptr)
60 G4double hs[] = { half_size, half_size, half_size };
62 G4int nBin[] = { 1, 1, 1 };
77 for(
G4int i = 0; i < np; i++)
96 assert(region !=
nullptr);
97 region->AddRootLogicalVolume(worldLog);
98 region->SetWorld(worldPhys);
106 for(
G4int i = 0; i < np; i++)
114 worldLog->SetVisAttributes(wisatt);
153 assert(region !=
nullptr);
154 region->UpdateMaterialList();
#define G4MUTEX_INITIALIZER
G4GLOB_DLL std::ostream G4cout
G4LogicalVolume * GetVolume(const G4String &name, G4bool verbose=true, G4bool reverseSearch=false) 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)