|
| BDSWireScanner (G4String nameIn, G4double lengthIn, BDSBeamPipeInfo *beamPipeInfoIn, G4Material *wireMaterialIn, G4double wireDiameterIn, G4double wireLengthIn, G4double wireAngleIn=0, G4ThreeVector wireOffsetIn=G4ThreeVector()) |
|
virtual G4String | Material () const |
| Return the name of a material - in this case the wire is the most relevant. More...
|
|
| BDSAcceleratorComponent (const G4String &name, G4double arcLength, G4double angle, const G4String &type, BDSBeamPipeInfo *beamPipeInfo=nullptr, const G4ThreeVector &inputFaceNormalIn=G4ThreeVector(0, 0,-1), const G4ThreeVector &outputFaceNormalIn=G4ThreeVector(0, 0, 1), BDSFieldInfo *fieldInfoIn=nullptr) |
|
virtual void | Initialise () |
|
virtual void | SetRegion (const G4String ®ionIn) |
| Set the region name for this component. More...
|
|
void | SetField (BDSFieldInfo *fieldInfoIn) |
| Set the field definition for the whole component. More...
|
|
virtual void | SetMinimumKineticEnergy (G4double) |
|
virtual G4String | GetName () const |
| The name of the component without modification. More...
|
|
G4double | GetAngle () const |
|
G4double | Sagitta () const |
| Calculate the sagitta - ie the distance between the chord and the arc at the centre. More...
|
|
G4String | GetType () const |
| Get a string describing the type of the component. More...
|
|
G4String | GetRegion () const |
| Get the region name for this component. More...
|
|
virtual G4bool | HasAField () const |
| Whether this component has a field or not (ie is active). Implicit cast of pointer to bool. More...
|
|
virtual void | SetFieldUsePlacementWorldTransform () |
|
BDSBeamPipeInfo * | GetBeamPipeInfo () const |
|
virtual G4String | Material () const |
| Return the name of a material associated with the component - ie the primary material. More...
|
|
virtual std::set< G4LogicalVolume * > | GetAcceleratorVacuumLogicalVolumes () const |
| Access the 'vacuum' volume(s) in this component if any. Default is empty set. More...
|
|
virtual std::set< G4LogicalVolume * > | GetAcceleratorMaterialLogicalVolumes () const |
| Return a set of logical volumes excluding the ones in the 'vacuum' set. More...
|
|
void | IncrementCopyNumber () |
| Increment (+1) the number of times this component has been copied. More...
|
|
G4int | GetCopyNumber () const |
| Get the number of times this component has been copied. More...
|
|
BDSSimpleComponent * | EndPieceBefore () const |
|
BDSSimpleComponent * | EndPieceAfter () const |
|
virtual void | SetBiasVacuumList (const std::list< std::string > &biasVacuumListIn) |
| Copy the bias list to this element. More...
|
|
virtual void | SetBiasMaterialList (const std::list< std::string > &biasMaterialListIn) |
| Copy the bias list to this element. More...
|
|
virtual G4double | GetArcLength () const |
|
virtual G4double | GetChordLength () const |
|
G4ThreeVector | InputFaceNormal () const |
|
G4ThreeVector | OutputFaceNormal () const |
|
G4bool | AngledInputFace () const |
| Whether the face normal is angled at all w.r.t. the incoming / outgoing reference trajectory. More...
|
|
G4bool | AngledOutputFace () const |
| Whether the face normal is angled at all w.r.t. the incoming / outgoing reference trajectory. More...
|
|
std::list< std::string > | GetBiasVacuumList () const |
| Access the bias list copied from parser. More...
|
|
std::list< std::string > | GetBiasMaterialList () const |
| Access the bias list copied from parser. More...
|
|
virtual void | SetInputFaceNormal (const G4ThreeVector &input) |
| Allow updating of face normals. Virtual so derived class may apply it to daughters. More...
|
|
virtual void | SetOutputFaceNormal (const G4ThreeVector &output) |
| Allow updating of face normals. Virtual so derived class may apply it to daughters. More...
|
|
| BDSGeometryComponent (G4VSolid *containerSolidIn, G4LogicalVolume *containerLVIn, const BDSExtent &extentIn=BDSExtent(), const BDSExtent &innerExtentIn=BDSExtent(), const G4ThreeVector &placementOffsetIn=G4ThreeVector(0, 0, 0), G4RotationMatrix *placementRotationIn=nullptr) |
|
| BDSGeometryComponent (G4AssemblyVolume *containerAssemblyIn, const BDSExtent &extentIn=BDSExtent(), const BDSExtent &innerExtentIn=BDSExtent(), const G4ThreeVector &placementOffsetIn=G4ThreeVector(0, 0, 0), G4RotationMatrix *placementRotationIn=nullptr) |
|
| BDSGeometryComponent (const BDSGeometryComponent &component) |
| Copy constructor (no copying of registered objects) More...
|
|
BDSGeometryComponent & | operator= (const BDSGeometryComponent &)=delete |
| Assignment operator not used.
|
|
G4bool | ContainerIsAssembly () const |
| Whether the container is an assembly. If not, it's a logical volume. More...
|
|
void | SetPlacementOffset (const G4ThreeVector &offsetIn) |
| Set the offset from 0,0,0 that the object should ideally be placed in its parent. More...
|
|
G4ThreeVector | GetExtentPositive () const |
| Get the extent of the object in the positive direction in all dimensions. More...
|
|
G4ThreeVector | GetExtentNegative () const |
| Get the extent of the object in the negative direction in all dimensions. More...
|
|
void | InheritExtents (BDSGeometryComponent const *const anotherComponent) |
| Update the extents of this object with those of another object. More...
|
|
void | InheritExtents (BDSGeometryComponent const *const anotherComponent, const G4ThreeVector &offset) |
|
void | RegisterDaughter (BDSGeometryComponent *anotherComponent) |
|
void | RegisterSolid (G4VSolid *solid) |
|
void | RegisterSolid (const std::set< G4VSolid * > &solids) |
| Similarly for a set of unique solids. More...
|
|
void | RegisterLogicalVolume (G4LogicalVolume *logicalVolume) |
|
void | RegisterLogicalVolume (const std::set< G4LogicalVolume * > &localVolumes) |
| Apply RegisterLogicalVolume() to a set of logical volumes. More...
|
|
void | RegisterSensitiveVolume (G4LogicalVolume *sensitiveVolume, BDSSDType sensitivityType) |
|
void | RegisterSensitiveVolume (const std::set< G4LogicalVolume * > &sensitiveVolumes, BDSSDType sensitivityType) |
|
void | RegisterSensitiveVolume (const std::map< G4LogicalVolume *, BDSSDType > &sensitiveVolumes) |
| Copy in a mapping of sensitive volumes to sensitive detectors. More...
|
|
void | RegisterPhysicalVolume (G4VPhysicalVolume *physicalVolume) |
|
void | RegisterPhysicalVolume (const std::set< G4VPhysicalVolume * > &physicalVolumes) |
| Apply RegisterPhysicalVolume() to a set of physical volumes. More...
|
|
void | RegisterRotationMatrix (G4RotationMatrix *rotationMatrix) |
|
void | RegisterRotationMatrix (const std::set< G4RotationMatrix * > &rotationMatrices) |
| Apply Register RotationMatrix() to a set of rotation matrices. More...
|
|
void | RegisterVisAttributes (G4VisAttributes *visAttribute) |
|
void | RegisterVisAttributes (const std::set< G4VisAttributes * > &visAttributes) |
| Apply RegisterVisAttribute() to a set of visualisation attributes. More...
|
|
void | RegisterUserLimits (G4UserLimits *userLimit) |
|
void | RegisterUserLimits (const std::set< G4UserLimits * > &userLimits) |
| Apply RegisterUserLimit to a set of user limits. More...
|
|
void | InheritObjects (BDSGeometryComponent *component) |
|
virtual std::set< G4LogicalVolume * > | GetAllLogicalVolumes () const |
| Access all logical volumes belonging to this component. More...
|
|
virtual std::set< G4LogicalVolume * > | GetAllBiasingVolumes () const |
| Return all logical volumes that should be used for biasing minus any that are in the excluded set. More...
|
|
virtual std::map< G4LogicalVolume *, BDSSDType > | GetAllSensitiveVolumes () const |
| Access all sensitive volumes belonging to this component. More...
|
|
void | MakeAllVolumesSensitive (BDSSDType stype=BDSSDType::energydep) |
|
virtual void | AttachSensitiveDetectors () |
| Attach a sensitive detector class to all registered sensitive volumes in this component. More...
|
|
virtual void | ExcludeLogicalVolumeFromBiasing (G4LogicalVolume *lv) |
|
void | StripOuterAndMakeAssemblyVolume () |
| Change from a container logical volume to an assembly volume. More...
|
|
G4VSolid * | GetContainerSolid () const |
| Accessor - see member for more info. More...
|
|
G4LogicalVolume * | GetContainerLogicalVolume () const |
| Accessor - see member for more info. More...
|
|
G4AssemblyVolume * | GetContainerAssemblyVolume () const |
| Accessor - see member for more info. More...
|
|
G4Transform3D | GetPlacementTransform () const |
| Accessor - see member for more info. More...
|
|
G4ThreeVector | GetPlacementOffset () const |
| Accessor - see member for more info. More...
|
|
G4RotationMatrix * | GetPlacementRotation () const |
| Accessor - see member for more info. More...
|
|
BDSExtent | GetExtent () const |
| Accessor - see member for more info. More...
|
|
BDSExtent | GetInnerExtent () const |
| Accessor - see member for more info. More...
|
|
std::pair< G4double, G4double > | GetExtentX () const |
| Accessor - see member for more info. More...
|
|
std::pair< G4double, G4double > | GetExtentY () const |
| Accessor - see member for more info. More...
|
|
std::pair< G4double, G4double > | GetExtentZ () const |
| Accessor - see member for more info. More...
|
|
std::pair< G4double, G4double > | GetInnerExtentX () const |
| Accessor - see member for more info. More...
|
|
std::pair< G4double, G4double > | GetInnerExtentY () const |
| Accessor - see member for more info. More...
|
|
std::pair< G4double, G4double > | GetInnerExtentZ () const |
| Accessor - see member for more info. More...
|
|
virtual std::set< G4VPhysicalVolume * > | GetAllPhysicalVolumes () const |
| Accessor - see member for more info. More...
|
|
virtual std::set< G4RotationMatrix * > | GetAllRotationMatrices () const |
| Accessor - see member for more info. More...
|
|
virtual std::set< G4VisAttributes * > | GetAllVisAttributes () const |
| Accessor - see member for more info. More...
|
|
virtual std::set< G4UserLimits * > | GetAllUserLimits () const |
| Accessor - see member for more info. More...
|
|
virtual std::set< BDSGeometryComponent * > | GetAllDaughters () const |
| Accessor - see member for more info. More...
|
|
virtual std::set< G4VSolid * > | GetAllSolids () const |
| Accessor - see member for more info. More...
|
|
void | SetExtent (const BDSExtent &extIn) |
| Set extent. More...
|
|
void | SetInnerExtent (const BDSExtent &extIn) |
| Set extent. More...
|
|