68 fLogicalVolumeVector.clear();
73 void B03ImportanceDetectorConstruction::Construct()
82 G4cout <<
" B03ImportanceDetectorConstruction:: ghostWorldName = "
85 fLogicalVolumeVector.push_back(worldLogical);
104 spanningAngleShield);
110 fLogicalVolumeVector.push_back(aShield_log_imp);
117 for (i=1; i<=18; i++) {
123 G4double pos_z = startz + (i-1) * (2*heightShield);
141 innerRadiusShield = 0*
cm;
143 outerRadiusShield = 100*
cm;
146 startAngleShield = 0*
deg;
147 spanningAngleShield = 360*
deg;
154 spanningAngleShield);
159 fLogicalVolumeVector.push_back(aRest_log);
201 std::ostringstream os;
221 G4cout <<
"B03ImportanceDetectorConstruction::GetGeometryCell: " << G4endl
222 <<
" couldn't get G4GeometryCell" <<
G4endl;
268 G4String concreteSDname =
"ConcreteSD";
285 for (std::vector<G4LogicalVolume *>::iterator it =
286 fLogicalVolumeVector.begin();
287 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
static constexpr double cm
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
static constexpr double deg
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)