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

#include <geant4/tree/geant4-10.6-release/examples/advanced/purging_magnet/include/PurgMagDetectorConstruction.hh>

+ Inheritance diagram for PurgMagDetectorConstruction:
+ Collaboration diagram for PurgMagDetectorConstruction:

Public Member Functions

 PurgMagDetectorConstruction ()
 
 ~PurgMagDetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
void ConstructSDandField ()
 
void PrintDetectorParameters ()
 
G4double GetWorldSizeXY () const
 
G4double GetWorldSizeZ () const
 
G4double GetMeasureVolumeSizeXY () const
 
G4double GetMeasureVolumeSizeZ () const
 
G4double GetGapSizeX1 ()
 
G4double GetGapSizeX2 ()
 
G4double GetGapSizeY1 ()
 
G4double GetGapSizeY2 ()
 
G4double GetGapSizeZ ()
 
G4MaterialGetWorldMaterial ()
 
G4MaterialGetGapMaterial ()
 
const G4VPhysicalVolumeGetWorld () const
 
const G4VPhysicalVolumeGetMeasureVolume () const
 
const G4VPhysicalVolumeGetGap1 () const
 
const G4VPhysicalVolumeGetGap2 () const
 
- Public Member Functions inherited from G4VUserDetectorConstruction
 G4VUserDetectorConstruction ()
 
virtual ~G4VUserDetectorConstruction ()
 
virtual void CloneSD ()
 
virtual void CloneF ()
 
void RegisterParallelWorld (G4VUserParallelWorld *)
 
G4int ConstructParallelGeometries ()
 
void ConstructParallelSD ()
 
G4int GetNumberOfParallelWorld () const
 
G4VUserParallelWorldGetParallelWorld (G4int i) const
 

Private Member Functions

void DefineMaterials ()
 
G4VPhysicalVolumeConstructCalorimeter ()
 

Private Attributes

G4double WorldSizeXY
 
G4double WorldSizeZ
 
G4double MeasureVolumeSizeXY
 
G4double MeasureVolumeSizeZ
 
G4double MeasureVolumePosition
 
G4double GapSizeX1
 
G4double GapSizeX2
 
G4double GapSizeY1
 
G4double GapSizeY2
 
G4double GapSizeZ
 
G4double Gap1PosX
 
G4double Gap1PosY
 
G4double Gap1PosZ
 
G4double Gap2PosX
 
G4double Gap2PosY
 
G4double Gap2PosZ
 
G4double SSD
 
G4double zOffset
 
G4VPhysicalVolumephysiWorld
 
G4LogicalVolumelogicWorld
 
G4BoxsolidWorld
 
G4VPhysicalVolumephysiGap1
 
G4LogicalVolumelogicGap1
 
G4TrdsolidGap1
 
G4VPhysicalVolumephysiGap2
 
G4LogicalVolumelogicGap2
 
G4TrdsolidGap2
 
G4VPhysicalVolumephysiMeasureVolume
 
G4LogicalVolumelogicMeasureVolume
 
G4BoxsolidMeasureVolume
 
G4MaterialWorldMaterial
 
G4MaterialGapMaterial
 
G4Cache< G4MagneticField * > fField
 

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

Definition at line 60 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 60 of file PurgMagDetectorConstruction.hh

Constructor & Destructor Documentation

PurgMagDetectorConstruction::PurgMagDetectorConstruction ( )

Definition at line 81 of file PurgMagDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 81 of file PurgMagDetectorConstruction.cc

References fField, GapSizeX1, GapSizeX2, GapSizeY1, GapSizeY2, GapSizeZ, MeasureVolumeSizeXY, MeasureVolumeSizeZ, G4Cache< VALTYPE >::Put(), WorldSizeXY, and WorldSizeZ.

+ Here is the call graph for this function:

PurgMagDetectorConstruction::~PurgMagDetectorConstruction ( )

Definition at line 100 of file PurgMagDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 100 of file PurgMagDetectorConstruction.cc

Member Function Documentation

G4VPhysicalVolume * PurgMagDetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 105 of file PurgMagDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 105 of file PurgMagDetectorConstruction.cc

References ConstructCalorimeter(), and DefineMaterials().

+ Here is the call graph for this function:

G4VPhysicalVolume * PurgMagDetectorConstruction::ConstructCalorimeter ( )
private

Definition at line 211 of file PurgMagDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 211 of file PurgMagDetectorConstruction.cc

References cm, G4BestUnit, G4cout, Gap1PosX, Gap1PosY, Gap1PosZ, Gap2PosX, Gap2PosY, Gap2PosZ, GapMaterial, GapSizeX1, GapSizeX2, GapSizeY1, GapSizeY2, GapSizeZ, G4Material::GetName(), logicGap1, logicGap2, logicMeasureVolume, logicWorld, MeasureVolumePosition, MeasureVolumeSizeXY, MeasureVolumeSizeZ, mm, physiGap1, physiGap2, physiMeasureVolume, physiWorld, G4VisAttributes::SetForceSolid(), G4LogicalVolume::SetVisAttributes(), G4VisAttributes::SetVisibility(), solidGap1, solidGap2, solidMeasureVolume, solidWorld, SSD, WorldMaterial, WorldSizeXY, WorldSizeZ, and zOffset.

Referenced by Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PurgMagDetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

Definition at line 419 of file PurgMagDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 419 of file PurgMagDetectorConstruction.cc

References G4FieldManager::CreateChordFinder(), fField, G4cout, G4endl, G4Cache< VALTYPE >::Get(), G4FieldManager::GetDeltaOneStep(), G4TransportationManager::GetFieldManager(), G4TransportationManager::GetTransportationManager(), mm, G4Cache< VALTYPE >::Put(), G4FieldManager::SetDetectorField(), and zOffset.

+ Here is the call graph for this function:

void PurgMagDetectorConstruction::DefineMaterials ( )
private

Definition at line 114 of file PurgMagDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 114 of file PurgMagDetectorConstruction.cc

References G4Material::AddElement(), G4Material::AddMaterial(), bar, cm3, Acts::UnitConstants::g, G4cout, G4endl, GapMaterial, G4Material::GetMaterialTable(), H, kStateGas, mg, mole, N, source.hepunit::STP_Pressure, source.hepunit::STP_Temperature, and WorldMaterial.

Referenced by Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4VPhysicalVolume* PurgMagDetectorConstruction::GetGap1 ( ) const
inline

Definition at line 92 of file PurgMagDetectorConstruction.hh.

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

References physiGap1.

const G4VPhysicalVolume* PurgMagDetectorConstruction::GetGap2 ( ) const
inline

Definition at line 93 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 93 of file PurgMagDetectorConstruction.hh

G4Material* PurgMagDetectorConstruction::GetGapMaterial ( )
inline

Definition at line 88 of file PurgMagDetectorConstruction.hh.

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

References GapMaterial.

G4double PurgMagDetectorConstruction::GetGapSizeX1 ( )
inline

Definition at line 81 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 81 of file PurgMagDetectorConstruction.hh

References GapSizeX1.

G4double PurgMagDetectorConstruction::GetGapSizeX2 ( )
inline

Definition at line 82 of file PurgMagDetectorConstruction.hh.

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

References GapSizeX2.

G4double PurgMagDetectorConstruction::GetGapSizeY1 ( )
inline

Definition at line 83 of file PurgMagDetectorConstruction.hh.

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

References GapSizeY1.

G4double PurgMagDetectorConstruction::GetGapSizeY2 ( )
inline

Definition at line 84 of file PurgMagDetectorConstruction.hh.

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

References GapSizeY2.

G4double PurgMagDetectorConstruction::GetGapSizeZ ( )
inline

Definition at line 85 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 85 of file PurgMagDetectorConstruction.hh

References GapSizeZ.

const G4VPhysicalVolume* PurgMagDetectorConstruction::GetMeasureVolume ( ) const
inline

Definition at line 91 of file PurgMagDetectorConstruction.hh.

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

References physiMeasureVolume.

Referenced by PurgMagSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

G4double PurgMagDetectorConstruction::GetMeasureVolumeSizeXY ( ) const
inline

Definition at line 78 of file PurgMagDetectorConstruction.hh.

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

References MeasureVolumeSizeXY.

G4double PurgMagDetectorConstruction::GetMeasureVolumeSizeZ ( ) const
inline

Definition at line 79 of file PurgMagDetectorConstruction.hh.

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

References MeasureVolumeSizeZ.

const G4VPhysicalVolume* PurgMagDetectorConstruction::GetWorld ( ) const
inline

Definition at line 90 of file PurgMagDetectorConstruction.hh.

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

References physiWorld.

Referenced by PurgMagSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

G4Material* PurgMagDetectorConstruction::GetWorldMaterial ( )
inline

Definition at line 87 of file PurgMagDetectorConstruction.hh.

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

References WorldMaterial.

G4double PurgMagDetectorConstruction::GetWorldSizeXY ( ) const
inline

Definition at line 75 of file PurgMagDetectorConstruction.hh.

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

References WorldSizeXY.

G4double PurgMagDetectorConstruction::GetWorldSizeZ ( ) const
inline

Definition at line 76 of file PurgMagDetectorConstruction.hh.

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

References WorldSizeZ.

void PurgMagDetectorConstruction::PrintDetectorParameters ( )

Member Data Documentation

G4Cache<G4MagneticField*> PurgMagDetectorConstruction::fField
private

Definition at line 142 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 142 of file PurgMagDetectorConstruction.hh

Referenced by ConstructSDandField(), and PurgMagDetectorConstruction().

G4double PurgMagDetectorConstruction::Gap1PosX
private

Definition at line 111 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 111 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::Gap1PosY
private

Definition at line 112 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 112 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::Gap1PosZ
private

Definition at line 113 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 113 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::Gap2PosX
private

Definition at line 114 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 114 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::Gap2PosY
private

Definition at line 115 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 115 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::Gap2PosZ
private

Definition at line 116 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 116 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4Material* PurgMagDetectorConstruction::GapMaterial
private

Definition at line 140 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 140 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter(), DefineMaterials(), and GetGapMaterial().

G4double PurgMagDetectorConstruction::GapSizeX1
private

Definition at line 106 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 106 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter(), GetGapSizeX1(), and PurgMagDetectorConstruction().

G4double PurgMagDetectorConstruction::GapSizeX2
private

Definition at line 107 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 107 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter(), GetGapSizeX2(), and PurgMagDetectorConstruction().

G4double PurgMagDetectorConstruction::GapSizeY1
private

Definition at line 108 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 108 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter(), GetGapSizeY1(), and PurgMagDetectorConstruction().

G4double PurgMagDetectorConstruction::GapSizeY2
private

Definition at line 109 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 109 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter(), GetGapSizeY2(), and PurgMagDetectorConstruction().

G4double PurgMagDetectorConstruction::GapSizeZ
private

Definition at line 110 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 110 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter(), GetGapSizeZ(), and PurgMagDetectorConstruction().

G4LogicalVolume* PurgMagDetectorConstruction::logicGap1
private

Definition at line 127 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 127 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4LogicalVolume* PurgMagDetectorConstruction::logicGap2
private

Definition at line 132 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 132 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4LogicalVolume* PurgMagDetectorConstruction::logicMeasureVolume
private

Definition at line 136 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 136 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4LogicalVolume* PurgMagDetectorConstruction::logicWorld
private

Definition at line 122 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 122 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::MeasureVolumePosition
private

Definition at line 104 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 104 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::MeasureVolumeSizeXY
private

Definition at line 102 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 102 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter(), GetMeasureVolumeSizeXY(), and PurgMagDetectorConstruction().

G4double PurgMagDetectorConstruction::MeasureVolumeSizeZ
private

Definition at line 103 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 103 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter(), GetMeasureVolumeSizeZ(), and PurgMagDetectorConstruction().

G4VPhysicalVolume* PurgMagDetectorConstruction::physiGap1
private

Definition at line 126 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 126 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter(), and GetGap1().

G4VPhysicalVolume* PurgMagDetectorConstruction::physiGap2
private

Definition at line 131 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 131 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4VPhysicalVolume* PurgMagDetectorConstruction::physiMeasureVolume
private

Definition at line 135 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 135 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter(), and GetMeasureVolume().

G4VPhysicalVolume* PurgMagDetectorConstruction::physiWorld
private

Definition at line 121 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 121 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter(), and GetWorld().

G4Trd* PurgMagDetectorConstruction::solidGap1
private

Definition at line 128 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 128 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4Trd* PurgMagDetectorConstruction::solidGap2
private

Definition at line 133 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 133 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4Box* PurgMagDetectorConstruction::solidMeasureVolume
private

Definition at line 137 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 137 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4Box* PurgMagDetectorConstruction::solidWorld
private

Definition at line 123 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 123 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::SSD
private

Definition at line 118 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 118 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter().

G4Material* PurgMagDetectorConstruction::WorldMaterial
private

Definition at line 139 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 139 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter(), DefineMaterials(), and GetWorldMaterial().

G4double PurgMagDetectorConstruction::WorldSizeXY
private

Definition at line 93 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 93 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter(), GetWorldSizeXY(), and PurgMagDetectorConstruction().

G4double PurgMagDetectorConstruction::WorldSizeZ
private

Definition at line 100 of file PurgMagDetectorConstruction.hh.

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

Referenced by ConstructCalorimeter(), GetWorldSizeZ(), and PurgMagDetectorConstruction().

G4double PurgMagDetectorConstruction::zOffset
private

Definition at line 119 of file PurgMagDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 119 of file PurgMagDetectorConstruction.hh

Referenced by ConstructCalorimeter(), and ConstructSDandField().


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