ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExP01DetectorConstruction Class Reference

Detector Construction for the persistency example. More...

#include <geant4/tree/geant4-10.6-release/examples/extended/persistency/P01/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 51 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 51 of file ExP01DetectorConstruction.hh

Constructor & Destructor Documentation

ExP01DetectorConstruction::ExP01DetectorConstruction ( )

Definition at line 57 of file ExP01DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 57 of file ExP01DetectorConstruction.cc

References fDetectorMessenger, and fPMagField.

ExP01DetectorConstruction::~ExP01DetectorConstruction ( )

Definition at line 73 of file ExP01DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 73 of file ExP01DetectorConstruction.cc

References fDetectorMessenger, and fPMagField.

Member Function Documentation

G4double ExP01DetectorConstruction::GetTargetFullLength ( )
inline

Definition at line 65 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 65 of file ExP01DetectorConstruction.hh

References fTargetLength.

const G4VPhysicalVolume* ExP01DetectorConstruction::GetTracker ( )
inline

Definition at line 63 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 63 of file ExP01DetectorConstruction.hh

References fPhysiTracker.

G4double ExP01DetectorConstruction::GetTrackerFullLength ( )
inline

Definition at line 64 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 64 of file ExP01DetectorConstruction.hh

References fTrackerLength.

G4double ExP01DetectorConstruction::GetWorldFullLength ( )
inline

Definition at line 66 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 66 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 278 of file ExP01DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 278 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 292 of file ExP01DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 292 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 264 of file ExP01DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 264 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 91 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 91 of file ExP01DetectorConstruction.hh

Referenced by Construct(), and SetChamberMaterial().

G4double ExP01DetectorConstruction::fChamberSpacing
private

Definition at line 101 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 101 of file ExP01DetectorConstruction.hh

Referenced by Construct().

G4double ExP01DetectorConstruction::fChamberWidth
private

Definition at line 100 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 100 of file ExP01DetectorConstruction.hh

Referenced by Construct(), and SetChamberMaterial().

ExP01DetectorMessenger* ExP01DetectorConstruction::fDetectorMessenger
private

Definition at line 94 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 94 of file ExP01DetectorConstruction.hh

Referenced by ExP01DetectorConstruction(), and ~ExP01DetectorConstruction().

G4LogicalVolume* ExP01DetectorConstruction::fLogicChamber
private

Definition at line 87 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 87 of file ExP01DetectorConstruction.hh

Referenced by Construct(), and SetChamberMaterial().

G4LogicalVolume* ExP01DetectorConstruction::fLogicTarget
private

Definition at line 79 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 79 of file ExP01DetectorConstruction.hh

Referenced by Construct(), and SetTargetMaterial().

G4LogicalVolume* ExP01DetectorConstruction::fLogicTracker
private

Definition at line 83 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 83 of file ExP01DetectorConstruction.hh

Referenced by Construct().

G4LogicalVolume* ExP01DetectorConstruction::fLogicWorld
private

Definition at line 75 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 75 of file ExP01DetectorConstruction.hh

Referenced by Construct().

G4int ExP01DetectorConstruction::fNbOfChambers
private

Definition at line 99 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 99 of file ExP01DetectorConstruction.hh

Referenced by Construct().

G4VPhysicalVolume* ExP01DetectorConstruction::fPhysiChamber
private

Definition at line 88 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 88 of file ExP01DetectorConstruction.hh

Referenced by Construct().

G4VPhysicalVolume* ExP01DetectorConstruction::fPhysiTarget
private

Definition at line 80 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 80 of file ExP01DetectorConstruction.hh

Referenced by Construct().

G4VPhysicalVolume* ExP01DetectorConstruction::fPhysiTracker
private

Definition at line 84 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 84 of file ExP01DetectorConstruction.hh

Referenced by Construct(), and GetTracker().

G4VPhysicalVolume* ExP01DetectorConstruction::fPhysiWorld
private

Definition at line 76 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 76 of file ExP01DetectorConstruction.hh

Referenced by Construct().

ExP01MagneticField* ExP01DetectorConstruction::fPMagField
private

Definition at line 92 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 92 of file ExP01DetectorConstruction.hh

Referenced by ExP01DetectorConstruction(), SetMagField(), and ~ExP01DetectorConstruction().

G4Box* ExP01DetectorConstruction::fSolidChamber
private

Definition at line 86 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 86 of file ExP01DetectorConstruction.hh

Referenced by Construct().

G4Box* ExP01DetectorConstruction::fSolidTarget
private

Definition at line 78 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 78 of file ExP01DetectorConstruction.hh

Referenced by Construct().

G4Box* ExP01DetectorConstruction::fSolidTracker
private

Definition at line 82 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 82 of file ExP01DetectorConstruction.hh

Referenced by Construct().

G4Box* ExP01DetectorConstruction::fSolidWorld
private

Definition at line 74 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 74 of file ExP01DetectorConstruction.hh

Referenced by Construct().

G4double ExP01DetectorConstruction::fTargetLength
private

Definition at line 97 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 97 of file ExP01DetectorConstruction.hh

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

G4Material* ExP01DetectorConstruction::fTargetMater
private

Definition at line 90 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 90 of file ExP01DetectorConstruction.hh

Referenced by Construct(), and SetTargetMaterial().

G4double ExP01DetectorConstruction::fTrackerLength
private

Definition at line 98 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 98 of file ExP01DetectorConstruction.hh

Referenced by Construct(), and GetTrackerFullLength().

G4double ExP01DetectorConstruction::fWorldLength
private

Definition at line 96 of file ExP01DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 96 of file ExP01DetectorConstruction.hh

Referenced by Construct(), and GetWorldFullLength().


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