Geant4
10.01.p02
|
#include <ElectronBenchmarkDetector.hh>
Additional Inherited Members | |
Protected Member Functions inherited from G4VUserDetectorConstruction | |
void | SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false) |
void | SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD) |
Definition at line 48 of file ElectronBenchmarkDetector.hh.
ElectronBenchmarkDetector::ElectronBenchmarkDetector | ( | ) |
Definition at line 59 of file ElectronBenchmarkDetector.cc.
References cm, DefineMaterials(), fHalfThicknessPrimFoil, fMessenger, fPosBag0, fPosBag1, fPosDelta, fPosHelium0, fPosHelium1, fPosMon0, fPosMon1, fPosPrimFoil, fPosScorer, fPosWindow0, fPosWindow1, fRadDelta, fRadOverall, fRadRingInner, fThicknessRing, fThicknessScorer, and fWidthScorerRing.
|
virtual |
Definition at line 112 of file ElectronBenchmarkDetector.cc.
References fBagVisAtt, fHeliumVisAtt, fMessenger, fMonVisAtt, fPrimFoilVisAtt, fRingVisAtt, fScorerVisAtt, fWindowVisAtt, and fWorldVisAtt.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 128 of file ElectronBenchmarkDetector.cc.
References CreateGeometry().
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 394 of file ElectronBenchmarkDetector.cc.
References fSensitiveDetectorCache, G4Cache< VALTYPE >::Get(), G4SDManager::GetSDMpointer(), G4MultiFunctionalDetector::RegisterPrimitive(), G4VPrimitiveScorer::SetFilter(), G4VUserDetectorConstruction::SetSensitiveDetector(), and G4SDManager::SetVerboseLevel().
Referenced by CreateScorer().
void ElectronBenchmarkDetector::CreateExitWindow | ( | G4LogicalVolume * | logicWorld | ) |
Definition at line 239 of file ElectronBenchmarkDetector.cc.
References cm, deg, fPosScorer, fPosWindow1, fRadOverall, fWindowVisAtt, G4Material::GetMaterial(), and G4LogicalVolume::SetVisAttributes().
Referenced by CreateGeometry().
G4VPhysicalVolume * ElectronBenchmarkDetector::CreateGeometry | ( | ) |
Definition at line 188 of file ElectronBenchmarkDetector.cc.
References G4PhysicalVolumeStore::Clean(), G4SolidStore::Clean(), G4LogicalVolumeStore::Clean(), CreateExitWindow(), CreateHeliumBag(), CreateMonitor(), CreatePrimaryFoil(), CreateScorer(), CreateWorld(), fLogWorld, G4LogicalVolumeStore::GetInstance(), G4PhysicalVolumeStore::GetInstance(), G4SolidStore::GetInstance(), G4GeometryManager::GetInstance(), G4VPhysicalVolume::GetLogicalVolume(), and G4GeometryManager::OpenGeometry().
Referenced by Construct().
void ElectronBenchmarkDetector::CreateHeliumBag | ( | G4LogicalVolume * | logicWorld | ) |
Definition at line 301 of file ElectronBenchmarkDetector.cc.
References cm, deg, fBagVisAtt, fHeliumVisAtt, fPosBag0, fPosBag1, fPosHelium0, fPosHelium1, fPosScorer, fRadOverall, fRadRingInner, fRingVisAtt, fThicknessRing, G4Material::GetMaterial(), and G4LogicalVolume::SetVisAttributes().
Referenced by CreateGeometry().
void ElectronBenchmarkDetector::CreateMonitor | ( | G4LogicalVolume * | logicWorld | ) |
Definition at line 281 of file ElectronBenchmarkDetector.cc.
References cm, deg, fMonVisAtt, fPosMon0, fPosMon1, fPosScorer, fRadOverall, G4Material::GetMaterial(), and G4LogicalVolume::SetVisAttributes().
Referenced by CreateGeometry().
void ElectronBenchmarkDetector::CreatePrimaryFoil | ( | G4LogicalVolume * | logicWorld | ) |
Definition at line 259 of file ElectronBenchmarkDetector.cc.
References cm, deg, fHalfThicknessPrimFoil, fMaterialPrimFoil, fPosPrimFoil, fPosScorer, fPrimFoilVisAtt, fRadOverall, and G4LogicalVolume::SetVisAttributes().
Referenced by CreateGeometry().
void ElectronBenchmarkDetector::CreateScorer | ( | G4LogicalVolume * | logicWorld | ) |
Definition at line 362 of file ElectronBenchmarkDetector.cc.
References cm, ConstructSDandField(), deg, fPosScorer, fRadOverall, fScorerRingLog, fScorerVisAtt, fThicknessScorer, fWidthScorerRing, G4Material::GetMaterial(), kRho, and G4LogicalVolume::SetVisAttributes().
Referenced by CreateGeometry().
G4VPhysicalVolume * ElectronBenchmarkDetector::CreateWorld | ( | ) |
Definition at line 219 of file ElectronBenchmarkDetector.cc.
References cm, deg, fPosDelta, fPosScorer, fRadDelta, fRadOverall, fWorldVisAtt, G4Material::GetMaterial(), and G4LogicalVolume::SetVisAttributes().
Referenced by CreateGeometry().
void ElectronBenchmarkDetector::DefineMaterials | ( | void | ) |
Definition at line 135 of file ElectronBenchmarkDetector.cc.
References G4Material::AddElement(), Al, cm3, density, G4NistManager::FindOrBuildElement(), G4NistManager::FindOrBuildMaterial(), g, G4cout, G4endl, G4Material::GetMaterialTable(), G4NistManager::Instance(), and G4NistManager::SetVerbose().
Referenced by ElectronBenchmarkDetector().
void ElectronBenchmarkDetector::SetPrimFoilMaterial | ( | G4String | matname | ) |
Definition at line 431 of file ElectronBenchmarkDetector.cc.
References fMaterialPrimFoil, G4Material::GetMaterial(), and UpdateGeometry().
Referenced by ElectronBenchmarkDetectorMessenger::SetNewValue().
void ElectronBenchmarkDetector::SetPrimFoilThickness | ( | G4double | thicknessPrimFoil | ) |
Definition at line 438 of file ElectronBenchmarkDetector.cc.
References fHalfThicknessPrimFoil, and UpdateGeometry().
Referenced by ElectronBenchmarkDetectorMessenger::SetNewValue().
void ElectronBenchmarkDetector::UpdateGeometry | ( | ) |
Definition at line 213 of file ElectronBenchmarkDetector.cc.
References G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().
Referenced by SetPrimFoilMaterial(), and SetPrimFoilThickness().
|
private |
Definition at line 128 of file ElectronBenchmarkDetector.hh.
Referenced by CreateHeliumBag(), and ~ElectronBenchmarkDetector().
|
private |
Definition at line 84 of file ElectronBenchmarkDetector.hh.
Referenced by CreatePrimaryFoil(), ElectronBenchmarkDetector(), and SetPrimFoilThickness().
|
private |
Definition at line 129 of file ElectronBenchmarkDetector.hh.
Referenced by CreateHeliumBag(), and ~ElectronBenchmarkDetector().
|
private |
Definition at line 113 of file ElectronBenchmarkDetector.hh.
Referenced by CreateGeometry().
|
private |
Definition at line 83 of file ElectronBenchmarkDetector.hh.
Referenced by CreatePrimaryFoil(), and SetPrimFoilMaterial().
|
private |
Definition at line 121 of file ElectronBenchmarkDetector.hh.
Referenced by ElectronBenchmarkDetector(), and ~ElectronBenchmarkDetector().
|
private |
Definition at line 127 of file ElectronBenchmarkDetector.hh.
Referenced by CreateMonitor(), and ~ElectronBenchmarkDetector().
|
private |
Definition at line 92 of file ElectronBenchmarkDetector.hh.
Referenced by CreateHeliumBag(), and ElectronBenchmarkDetector().
|
private |
Definition at line 93 of file ElectronBenchmarkDetector.hh.
Referenced by CreateHeliumBag(), and ElectronBenchmarkDetector().
|
private |
Definition at line 109 of file ElectronBenchmarkDetector.hh.
Referenced by CreateWorld(), and ElectronBenchmarkDetector().
|
private |
Definition at line 94 of file ElectronBenchmarkDetector.hh.
Referenced by CreateHeliumBag(), and ElectronBenchmarkDetector().
|
private |
Definition at line 95 of file ElectronBenchmarkDetector.hh.
Referenced by CreateHeliumBag(), and ElectronBenchmarkDetector().
|
private |
Definition at line 88 of file ElectronBenchmarkDetector.hh.
Referenced by CreateMonitor(), and ElectronBenchmarkDetector().
|
private |
Definition at line 89 of file ElectronBenchmarkDetector.hh.
Referenced by CreateMonitor(), and ElectronBenchmarkDetector().
|
private |
Definition at line 85 of file ElectronBenchmarkDetector.hh.
Referenced by CreatePrimaryFoil(), and ElectronBenchmarkDetector().
|
private |
Definition at line 99 of file ElectronBenchmarkDetector.hh.
Referenced by CreateExitWindow(), CreateHeliumBag(), CreateMonitor(), CreatePrimaryFoil(), CreateScorer(), CreateWorld(), and ElectronBenchmarkDetector().
|
private |
Definition at line 79 of file ElectronBenchmarkDetector.hh.
Referenced by ElectronBenchmarkDetector().
|
private |
Definition at line 80 of file ElectronBenchmarkDetector.hh.
Referenced by CreateExitWindow(), and ElectronBenchmarkDetector().
|
private |
Definition at line 126 of file ElectronBenchmarkDetector.hh.
Referenced by CreatePrimaryFoil(), and ~ElectronBenchmarkDetector().
|
private |
Definition at line 110 of file ElectronBenchmarkDetector.hh.
Referenced by CreateWorld(), and ElectronBenchmarkDetector().
|
private |
Definition at line 105 of file ElectronBenchmarkDetector.hh.
Referenced by CreateExitWindow(), CreateHeliumBag(), CreateMonitor(), CreatePrimaryFoil(), CreateScorer(), CreateWorld(), and ElectronBenchmarkDetector().
|
private |
Definition at line 106 of file ElectronBenchmarkDetector.hh.
Referenced by CreateHeliumBag(), and ElectronBenchmarkDetector().
|
private |
Definition at line 130 of file ElectronBenchmarkDetector.hh.
Referenced by CreateHeliumBag(), and ~ElectronBenchmarkDetector().
|
private |
Definition at line 102 of file ElectronBenchmarkDetector.hh.
Referenced by CreateScorer().
|
private |
Definition at line 131 of file ElectronBenchmarkDetector.hh.
Referenced by CreateScorer(), and ~ElectronBenchmarkDetector().
|
private |
Definition at line 118 of file ElectronBenchmarkDetector.hh.
Referenced by ConstructSDandField().
|
private |
Definition at line 96 of file ElectronBenchmarkDetector.hh.
Referenced by CreateHeliumBag(), and ElectronBenchmarkDetector().
|
private |
Definition at line 100 of file ElectronBenchmarkDetector.hh.
Referenced by CreateScorer(), and ElectronBenchmarkDetector().
|
private |
Definition at line 101 of file ElectronBenchmarkDetector.hh.
Referenced by CreateScorer(), and ElectronBenchmarkDetector().
|
private |
Definition at line 125 of file ElectronBenchmarkDetector.hh.
Referenced by CreateExitWindow(), and ~ElectronBenchmarkDetector().
|
private |
Definition at line 124 of file ElectronBenchmarkDetector.hh.
Referenced by CreateWorld(), and ~ElectronBenchmarkDetector().