#include <Doxymodules_biasing.h>
Definition at line 82 of file Doxymodules_biasing.h.
◆ GB02DetectorConstruction()
GB02DetectorConstruction::GB02DetectorConstruction |
( |
| ) |
|
◆ ~GB02DetectorConstruction()
GB02DetectorConstruction::~GB02DetectorConstruction |
( |
| ) |
|
◆ Construct()
Definition at line 54 of file GB02DetectorConstruction.cc.
55{
56 G4Material* worldMaterial = G4NistManager::Instance()->FindOrBuildMaterial(
"G4_Galactic");
57 G4Material* defaultMaterial = G4NistManager::Instance()->FindOrBuildMaterial(
"G4_lN2");
58
60
62 worldMaterial,
63 "World");
64
66 G4ThreeVector(),
67 logicWorld,
68 "World",
69 0,
70 false,
71 0);
72
73
74
75
76 G4double halfZ = 10*cm;
77 G4VSolid* solidTest =
new G4Box(
"test.solid", 1*m, 1*m, halfZ );
78
80 defaultMaterial,
81 "test.logical");
82
84 G4ThreeVector(0,0, halfZ),
85 logicTest,
86 "test.phys",
87 logicWorld,
88 false,
89 0);
90
91
92 return physiWorld;
93}
◆ ConstructSDandField()
void GB02DetectorConstruction::ConstructSDandField |
( |
| ) |
|
|
virtual |
Definition at line 97 of file GB02DetectorConstruction.cc.
98{
99
100 G4LogicalVolume* logicTest = G4LogicalVolumeStore::GetInstance()->GetVolume(
"test.logical");
101
102
103
104
108 testMany->AttachTo(logicTest);
109 G4cout << " Attaching biasing operator " << testMany->GetName()
110 << " to logical volume " << logicTest->GetName()
111 << G4endl;
112}
void AddParticle(G4String particleName)
The documentation for this class was generated from the following files: