69 fLogicalVolumeVector.clear();
74 void B03ImportanceDetectorConstruction::Construct()
83 G4cout <<
" B03ImportanceDetectorConstruction:: ghostWorldName = "
86 fLogicalVolumeVector.push_back(worldLogical);
108 spanningAngleShield);
114 fLogicalVolumeVector.push_back(aShield_log_imp);
121 for (i=1; i<=18; i++) {
127 G4double pos_z = startz + (i-1) * (2*heightShield);
145 innerRadiusShield = 0*
cm;
147 outerRadiusShield = 100*
cm;
150 startAngleShield = 0*
deg;
151 spanningAngleShield = 360*
deg;
158 spanningAngleShield);
163 fLogicalVolumeVector.push_back(aRest_log);
205 std::ostringstream os;
225 G4cout <<
"B03ImportanceDetectorConstruction::GetGeometryCell: " << G4endl
226 <<
" couldn't get G4GeometryCell" <<
G4endl;
272 G4String concreteSDname =
"ConcreteSD";
291 for (std::vector<G4LogicalVolume *>::iterator it =
292 fLogicalVolumeVector.begin();
293 it != fLogicalVolumeVector.end(); it++){
G4bool RegisterPrimitive(G4VPrimitiveScorer *)
CLHEP::Hep3Vector G4ThreeVector
G4VPhysicalVolume * GetWorld()
G4String GetCellName(G4int i)
void Weighted(G4bool flg=true)
G4VPhysicalVolume * GetWorldVolume()
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
void Weighted(G4bool flg=true)
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
void SetFilter(G4VSDFilter *value)
void AddNewDetector(G4VSensitiveDetector *aSD)
G4LogicalVolume * GetLogicalVolume() const
G4String ListPhysNamesAsG4String()
B03ImportanceDetectorConstruction(G4String worldName)
static G4SDManager * GetSDMpointer()
const G4VPhysicalVolume & GetPhysicalVolumeByName(const G4String &name) const
void MultiplyKineticEnergy(G4bool flg=true)
G4VPhysicalVolume & GetWorldVolumeAddress() const
~B03ImportanceDetectorConstruction()
G4String GetPNames() const
virtual void ConstructSD()
Definition of the B03ImportanceDetectorConstruction class.
G4GeometryCell GetGeometryCell(G4int i)
const G4VPhysicalVolume * GetPVolume(const G4String &name) const
void DivideByVelocity(G4bool flg=true)
void AddPVolume(const G4GeometryCell &cell)