Geant4  10.02.p02
ExP01DetectorConstruction Class Reference

Detector Construction for the persistency example. More...

#include <ExP01DetectorConstruction.hh>

+ Inheritance diagram for ExP01DetectorConstruction:
+ Collaboration diagram for ExP01DetectorConstruction:

Public Member Functions

 ExP01DetectorConstruction ()
 
 ~ExP01DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
const G4VPhysicalVolumeGetTracker ()
 
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
 
G4VUserParallelWorldGetParallelWorld (G4int i) const
 

Private Attributes

G4BoxfSolidWorld
 
G4LogicalVolumefLogicWorld
 
G4VPhysicalVolumefPhysiWorld
 
G4BoxfSolidTarget
 
G4LogicalVolumefLogicTarget
 
G4VPhysicalVolumefPhysiTarget
 
G4BoxfSolidTracker
 
G4LogicalVolumefLogicTracker
 
G4VPhysicalVolumefPhysiTracker
 
G4BoxfSolidChamber
 
G4LogicalVolumefLogicChamber
 
G4VPhysicalVolumefPhysiChamber
 
G4MaterialfTargetMater
 
G4MaterialfChamberMater
 
ExP01MagneticFieldfPMagField
 
ExP01DetectorMessengerfDetectorMessenger
 
G4double fWorldLength
 
G4double fTargetLength
 
G4double fTrackerLength
 
G4int fNbOfChambers
 
G4double fChamberWidth
 
G4double fChamberSpacing
 

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)
 

Detailed Description

Detector Construction for the persistency example.

Definition at line 52 of file ExP01DetectorConstruction.hh.

Constructor & Destructor Documentation

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.

Member Function Documentation

G4double ExP01DetectorConstruction::GetTargetFullLength ( )
inline

Definition at line 66 of file ExP01DetectorConstruction.hh.

References fTargetLength.

const G4VPhysicalVolume* ExP01DetectorConstruction::GetTracker ( )
inline

Definition at line 64 of file ExP01DetectorConstruction.hh.

References fPhysiTracker.

G4double ExP01DetectorConstruction::GetTrackerFullLength ( )
inline

Definition at line 65 of file ExP01DetectorConstruction.hh.

References fTrackerLength.

G4double ExP01DetectorConstruction::GetWorldFullLength ( )
inline

Definition at line 67 of file ExP01DetectorConstruction.hh.

References fWorldLength.

Referenced by ExP01PrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ExP01DetectorConstruction::SetMagField ( G4double  fieldValue)

Definition at line 293 of file ExP01DetectorConstruction.cc.

References fPMagField, and ExP01MagneticField::SetFieldValue().

Referenced by ExP01DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4Material* ExP01DetectorConstruction::fChamberMater
private

Definition at line 92 of file ExP01DetectorConstruction.hh.

Referenced by Construct(), and setChamberMaterial().

G4double ExP01DetectorConstruction::fChamberSpacing
private

Definition at line 102 of file ExP01DetectorConstruction.hh.

Referenced by Construct().

G4double ExP01DetectorConstruction::fChamberWidth
private

Definition at line 101 of file ExP01DetectorConstruction.hh.

Referenced by Construct(), and setChamberMaterial().

ExP01DetectorMessenger* ExP01DetectorConstruction::fDetectorMessenger
private
G4LogicalVolume* ExP01DetectorConstruction::fLogicChamber
private

Definition at line 88 of file ExP01DetectorConstruction.hh.

Referenced by Construct(), and setChamberMaterial().

G4LogicalVolume* ExP01DetectorConstruction::fLogicTarget
private

Definition at line 80 of file ExP01DetectorConstruction.hh.

Referenced by Construct(), and setTargetMaterial().

G4LogicalVolume* ExP01DetectorConstruction::fLogicTracker
private

Definition at line 84 of file ExP01DetectorConstruction.hh.

Referenced by Construct().

G4LogicalVolume* ExP01DetectorConstruction::fLogicWorld
private

Definition at line 76 of file ExP01DetectorConstruction.hh.

Referenced by Construct().

G4int ExP01DetectorConstruction::fNbOfChambers
private

Definition at line 100 of file ExP01DetectorConstruction.hh.

Referenced by Construct().

G4VPhysicalVolume* ExP01DetectorConstruction::fPhysiChamber
private

Definition at line 89 of file ExP01DetectorConstruction.hh.

Referenced by Construct().

G4VPhysicalVolume* ExP01DetectorConstruction::fPhysiTarget
private

Definition at line 81 of file ExP01DetectorConstruction.hh.

Referenced by Construct().

G4VPhysicalVolume* ExP01DetectorConstruction::fPhysiTracker
private

Definition at line 85 of file ExP01DetectorConstruction.hh.

Referenced by Construct(), and GetTracker().

G4VPhysicalVolume* ExP01DetectorConstruction::fPhysiWorld
private

Definition at line 77 of file ExP01DetectorConstruction.hh.

Referenced by Construct().

ExP01MagneticField* ExP01DetectorConstruction::fPMagField
private
G4Box* ExP01DetectorConstruction::fSolidChamber
private

Definition at line 87 of file ExP01DetectorConstruction.hh.

Referenced by Construct().

G4Box* ExP01DetectorConstruction::fSolidTarget
private

Definition at line 79 of file ExP01DetectorConstruction.hh.

Referenced by Construct().

G4Box* ExP01DetectorConstruction::fSolidTracker
private

Definition at line 83 of file ExP01DetectorConstruction.hh.

Referenced by Construct().

G4Box* ExP01DetectorConstruction::fSolidWorld
private

Definition at line 75 of file ExP01DetectorConstruction.hh.

Referenced by Construct().

G4double ExP01DetectorConstruction::fTargetLength
private

Definition at line 98 of file ExP01DetectorConstruction.hh.

Referenced by Construct(), GetTargetFullLength(), and setTargetMaterial().

G4Material* ExP01DetectorConstruction::fTargetMater
private

Definition at line 91 of file ExP01DetectorConstruction.hh.

Referenced by Construct(), and setTargetMaterial().

G4double ExP01DetectorConstruction::fTrackerLength
private

Definition at line 99 of file ExP01DetectorConstruction.hh.

Referenced by Construct(), and GetTrackerFullLength().

G4double ExP01DetectorConstruction::fWorldLength
private

Definition at line 97 of file ExP01DetectorConstruction.hh.

Referenced by Construct(), and GetWorldFullLength().


The documentation for this class was generated from the following files: