70 fLogicalVolumeVector(),fPhysicalVolumeVector()
127 density = universe_mean_density;
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";
193 spanningAngleShield);
209 for (i=1; i<=18; i++)
214 pos_z = startz + (i-1) * (2*heightShield);
230 innerRadiusShield = 0*
cm;
231 outerRadiusShield = 100*
cm;
233 startAngleShield = 0*
deg;
234 spanningAngleShield = 360*
deg;
241 spanningAngleShield);
270 G4cout <<
" B01DetectorConstruction:: Creating Importance Store " <<
G4endl;
273 G4Exception(
"B01DetectorConstruction::CreateImportanceStore"
275 ,
"no physical volumes created yet!");
287 for (std::vector<G4VPhysicalVolume *>::iterator
293 imp = std::pow(2., n++);
294 G4cout <<
"Going to assign importance: " << imp <<
", to volume: "
295 << (*it)->GetName() <<
G4endl;
315 G4Exception(
"B01DetectorConstruction::CreateWeightWindowStore"
317 ,
"no physical volumes created yet!");
328 std::set<G4double, std::less<G4double> > enBounds;
329 enBounds.insert(1 *
GeV);
334 std::vector<G4double> lowerWeights;
336 lowerWeights.push_back(1);
340 for (std::vector<G4VPhysicalVolume *>::iterator
346 lowerWeight = 1./std::pow(2., n++);
347 G4cout <<
"Going to assign lower weight: " << lowerWeight
349 << (*it)->GetName() <<
G4endl;
351 lowerWeights.clear();
352 lowerWeights.push_back(lowerWeight);
371 std::ostringstream os;
415 G4String concreteSDname =
"ConcreteSD";
434 for (std::vector<G4LogicalVolume *>::iterator it =
G4bool RegisterPrimitive(G4VPrimitiveScorer *)
G4VPhysicalVolume * GetWorldVolume()
CLHEP::Hep3Vector G4ThreeVector
void AddLowerWeights(const G4GeometryCell &gCell, const std::vector< G4double > &lowerWeights)
virtual G4VPhysicalVolume * Construct()
G4VPhysicalVolume * fWorldVolume
void SetForceSolid(G4bool)
Definition of the B01DetectorConstruction class.
B01DetectorConstruction()
std::vector< G4VPhysicalVolume * > fPhysicalVolumeVector
void Weighted(G4bool flg=true)
void Weighted(G4bool flg=true)
G4GLOB_DLL std::ostream G4cout
G4VWeightWindowStore * CreateWeightWindowStore()
void AddImportanceGeometryCell(G4double importance, const G4GeometryCell &gCell)
~B01DetectorConstruction()
void SetFilter(G4VSDFilter *value)
static G4WeightWindowStore * GetInstance()
static const G4double A[nN]
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
G4String GetCellName(G4int i)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const double kelvin
void AddNewDetector(G4VSensitiveDetector *aSD)
G4VIStore * CreateImportanceStore()
static G4IStore * GetInstance()
static G4SDManager * GetSDMpointer()
void MultiplyKineticEnergy(G4bool flg=true)
void SetGeneralUpperEnergyBounds(const std::set< G4double, std::less< G4double > > &enBounds)
virtual void ConstructSDandField()
void AddElement(G4Element *element, G4int nAtoms)
std::vector< G4LogicalVolume * > fLogicalVolumeVector
void DivideByVelocity(G4bool flg=true)
void SetVisAttributes(const G4VisAttributes *pVA)