77 G4int natoms, ncomponents;
93 boxInSideMaterial=PMMA;
94 std::cout <<
"boxInSideMaterial name "<<boxInSideMaterial->
GetName() <<
" density "<< boxInSideMaterial->
GetDensity()/(
g/
cm3) <<
" g/cm3"<<
G4endl;
110 std::cout <<
"layerMaterial name "<<layerMaterial->
GetName() <<
" density " << layerMaterial->
GetDensity()/(
g/
cm3) <<
" g/cm3"<<
G4endl;
114 boxOutSideMaterial=lightWater;
123 "OutMinusInBoxPV",OutMinusInBoxLV,
PVWorld,
false,0);
125 std::cout <<
"boxOutSideMaterial name "<<boxOutSideMaterial->
GetName() <<
" density "<<boxOutSideMaterial->
GetDensity()/(
g/
cm3) <<
" g/cm3"<<
G4endl;
138 layerLV->SetRegion(regVol);
166 layerLV->SetVisAttributes(simple_PMMA_VisAttWalls);
179 layerLV->SetSensitiveDetector(
sensDet);
void AddRootLogicalVolume(G4LogicalVolume *lv)
void set(double x, double y, double z)
void SetProductionCut(G4double cut, G4int index=-1)
CLHEP::Hep3Vector G4ThreeVector
static constexpr double mm
void AddNewDetector(G4VSensitiveDetector *aSD)
void SetROgeometry(G4VReadOutGeometry *value)
bool Construct(G4VPhysicalVolume *PVWorld, G4int saving_in_ROG_Voxels_every_events, G4int seed, G4String ROGOutFile, G4bool bSaveROG)
void SetProductionCuts(G4ProductionCuts *cut)
G4ThreeVector centreBoxInside
void setBuildData(G4ThreeVector centre, G4ThreeVector halfSize, G4int NumberOfVoxelsAlongX, G4int NumberOfVoxelsAlongY, G4int NumberOfVoxelsAlongZ)
G4VPhysicalVolume * layerPV
G4VPhysicalVolume * OutMinusInBoxPV
G4ThreeVector GetFrameTranslation() const
const G4String & GetName() const
G4double halfBoxInside_Thickness
static constexpr double g
G4VPhysicalVolume * boxInSidePV
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
G4VPhysicalVolume * PVWorld
double A(double temperature)
void SetVisAttributes(const G4VisAttributes *pVA)
void SetRegion(G4Region *reg)
void SetUserLimits(G4UserLimits *pULimits)
void SetVisibility(G4bool=true)
static G4SDManager * GetSDMpointer()
void AddElement(G4Element *element, G4int nAtoms)
static constexpr double cm
void SetLineWidth(G4double)
static constexpr double mole
CML2SDWithVoxels * sensDet
static constexpr double cm3
static G4NistManager * Instance()
G4double GetDensity() const
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)