BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
A frame for the vacuum window in e.g. BDSMultilayerScreen. More...
#include <BDSScreenFrame.hh>
Public Member Functions | |
BDSScreenFrame (G4String name, G4ThreeVector size, G4TwoVector windowSize, G4TwoVector windowOffset, G4Material *material) | |
virtual void | Build ()=0 |
Build method to construct geometry. | |
G4LogicalVolume * | LogVol () const |
Accessor. | |
Protected Member Functions | |
virtual void | SetVisAtts () |
Set the visual attributes to member logVol. | |
void | SetDefaultVisAtts () |
Construct default visualisation attribute for light transparent grey. | |
void | SetVisAtts (G4LogicalVolume *logVolIn, G4VisAttributes *visAttsIn=nullptr) |
Protected Attributes | |
G4String | name |
G4ThreeVector | size |
G4TwoVector | windowSize |
G4TwoVector | windowOffset |
G4Material * | material |
G4LogicalVolume * | logVol |
G4bool | checkOverlaps |
Cache of checking overlaps from global constants. | |
G4VisAttributes * | visAtt |
A frame for the vacuum window in e.g. BDSMultilayerScreen.
This is a virtual class and the derived class must implement Build() that ultimately sets the member logVol.
Definition at line 40 of file BDSScreenFrame.hh.
BDSScreenFrame::BDSScreenFrame | ( | G4String | name, |
G4ThreeVector | size, | ||
G4TwoVector | windowSize, | ||
G4TwoVector | windowOffset, | ||
G4Material * | material | ||
) |
Definition at line 26 of file BDSScreenFrame.cc.
|
virtual |
Definition at line 42 of file BDSScreenFrame.cc.
|
pure virtual |
Build method to construct geometry.
Implemented in BDSScreenFrameRectangular.
|
inline |
Accessor.
Definition at line 55 of file BDSScreenFrame.hh.
|
protected |
Construct default visualisation attribute for light transparent grey.
Definition at line 48 of file BDSScreenFrame.cc.
References BDSColours::Instance().
|
protectedvirtual |
Set the visual attributes to member logVol.
Reimplemented in BDSScreenFrameRectangular.
Definition at line 67 of file BDSScreenFrame.cc.
References SetVisAtts().
Referenced by SetVisAtts(), and BDSScreenFrameRectangular::SetVisAtts().
|
protected |
Attach visualisation attributes to logical volume if they exist and if not use the default.
Definition at line 55 of file BDSScreenFrame.cc.
|
protected |
Cache of checking overlaps from global constants.
Definition at line 75 of file BDSScreenFrame.hh.
Referenced by BDSScreenFrameRectangular::Place().
|
protected |
Definition at line 74 of file BDSScreenFrame.hh.
|
protected |
Definition at line 73 of file BDSScreenFrame.hh.
|
protected |
Definition at line 69 of file BDSScreenFrame.hh.
|
protected |
Definition at line 70 of file BDSScreenFrame.hh.
|
protected |
Definition at line 76 of file BDSScreenFrame.hh.
|
protected |
Definition at line 72 of file BDSScreenFrame.hh.
|
protected |
Definition at line 71 of file BDSScreenFrame.hh.