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