Geant4
10.01.p03
|
Detector Construction for the persistency example. More...
#include <ExP01DetectorConstruction.hh>
Public Member Functions | |
ExP01DetectorConstruction () | |
~ExP01DetectorConstruction () | |
virtual G4VPhysicalVolume * | Construct () |
const G4VPhysicalVolume * | GetTracker () |
G4double | GetTrackerFullLength () |
G4double | GetTargetFullLength () |
G4double | GetWorldFullLength () |
void | setTargetMaterial (G4String) |
void | setChamberMaterial (G4String) |
void | SetMagField (G4double) |
Public Member Functions inherited from G4VUserDetectorConstruction | |
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 |
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) |
Detector Construction for the persistency example.
Definition at line 52 of file ExP01DetectorConstruction.hh.
ExP01DetectorConstruction::ExP01DetectorConstruction | ( | ) |
Definition at line 58 of file ExP01DetectorConstruction.cc.
References fDetectorMessenger, and fPMagField.
ExP01DetectorConstruction::~ExP01DetectorConstruction | ( | ) |
Definition at line 74 of file ExP01DetectorConstruction.cc.
References fDetectorMessenger, and fPMagField.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 82 of file ExP01DetectorConstruction.cc.
References a, G4Material::AddElement(), G4SDManager::AddNewDetector(), Air, atmosphere, cm, cm3, density, fChamberMater, fChamberSpacing, fChamberWidth, fLogicChamber, fLogicTarget, fLogicTracker, fLogicWorld, fNbOfChambers, fPhysiChamber, fPhysiTarget, fPhysiTracker, fPhysiWorld, fSolidChamber, fSolidTarget, fSolidTracker, fSolidWorld, fTargetLength, fTargetMater, fTrackerLength, fWorldLength, g, G4cout, G4endl, G4Material::GetMaterialTable(), G4Material::GetName(), G4SDManager::GetSDMpointer(), kelvin, kStateGas, kZAxis, mg, mm, mole, nel, perCent, G4LogicalVolume::SetSensitiveDetector(), G4LogicalVolume::SetUserLimits(), G4LogicalVolume::SetVisAttributes(), and z.
|
inline |
Definition at line 66 of file ExP01DetectorConstruction.hh.
References fTargetLength.
|
inline |
Definition at line 64 of file ExP01DetectorConstruction.hh.
References fPhysiTracker.
|
inline |
Definition at line 65 of file ExP01DetectorConstruction.hh.
References fTrackerLength.
|
inline |
Definition at line 67 of file ExP01DetectorConstruction.hh.
References fWorldLength.
Referenced by ExP01PrimaryGeneratorAction::GeneratePrimaries().
void ExP01DetectorConstruction::setChamberMaterial | ( | G4String | materialName | ) |
Definition at line 279 of file ExP01DetectorConstruction.cc.
References cm, fChamberMater, fChamberWidth, fLogicChamber, G4cout, G4endl, G4Material::GetMaterial(), and G4LogicalVolume::SetMaterial().
Referenced by ExP01DetectorMessenger::SetNewValue().
void ExP01DetectorConstruction::SetMagField | ( | G4double | fieldValue | ) |
Definition at line 293 of file ExP01DetectorConstruction.cc.
References fPMagField, and ExP01MagneticField::SetFieldValue().
Referenced by ExP01DetectorMessenger::SetNewValue().
void ExP01DetectorConstruction::setTargetMaterial | ( | G4String | materialName | ) |
Definition at line 265 of file ExP01DetectorConstruction.cc.
References cm, fLogicTarget, fTargetLength, fTargetMater, G4cout, G4endl, G4Material::GetMaterial(), and G4LogicalVolume::SetMaterial().
Referenced by ExP01DetectorMessenger::SetNewValue().
|
private |
Definition at line 92 of file ExP01DetectorConstruction.hh.
Referenced by Construct(), and setChamberMaterial().
|
private |
Definition at line 102 of file ExP01DetectorConstruction.hh.
Referenced by Construct().
|
private |
Definition at line 101 of file ExP01DetectorConstruction.hh.
Referenced by Construct(), and setChamberMaterial().
|
private |
Definition at line 95 of file ExP01DetectorConstruction.hh.
Referenced by ExP01DetectorConstruction(), and ~ExP01DetectorConstruction().
|
private |
Definition at line 88 of file ExP01DetectorConstruction.hh.
Referenced by Construct(), and setChamberMaterial().
|
private |
Definition at line 80 of file ExP01DetectorConstruction.hh.
Referenced by Construct(), and setTargetMaterial().
|
private |
Definition at line 84 of file ExP01DetectorConstruction.hh.
Referenced by Construct().
|
private |
Definition at line 76 of file ExP01DetectorConstruction.hh.
Referenced by Construct().
|
private |
Definition at line 100 of file ExP01DetectorConstruction.hh.
Referenced by Construct().
|
private |
Definition at line 89 of file ExP01DetectorConstruction.hh.
Referenced by Construct().
|
private |
Definition at line 81 of file ExP01DetectorConstruction.hh.
Referenced by Construct().
|
private |
Definition at line 85 of file ExP01DetectorConstruction.hh.
Referenced by Construct(), and GetTracker().
|
private |
Definition at line 77 of file ExP01DetectorConstruction.hh.
Referenced by Construct().
|
private |
Definition at line 93 of file ExP01DetectorConstruction.hh.
Referenced by ExP01DetectorConstruction(), SetMagField(), and ~ExP01DetectorConstruction().
|
private |
Definition at line 87 of file ExP01DetectorConstruction.hh.
Referenced by Construct().
|
private |
Definition at line 79 of file ExP01DetectorConstruction.hh.
Referenced by Construct().
|
private |
Definition at line 83 of file ExP01DetectorConstruction.hh.
Referenced by Construct().
|
private |
Definition at line 75 of file ExP01DetectorConstruction.hh.
Referenced by Construct().
|
private |
Definition at line 98 of file ExP01DetectorConstruction.hh.
Referenced by Construct(), GetTargetFullLength(), and setTargetMaterial().
|
private |
Definition at line 91 of file ExP01DetectorConstruction.hh.
Referenced by Construct(), and setTargetMaterial().
|
private |
Definition at line 99 of file ExP01DetectorConstruction.hh.
Referenced by Construct(), and GetTrackerFullLength().
|
private |
Definition at line 97 of file ExP01DetectorConstruction.hh.
Referenced by Construct(), and GetWorldFullLength().