|
BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Rectangular screen frame. More...
#include <BDSScreenFrameRectangular.hh>


Public Member Functions | |
| BDSScreenFrameRectangular (G4String name, G4ThreeVector size, G4TwoVector windowSize, G4TwoVector windowOffset, G4Material *material) | |
| virtual void | Build () |
| Construct the geometry. | |
| void | Place (G4RotationMatrix *rot, G4ThreeVector pos, G4LogicalVolume *motherVol) |
| Place member logVol (from base class) into argument motherVol. | |
| BDSScreenFrameRectangular & | operator= (const BDSScreenFrameRectangular &)=delete |
| Assignment and copy constructor not implemented nor used. | |
| BDSScreenFrameRectangular (BDSScreenFrameRectangular &)=delete | |
| Assignment and copy constructor not implemented nor used. | |
Public Member Functions inherited from BDSScreenFrame | |
| BDSScreenFrame (G4String name, G4ThreeVector size, G4TwoVector windowSize, G4TwoVector windowOffset, G4Material *material) | |
| G4LogicalVolume * | LogVol () const |
| Accessor. | |
Protected Member Functions | |
| virtual void | SetVisAtts () |
| Set the visual attributes to member logVol. | |
Protected Member Functions inherited from BDSScreenFrame | |
| void | SetDefaultVisAtts () |
| Construct default visualisation attribute for light transparent grey. | |
| void | SetVisAtts (G4LogicalVolume *logVolIn, G4VisAttributes *visAttsIn=nullptr) |
Private Member Functions | |
| BDSScreenFrameRectangular ()=delete | |
| Remove default constructor to force use of supplied one. | |
Private Attributes | |
| G4ThreeVector | cavityPos |
| G4RotationMatrix * | zeroRot |
Additional Inherited Members | |
Protected Attributes inherited from BDSScreenFrame | |
| G4String | name |
| G4ThreeVector | size |
| G4TwoVector | windowSize |
| G4TwoVector | windowOffset |
| G4Material * | material |
| G4LogicalVolume * | logVol |
| G4bool | checkOverlaps |
| Cache of checking overlaps from global constants. | |
| G4VisAttributes * | visAtt |
Rectangular screen frame.
Rectangular hollow frame / tube. Length is determined by size.z().
Definition at line 40 of file BDSScreenFrameRectangular.hh.
| BDSScreenFrameRectangular::BDSScreenFrameRectangular | ( | G4String | name, |
| G4ThreeVector | size, | ||
| G4TwoVector | windowSize, | ||
| G4TwoVector | windowOffset, | ||
| G4Material * | material | ||
| ) |
| size | Full width in each dimension of inner surface. |
| windowSize | Full width of h,v of outer surface. |
| windowOffset | Offset of intertior to exterior. |
Definition at line 33 of file BDSScreenFrameRectangular.cc.
References Build().

|
virtual |
Definition at line 44 of file BDSScreenFrameRectangular.cc.
|
virtual |
Construct the geometry.
Implements BDSScreenFrame.
Definition at line 49 of file BDSScreenFrameRectangular.cc.
References BDSGlobalConstants::Instance(), and SetVisAtts().
Referenced by BDSScreenFrameRectangular().


| void BDSScreenFrameRectangular::Place | ( | G4RotationMatrix * | rot, |
| G4ThreeVector | pos, | ||
| G4LogicalVolume * | motherVol | ||
| ) |
Place member logVol (from base class) into argument motherVol.
Definition at line 71 of file BDSScreenFrameRectangular.cc.
References BDSScreenFrame::checkOverlaps.
|
protectedvirtual |
Set the visual attributes to member logVol.
Reimplemented from BDSScreenFrame.
Definition at line 86 of file BDSScreenFrameRectangular.cc.
References BDSScreenFrame::SetVisAtts().
Referenced by Build().


|
private |
Definition at line 70 of file BDSScreenFrameRectangular.hh.
|
private |
Definition at line 71 of file BDSScreenFrameRectangular.hh.