Geant4  10.01.p03
ExN03DetectorConstruction Class Reference

#include <ExN03DetectorConstruction.hh>

+ Inheritance diagram for ExN03DetectorConstruction:
+ Collaboration diagram for ExN03DetectorConstruction:

Public Member Functions

 ExN03DetectorConstruction ()
 
 ~ExN03DetectorConstruction ()
 
void SetAbsorberMaterial (G4String)
 
void SetAbsorberThickness (G4double)
 
void SetGapMaterial (G4String)
 
void SetGapThickness (G4double)
 
void SetCalorSizeYZ (G4double)
 
void SetNbOfLayers (G4int)
 
void SetMagField (G4double)
 
G4VPhysicalVolumeConstruct ()
 
void UpdateGeometry ()
 
void PrintCalorParameters ()
 
G4double GetWorldSizeX ()
 
G4double GetWorldSizeYZ ()
 
G4double GetCalorThickness ()
 
G4double GetCalorSizeYZ ()
 
G4int GetNbOfLayers ()
 
G4MaterialGetAbsorberMaterial ()
 
G4double GetAbsorberThickness ()
 
G4MaterialGetGapMaterial ()
 
G4double GetGapThickness ()
 
const G4VPhysicalVolumeGetphysiWorld ()
 
const G4VPhysicalVolumeGetAbsorber ()
 
const G4VPhysicalVolumeGetGap ()
 
- 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 Member Functions

void DefineMaterials ()
 
void ComputeCalorParameters ()
 
G4VPhysicalVolumeConstructCalorimeter ()
 

Private Attributes

G4MaterialAbsorberMaterial
 
G4double AbsorberThickness
 
G4MaterialGapMaterial
 
G4double GapThickness
 
G4int NbOfLayers
 
G4double LayerThickness
 
G4double CalorSizeYZ
 
G4double CalorThickness
 
G4MaterialdefaultMaterial
 
G4double WorldSizeYZ
 
G4double WorldSizeX
 
G4BoxsolidWorld
 
G4LogicalVolumelogicWorld
 
G4VPhysicalVolumephysiWorld
 
G4BoxsolidCalor
 
G4LogicalVolumelogicCalor
 
G4VPhysicalVolumephysiCalor
 
G4BoxsolidLayer
 
G4LogicalVolumelogicLayer
 
G4VPhysicalVolumephysiLayer
 
G4BoxsolidAbsorber
 
G4LogicalVolumelogicAbsorber
 
G4VPhysicalVolumephysiAbsorber
 
G4BoxsolidGap
 
G4LogicalVolumelogicGap
 
G4VPhysicalVolumephysiGap
 
G4UniformMagFieldmagField
 
ExN03DetectorMessengerdetectorMessenger
 

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 49 of file ExN03DetectorConstruction.hh.

Constructor & Destructor Documentation

ExN03DetectorConstruction::ExN03DetectorConstruction ( )

Definition at line 56 of file ExN03DetectorConstruction.cc.

References AbsorberThickness, CalorSizeYZ, cm, ComputeCalorParameters(), DefineMaterials(), detectorMessenger, GapThickness, mm, NbOfLayers, SetAbsorberMaterial(), and SetGapMaterial().

+ Here is the call graph for this function:

ExN03DetectorConstruction::~ExN03DetectorConstruction ( )

Definition at line 83 of file ExN03DetectorConstruction.cc.

References detectorMessenger.

Member Function Documentation

void ExN03DetectorConstruction::ComputeCalorParameters ( )
inlineprivate

Definition at line 146 of file ExN03DetectorConstruction.hh.

References AbsorberThickness, CalorSizeYZ, CalorThickness, GapThickness, LayerThickness, NbOfLayers, WorldSizeX, and WorldSizeYZ.

Referenced by ConstructCalorimeter(), and ExN03DetectorConstruction().

+ Here is the caller graph for this function:

G4VPhysicalVolume * ExN03DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 88 of file ExN03DetectorConstruction.cc.

References ConstructCalorimeter().

+ Here is the call graph for this function:

void ExN03DetectorConstruction::DefineMaterials ( )
private

Definition at line 95 of file ExN03DetectorConstruction.cc.

References a, G4Material::AddElement(), G4Element::AddIsotope(), G4Material::AddMaterial(), Air, atmosphere, bar, cm3, CO2, defaultMaterial, density, eV, g, G4cout, G4endl, G4Material::GetIonisation(), G4Material::GetMaterialTable(), iz, kelvin, kStateGas, mg, mole, n, pascal, perCent, G4IonisParamMat::SetMeanExcitationEnergy(), Si, symbol, and z.

Referenced by ExN03DetectorConstruction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4VPhysicalVolume* ExN03DetectorConstruction::GetAbsorber ( )
inline

Definition at line 92 of file ExN03DetectorConstruction.hh.

References physiAbsorber.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

G4Material* ExN03DetectorConstruction::GetAbsorberMaterial ( )
inline

Definition at line 85 of file ExN03DetectorConstruction.hh.

References AbsorberMaterial.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

G4double ExN03DetectorConstruction::GetAbsorberThickness ( )
inline

Definition at line 86 of file ExN03DetectorConstruction.hh.

References AbsorberThickness.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

G4double ExN03DetectorConstruction::GetCalorSizeYZ ( )
inline

Definition at line 81 of file ExN03DetectorConstruction.hh.

References CalorSizeYZ.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

G4double ExN03DetectorConstruction::GetCalorThickness ( )
inline

Definition at line 80 of file ExN03DetectorConstruction.hh.

References CalorThickness.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

const G4VPhysicalVolume* ExN03DetectorConstruction::GetGap ( )
inline

Definition at line 93 of file ExN03DetectorConstruction.hh.

References physiGap.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

G4Material* ExN03DetectorConstruction::GetGapMaterial ( )
inline

Definition at line 88 of file ExN03DetectorConstruction.hh.

References GapMaterial.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

G4double ExN03DetectorConstruction::GetGapThickness ( )
inline

Definition at line 89 of file ExN03DetectorConstruction.hh.

References GapThickness.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

G4int ExN03DetectorConstruction::GetNbOfLayers ( )
inline

Definition at line 83 of file ExN03DetectorConstruction.hh.

References NbOfLayers.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

const G4VPhysicalVolume* ExN03DetectorConstruction::GetphysiWorld ( )
inline

Definition at line 91 of file ExN03DetectorConstruction.hh.

References physiWorld.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

G4double ExN03DetectorConstruction::GetWorldSizeX ( )
inline

Definition at line 77 of file ExN03DetectorConstruction.hh.

References WorldSizeX.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

G4double ExN03DetectorConstruction::GetWorldSizeYZ ( )
inline

Definition at line 78 of file ExN03DetectorConstruction.hh.

References WorldSizeYZ.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

void ExN03DetectorConstruction::PrintCalorParameters ( )

Definition at line 383 of file ExN03DetectorConstruction.cc.

References AbsorberMaterial, AbsorberThickness, G4cout, GapMaterial, GapThickness, G4Material::GetName(), mm, and NbOfLayers.

Referenced by BOOST_PYTHON_MODULE(), and ConstructCalorimeter().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ExN03DetectorConstruction::SetAbsorberMaterial ( G4String  materialChoice)

Definition at line 395 of file ExN03DetectorConstruction.cc.

References AbsorberMaterial, and G4Material::GetMaterial().

Referenced by BOOST_PYTHON_MODULE(), ExN03DetectorConstruction(), and ExN03DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ExN03DetectorConstruction::SetAbsorberThickness ( G4double  val)

Definition at line 413 of file ExN03DetectorConstruction.cc.

References AbsorberThickness.

Referenced by BOOST_PYTHON_MODULE(), and ExN03DetectorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void ExN03DetectorConstruction::SetCalorSizeYZ ( G4double  val)

Definition at line 429 of file ExN03DetectorConstruction.cc.

References CalorSizeYZ.

Referenced by BOOST_PYTHON_MODULE(), and ExN03DetectorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void ExN03DetectorConstruction::SetGapMaterial ( G4String  materialChoice)

Definition at line 404 of file ExN03DetectorConstruction.cc.

References GapMaterial, and G4Material::GetMaterial().

Referenced by BOOST_PYTHON_MODULE(), ExN03DetectorConstruction(), and ExN03DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ExN03DetectorConstruction::SetGapThickness ( G4double  val)

Definition at line 421 of file ExN03DetectorConstruction.cc.

References GapThickness.

Referenced by BOOST_PYTHON_MODULE(), and ExN03DetectorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void ExN03DetectorConstruction::SetMagField ( G4double  fieldValue)

Definition at line 447 of file ExN03DetectorConstruction.cc.

References G4FieldManager::CreateChordFinder(), G4TransportationManager::GetFieldManager(), G4TransportationManager::GetTransportationManager(), magField, and G4FieldManager::SetDetectorField().

Referenced by BOOST_PYTHON_MODULE(), and ExN03DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ExN03DetectorConstruction::SetNbOfLayers ( G4int  val)

Definition at line 437 of file ExN03DetectorConstruction.cc.

References NbOfLayers.

Referenced by BOOST_PYTHON_MODULE(), and ExN03DetectorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void ExN03DetectorConstruction::UpdateGeometry ( )

Definition at line 469 of file ExN03DetectorConstruction.cc.

References ConstructCalorimeter(), G4RunManager::DefineWorldVolume(), and G4RunManager::GetRunManager().

Referenced by BOOST_PYTHON_MODULE(), and ExN03DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4Material* ExN03DetectorConstruction::AbsorberMaterial
private
G4double ExN03DetectorConstruction::CalorSizeYZ
private
G4double ExN03DetectorConstruction::CalorThickness
private
G4Material* ExN03DetectorConstruction::defaultMaterial
private

Definition at line 109 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter(), and DefineMaterials().

ExN03DetectorMessenger* ExN03DetectorConstruction::detectorMessenger
private
G4Material* ExN03DetectorConstruction::GapMaterial
private
G4double ExN03DetectorConstruction::LayerThickness
private

Definition at line 104 of file ExN03DetectorConstruction.hh.

Referenced by ComputeCalorParameters(), and ConstructCalorimeter().

G4LogicalVolume* ExN03DetectorConstruction::logicAbsorber
private

Definition at line 126 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4LogicalVolume* ExN03DetectorConstruction::logicCalor
private

Definition at line 118 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4LogicalVolume* ExN03DetectorConstruction::logicGap
private

Definition at line 130 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4LogicalVolume* ExN03DetectorConstruction::logicLayer
private

Definition at line 122 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4LogicalVolume* ExN03DetectorConstruction::logicWorld
private

Definition at line 114 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4UniformMagField* ExN03DetectorConstruction::magField
private

Definition at line 133 of file ExN03DetectorConstruction.hh.

Referenced by SetMagField().

G4int ExN03DetectorConstruction::NbOfLayers
private
G4VPhysicalVolume* ExN03DetectorConstruction::physiAbsorber
private

Definition at line 127 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter(), and GetAbsorber().

G4VPhysicalVolume* ExN03DetectorConstruction::physiCalor
private

Definition at line 119 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4VPhysicalVolume* ExN03DetectorConstruction::physiGap
private

Definition at line 131 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter(), and GetGap().

G4VPhysicalVolume* ExN03DetectorConstruction::physiLayer
private

Definition at line 123 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4VPhysicalVolume* ExN03DetectorConstruction::physiWorld
private

Definition at line 115 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter(), and GetphysiWorld().

G4Box* ExN03DetectorConstruction::solidAbsorber
private

Definition at line 125 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4Box* ExN03DetectorConstruction::solidCalor
private

Definition at line 117 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4Box* ExN03DetectorConstruction::solidGap
private

Definition at line 129 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4Box* ExN03DetectorConstruction::solidLayer
private

Definition at line 121 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4Box* ExN03DetectorConstruction::solidWorld
private

Definition at line 113 of file ExN03DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4double ExN03DetectorConstruction::WorldSizeX
private
G4double ExN03DetectorConstruction::WorldSizeYZ
private

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