70 fLogicalVolumeVector(),fPhysicalVolumeVector()
89 G4double density, pressure, temperature;
129 temperature = 2.73*
kelvin;
134 density = 2.03*
g/
cm3;
136 Concrete->
AddElement(elH , fractionmass= 0.01);
137 Concrete->
AddElement(elO , fractionmass= 0.529);
138 Concrete->
AddElement(elNa , fractionmass= 0.016);
139 Concrete->
AddElement(elHg , fractionmass= 0.002);
140 Concrete->
AddElement(elAl , fractionmass= 0.034);
141 Concrete->
AddElement(elSi , fractionmass= 0.337);
142 Concrete->
AddElement(elK , fractionmass= 0.013);
143 Concrete->
AddElement(elCa , fractionmass= 0.044);
144 Concrete->
AddElement(elFe , fractionmass= 0.014);
145 Concrete->
AddElement(elC , fractionmass= 0.001);
164 spanningAngleCylinder);
172 name =
"shieldWorld";
192 spanningAngleShield);
208 for (i=1; i<=18; i++)
213 pos_z = startz + (i-1) * (2*heightShield);
229 innerRadiusShield = 0*
cm;
230 outerRadiusShield = 100*
cm;
232 startAngleShield = 0*
deg;
233 spanningAngleShield = 360*
deg;
240 spanningAngleShield);
269 G4cout <<
" B01DetectorConstruction:: Creating Importance Store " <<
G4endl;
272 G4Exception(
"B01DetectorConstruction::CreateImportanceStore"
274 ,
"no physical volumes created yet!");
286 for (std::vector<G4VPhysicalVolume *>::iterator
292 imp = std::pow(2., n++);
293 G4cout <<
"Going to assign importance: " << imp <<
", to volume: "
294 << (*it)->GetName() <<
G4endl;
314 G4Exception(
"B01DetectorConstruction::CreateWeightWindowStore"
316 ,
"no physical volumes created yet!");
327 std::set<G4double, std::less<G4double> > enBounds;
328 enBounds.insert(1 *
GeV);
333 std::vector<G4double> lowerWeights;
335 lowerWeights.push_back(1);
339 for (std::vector<G4VPhysicalVolume *>::iterator
345 lowerWeight = 1./std::pow(2., n++);
346 G4cout <<
"Going to assign lower weight: " << lowerWeight
348 << (*it)->GetName() <<
G4endl;
350 lowerWeights.clear();
351 lowerWeights.push_back(lowerWeight);
370 std::ostringstream os;
414 G4String concreteSDname =
"ConcreteSD";
431 for (std::vector<G4LogicalVolume *>::iterator it =
void Weighted(G4bool flg=true)
static constexpr double kelvin
void SetFilter(G4VSDFilter *value)
void AddImportanceGeometryCell(G4double importance, const G4GeometryCell &gCell)
~B01DetectorConstruction()
CLHEP::Hep3Vector G4ThreeVector
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
void AddNewDetector(G4VSensitiveDetector *aSD)
G4VPhysicalVolume * GetWorldVolume()
static constexpr double universe_mean_density
std::vector< G4LogicalVolume * > fLogicalVolumeVector
void DivideByVelocity(G4bool flg=true)
static G4WeightWindowStore * GetInstance()
B01DetectorConstruction()
static constexpr double g
void Weighted(G4bool flg=true)
G4VWeightWindowStore * CreateWeightWindowStore()
static constexpr double deg
virtual void ConstructSDandField()
double A(double temperature)
G4VIStore * CreateImportanceStore()
G4bool RegisterPrimitive(G4VPrimitiveScorer *)
void SetVisAttributes(const G4VisAttributes *pVA)
void SetForceSolid(G4bool=true)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
static G4SDManager * GetSDMpointer()
std::vector< G4VPhysicalVolume * > fPhysicalVolumeVector
static G4IStore * GetInstance()
G4VPhysicalVolume * fWorldVolume
void AddElement(G4Element *element, G4int nAtoms)
G4GLOB_DLL std::ostream G4cout
static constexpr double cm
Definition of the B01DetectorConstruction class.
void AddLowerWeights(const G4GeometryCell &gCell, const std::vector< G4double > &lowerWeights)
void MultiplyKineticEnergy(G4bool flg=true)
void SetGeneralUpperEnergyBounds(const std::set< G4double, std::less< G4double > > &enBounds)
static constexpr double mole
virtual G4VPhysicalVolume * Construct()
static constexpr double cm3
static constexpr double GeV
G4String GetCellName(G4int i)