Geant4  10.01.p03
PurgMagDetectorConstruction Class Reference

#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 61 of file PurgMagDetectorConstruction.hh.

Constructor & Destructor Documentation

PurgMagDetectorConstruction::PurgMagDetectorConstruction ( )

Definition at line 82 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 101 of file PurgMagDetectorConstruction.cc.

Member Function Documentation

G4VPhysicalVolume * PurgMagDetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 106 of file PurgMagDetectorConstruction.cc.

References ConstructCalorimeter(), and DefineMaterials().

+ Here is the call graph for this function:

G4VPhysicalVolume * PurgMagDetectorConstruction::ConstructCalorimeter ( )
private

Definition at line 212 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 420 of file PurgMagDetectorConstruction.cc.

References G4FieldManager::CreateChordFinder(), fField, G4cout, 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 115 of file PurgMagDetectorConstruction.cc.

References G4Material::AddElement(), G4Material::AddMaterial(), Air, bar, cm3, density, g, G4cout, G4endl, GapMaterial, G4Material::GetMaterialTable(), kStateGas, mg, mole, name, symbol, 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 93 of file PurgMagDetectorConstruction.hh.

References physiGap1.

const G4VPhysicalVolume* PurgMagDetectorConstruction::GetGap2 ( ) const
inline

Definition at line 94 of file PurgMagDetectorConstruction.hh.

G4Material* PurgMagDetectorConstruction::GetGapMaterial ( )
inline

Definition at line 89 of file PurgMagDetectorConstruction.hh.

References GapMaterial.

G4double PurgMagDetectorConstruction::GetGapSizeX1 ( )
inline

Definition at line 82 of file PurgMagDetectorConstruction.hh.

References GapSizeX1.

G4double PurgMagDetectorConstruction::GetGapSizeX2 ( )
inline

Definition at line 83 of file PurgMagDetectorConstruction.hh.

References GapSizeX2.

G4double PurgMagDetectorConstruction::GetGapSizeY1 ( )
inline

Definition at line 84 of file PurgMagDetectorConstruction.hh.

References GapSizeY1.

G4double PurgMagDetectorConstruction::GetGapSizeY2 ( )
inline

Definition at line 85 of file PurgMagDetectorConstruction.hh.

References GapSizeY2.

G4double PurgMagDetectorConstruction::GetGapSizeZ ( )
inline

Definition at line 86 of file PurgMagDetectorConstruction.hh.

References GapSizeZ.

const G4VPhysicalVolume* PurgMagDetectorConstruction::GetMeasureVolume ( ) const
inline

Definition at line 92 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 79 of file PurgMagDetectorConstruction.hh.

References MeasureVolumeSizeXY.

G4double PurgMagDetectorConstruction::GetMeasureVolumeSizeZ ( ) const
inline

Definition at line 80 of file PurgMagDetectorConstruction.hh.

References MeasureVolumeSizeZ.

const G4VPhysicalVolume* PurgMagDetectorConstruction::GetWorld ( ) const
inline

Definition at line 91 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 88 of file PurgMagDetectorConstruction.hh.

References WorldMaterial.

G4double PurgMagDetectorConstruction::GetWorldSizeXY ( ) const
inline

Definition at line 76 of file PurgMagDetectorConstruction.hh.

References WorldSizeXY.

G4double PurgMagDetectorConstruction::GetWorldSizeZ ( ) const
inline

Definition at line 77 of file PurgMagDetectorConstruction.hh.

References WorldSizeZ.

void PurgMagDetectorConstruction::PrintDetectorParameters ( )

Member Data Documentation

G4Cache<G4MagneticField*> PurgMagDetectorConstruction::fField
private
G4double PurgMagDetectorConstruction::Gap1PosX
private

Definition at line 112 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::Gap1PosY
private

Definition at line 113 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::Gap1PosZ
private

Definition at line 114 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::Gap2PosX
private

Definition at line 115 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::Gap2PosY
private

Definition at line 116 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::Gap2PosZ
private

Definition at line 117 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4Material* PurgMagDetectorConstruction::GapMaterial
private
G4double PurgMagDetectorConstruction::GapSizeX1
private
G4double PurgMagDetectorConstruction::GapSizeX2
private
G4double PurgMagDetectorConstruction::GapSizeY1
private
G4double PurgMagDetectorConstruction::GapSizeY2
private
G4double PurgMagDetectorConstruction::GapSizeZ
private
G4LogicalVolume* PurgMagDetectorConstruction::logicGap1
private

Definition at line 128 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4LogicalVolume* PurgMagDetectorConstruction::logicGap2
private

Definition at line 133 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4LogicalVolume* PurgMagDetectorConstruction::logicMeasureVolume
private

Definition at line 137 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4LogicalVolume* PurgMagDetectorConstruction::logicWorld
private

Definition at line 123 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::MeasureVolumePosition
private

Definition at line 105 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::MeasureVolumeSizeXY
private
G4double PurgMagDetectorConstruction::MeasureVolumeSizeZ
private
G4VPhysicalVolume* PurgMagDetectorConstruction::physiGap1
private

Definition at line 127 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter(), and GetGap1().

G4VPhysicalVolume* PurgMagDetectorConstruction::physiGap2
private

Definition at line 132 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4VPhysicalVolume* PurgMagDetectorConstruction::physiMeasureVolume
private

Definition at line 136 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter(), and GetMeasureVolume().

G4VPhysicalVolume* PurgMagDetectorConstruction::physiWorld
private

Definition at line 122 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter(), and GetWorld().

G4Trd* PurgMagDetectorConstruction::solidGap1
private

Definition at line 129 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4Trd* PurgMagDetectorConstruction::solidGap2
private

Definition at line 134 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4Box* PurgMagDetectorConstruction::solidMeasureVolume
private

Definition at line 138 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4Box* PurgMagDetectorConstruction::solidWorld
private

Definition at line 124 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4double PurgMagDetectorConstruction::SSD
private

Definition at line 119 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4Material* PurgMagDetectorConstruction::WorldMaterial
private
G4double PurgMagDetectorConstruction::WorldSizeXY
private
G4double PurgMagDetectorConstruction::WorldSizeZ
private
G4double PurgMagDetectorConstruction::zOffset
private

Definition at line 120 of file PurgMagDetectorConstruction.hh.

Referenced by ConstructCalorimeter(), and ConstructSDandField().


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