Simple detector construction with only a world volume.
More...
#include <ExG4DetectorConstruction01.hh>
|
| ExG4DetectorConstruction01 (const G4String &materialName="G4_AIR", G4double hx=50 *CLHEP::cm, G4double hy=50 *CLHEP::cm, G4double hz=50 *CLHEP::cm) |
|
| ~ExG4DetectorConstruction01 () |
|
virtual G4VPhysicalVolume * | Construct () |
|
void | SetMaterial (const G4String &materialName) |
|
void | SetDimensions (G4double hx, G4double hy, G4double hz) |
|
| ExG4DetectorConstruction01 (const G4String &materialName="G4_AIR", G4double hx=50 *CLHEP::cm, G4double hy=50 *CLHEP::cm, G4double hz=50 *CLHEP::cm) |
|
| ~ExG4DetectorConstruction01 () |
|
virtual G4VPhysicalVolume * | Construct () |
|
void | SetMaterial (const G4String &materialName) |
|
void | SetDimensions (G4double hx, G4double hy, G4double hz) |
|
| ExG4DetectorConstruction01 (const G4String &materialName="G4_AIR", G4double hx=50 *CLHEP::cm, G4double hy=50 *CLHEP::cm, G4double hz=50 *CLHEP::cm) |
|
| ~ExG4DetectorConstruction01 () |
|
virtual G4VPhysicalVolume * | Construct () |
|
void | SetMaterial (const G4String &materialName) |
|
void | SetDimensions (G4double hx, G4double hy, G4double hz) |
|
| G4VUserDetectorConstruction () |
|
virtual | ~G4VUserDetectorConstruction () |
|
virtual void | ConstructSDandField () |
|
virtual void | CloneSD () |
|
virtual void | CloneF () |
|
void | RegisterParallelWorld (G4VUserParallelWorld *) |
|
G4int | ConstructParallelGeometries () |
|
void | ConstructParallelSD () |
|
G4int | GetNumberOfParallelWorld () const |
|
G4VUserParallelWorld * | GetParallelWorld (G4int i) const |
|
Simple detector construction with only a world volume.
Definition at line 48 of file common/include/ExG4DetectorConstruction01.hh.
◆ ExG4DetectorConstruction01() [1/3]
◆ ~ExG4DetectorConstruction01() [1/3]
ExG4DetectorConstruction01::~ExG4DetectorConstruction01 |
( |
| ) |
|
◆ ExG4DetectorConstruction01() [2/3]
◆ ~ExG4DetectorConstruction01() [2/3]
ExG4DetectorConstruction01::~ExG4DetectorConstruction01 |
( |
| ) |
|
◆ ExG4DetectorConstruction01() [3/3]
◆ ~ExG4DetectorConstruction01() [3/3]
ExG4DetectorConstruction01::~ExG4DetectorConstruction01 |
( |
| ) |
|
◆ Construct() [1/3]
◆ Construct() [2/3]
◆ Construct() [3/3]
◆ SetDimensions() [1/3]
Set world dimension (in half lengths). This setting has effect only if called in PreInit> phase
Definition at line 119 of file common/src/ExG4DetectorConstruction01.cc.
CLHEP::Hep3Vector G4ThreeVector
G4ThreeVector fDimensions
◆ SetDimensions() [2/3]
◆ SetDimensions() [3/3]
◆ SetMaterial() [1/3]
void ExG4DetectorConstruction01::SetMaterial |
( |
const G4String & |
materialName | ) |
|
Definition at line 100 of file common/src/ExG4DetectorConstruction01.cc.
107 if ( ! newMaterial ) {
108 G4cerr <<
"Material " << materialName <<
" not found." <<
G4endl;
109 G4cerr <<
"The box material was not changed." <<
G4endl;
114 G4cout <<
"Material of box changed to " << materialName <<
G4endl;
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
G4GLOB_DLL std::ostream G4cout
G4LogicalVolume * fWorldVolume
void SetMaterial(G4Material *pMaterial)
G4GLOB_DLL std::ostream G4cerr
◆ SetMaterial() [2/3]
void ExG4DetectorConstruction01::SetMaterial |
( |
const G4String & |
materialName | ) |
|
◆ SetMaterial() [3/3]
void ExG4DetectorConstruction01::SetMaterial |
( |
const G4String & |
materialName | ) |
|
◆ fDimensions
◆ fMaterialName
G4String ExG4DetectorConstruction01::fMaterialName |
|
private |
◆ fMessenger
◆ fWorldVolume
The documentation for this class was generated from the following files: