ACTARSim
ACTAR TPC Simulation Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ActarSimGasDetectorConstruction Class Reference

Gas volume detector description

Definition at line 22 of file ActarSimGasDetectorConstruction.hh.

Public Member Functions

 ActarSimGasDetectorConstruction (ActarSimDetectorConstruction *)
 
 ~ActarSimGasDetectorConstruction ()
 Destructor. More...
 
G4VPhysicalVolume * Construct (G4LogicalVolume *)
 Wrap for the construction functions within the TOF. More...
 
void SetGasMaterial (G4String)
 
void SetGasMixture (G4int val)
 
void SetGasMixMaterial (G4int GasNum, G4String GasMat, G4double GasRatio)
 
void SetGasPressure (G4double val)
 
void SetGasTemperature (G4double val)
 
void SetBeamShieldMaterial (G4String)
 Sets the material the medium is made of. More...
 
void SetDetectorGeometry (G4String)
 Sets the geometry of the detector (box or tube) More...
 
void SetBeamShieldGeometry (G4String)
 Sets the geometry of the detector (box or tube) More...
 
void SetGasBoxSizeX (G4double val)
 
void SetGasBoxSizeY (G4double val)
 
void SetGasBoxSizeZ (G4double val)
 
void SetGasBoxCenterX (G4double val)
 
void SetGasBoxCenterY (G4double val)
 
void SetGasBoxCenterZ (G4double val)
 
void SetRadiusGasTub (G4double val)
 
void SetLengthGasTub (G4double val)
 
void SetInnerRadiusBeamShieldTub (G4double val)
 
void SetOuterRadiusBeamShieldTub (G4double val)
 
void SetLengthBeamShieldTub (G4double val)
 
G4Material * GetGasMaterial ()
 
G4double GetGasPressure (void)
 
G4double GetGasTemperature (void)
 
G4String GetDetectorGeometry ()
 
G4String GetBeamShieldGeometry ()
 
G4double GetGasBoxSizeX (void)
 
G4double GetGasBoxSizeY (void)
 
G4double GetGasBoxSizeZ (void)
 
G4double GetGasBoxCenterX (void)
 
G4double GetGasBoxCenterY (void)
 
G4double GetGasBoxCenterZ (void)
 
G4double GetRadiusGasTub (void)
 
G4double GetLengthGasTub (void)
 
G4double GetInnerRadiusBeamShieldTub (void)
 
G4double GetOuterRadiusBeamShieldTub (void)
 
G4double GetLengthBeamShieldTub (void)
 
void UpdateGeometry ()
 Updates Gas detector. More...
 
void PrintDetectorParameters ()
 Prints Gas volume detector parameters. More...
 

Private Member Functions

G4VPhysicalVolume * ConstructGas (G4LogicalVolume *)
 Constructs the Gas volume detector elements. More...
 

Private Attributes

G4Material * gasMaterial
 Pointer to the gas material. More...
 
G4Material * beamShieldMaterial
 Pointer to the beam shield material. More...
 
G4int NumberOfGasMix
 Number of gases in the gas mix (maximum 10) More...
 
G4String gasMixMaterial [10]
 List of gas materials. More...
 
G4double gasMixRatio [10]
 List of gas ratios in the mix. More...
 
G4double gasPressure
 Gas pressure. More...
 
G4double gasTemperature
 Gas temperature. More...
 
G4double gasBoxSizeX
 Gas Box X half-lengths. More...
 
G4double gasBoxSizeY
 Gas Box Y half-lengths. More...
 
G4double gasBoxSizeZ
 Gas Box Z half-lengths. More...
 
G4double gasBoxCenterX
 Gas Box X center. More...
 
G4double gasBoxCenterY
 Gas Box Y center. More...
 
G4double gasBoxCenterZ
 Gas Box Z center. More...
 
G4double radiusGasTub
 Radius of the Gas Tube. More...
 
G4double lengthGasTub
 Length of the Gas Tube. More...
 
G4double innerRadiusBeamShieldTub
 Inner radius of the beam shielding tube. More...
 
G4double outerRadiusBeamShieldTub
 Outer radius of the beam shielding tube. More...
 
G4double lengthBeamShieldTub
 Length of the beam shielding tube. More...
 
G4String detectorGeometry
 Type of the detector geometry (box or tube) More...
 
G4String beamShieldGeometry
 Type of the detector geometry (tube) More...
 
ActarSimGasDetectorMessengergasMessenger
 Pointer to the Messenger. More...
 
ActarSimDetectorConstructiondetConstruction
 Pointer to the global detector construction. More...
 

#include <ActarSimGasDetectorConstruction.hh>

+ Collaboration diagram for ActarSimGasDetectorConstruction:

Constructor & Destructor Documentation

ActarSimGasDetectorConstruction::ActarSimGasDetectorConstruction ( ActarSimDetectorConstruction det)

Constructor Sets the material and the pointer to the Messenger

Definition at line 42 of file ActarSimGasDetectorConstruction.cc.

ActarSimGasDetectorConstruction::~ActarSimGasDetectorConstruction ( )

Destructor.

Definition at line 79 of file ActarSimGasDetectorConstruction.cc.

Member Function Documentation

G4VPhysicalVolume * ActarSimGasDetectorConstruction::Construct ( G4LogicalVolume *  chamberLog)
G4VPhysicalVolume * ActarSimGasDetectorConstruction::ConstructGas ( G4LogicalVolume *  chamberLog)
private

Constructs the Gas volume detector elements.

Definition at line 91 of file ActarSimGasDetectorConstruction.cc.

Referenced by Construct().

G4String ActarSimGasDetectorConstruction::GetBeamShieldGeometry ( )
inline

Definition at line 101 of file ActarSimGasDetectorConstruction.hh.

G4String ActarSimGasDetectorConstruction::GetDetectorGeometry ( )
inline
G4double ActarSimGasDetectorConstruction::GetGasBoxCenterX ( void  )
inline

Definition at line 107 of file ActarSimGasDetectorConstruction.hh.

Referenced by ConstructGas().

G4double ActarSimGasDetectorConstruction::GetGasBoxCenterY ( void  )
inline

Definition at line 108 of file ActarSimGasDetectorConstruction.hh.

Referenced by ConstructGas().

G4double ActarSimGasDetectorConstruction::GetGasBoxCenterZ ( void  )
inline
G4double ActarSimGasDetectorConstruction::GetGasBoxSizeX ( void  )
inline
G4double ActarSimGasDetectorConstruction::GetGasBoxSizeY ( void  )
inline

Definition at line 104 of file ActarSimGasDetectorConstruction.hh.

Referenced by ConstructGas().

G4double ActarSimGasDetectorConstruction::GetGasBoxSizeZ ( void  )
inline
G4Material* ActarSimGasDetectorConstruction::GetGasMaterial ( )
inline

Definition at line 96 of file ActarSimGasDetectorConstruction.hh.

G4double ActarSimGasDetectorConstruction::GetGasPressure ( void  )
inline

Definition at line 97 of file ActarSimGasDetectorConstruction.hh.

Referenced by SetGasMaterial().

G4double ActarSimGasDetectorConstruction::GetGasTemperature ( void  )
inline

Definition at line 98 of file ActarSimGasDetectorConstruction.hh.

Referenced by SetGasMaterial().

G4double ActarSimGasDetectorConstruction::GetInnerRadiusBeamShieldTub ( void  )
inline

Definition at line 113 of file ActarSimGasDetectorConstruction.hh.

G4double ActarSimGasDetectorConstruction::GetLengthBeamShieldTub ( void  )
inline

Definition at line 115 of file ActarSimGasDetectorConstruction.hh.

G4double ActarSimGasDetectorConstruction::GetLengthGasTub ( void  )
inline
G4double ActarSimGasDetectorConstruction::GetOuterRadiusBeamShieldTub ( void  )
inline

Definition at line 114 of file ActarSimGasDetectorConstruction.hh.

G4double ActarSimGasDetectorConstruction::GetRadiusGasTub ( void  )
inline

Definition at line 111 of file ActarSimGasDetectorConstruction.hh.

void ActarSimGasDetectorConstruction::PrintDetectorParameters ( )
void ActarSimGasDetectorConstruction::SetBeamShieldGeometry ( G4String  type)

Sets the geometry of the detector (box or tube)

Definition at line 441 of file ActarSimGasDetectorConstruction.cc.

Referenced by SetGasTemperature(), and ActarSimGasDetectorMessenger::SetNewValue().

void ActarSimGasDetectorConstruction::SetBeamShieldMaterial ( G4String  mat)

Sets the material the medium is made of.

Definition at line 428 of file ActarSimGasDetectorConstruction.cc.

Referenced by ActarSimGasDetectorConstruction(), SetGasTemperature(), and ActarSimGasDetectorMessenger::SetNewValue().

void ActarSimGasDetectorConstruction::SetDetectorGeometry ( G4String  type)

Sets the geometry of the detector (box or tube)

Definition at line 435 of file ActarSimGasDetectorConstruction.cc.

Referenced by ActarSimGasDetectorConstruction(), SetGasTemperature(), and ActarSimGasDetectorMessenger::SetNewValue().

void ActarSimGasDetectorConstruction::SetGasBoxCenterX ( G4double  val)
inline

Definition at line 86 of file ActarSimGasDetectorConstruction.hh.

void ActarSimGasDetectorConstruction::SetGasBoxCenterY ( G4double  val)
inline
void ActarSimGasDetectorConstruction::SetGasBoxCenterZ ( G4double  val)
inline
void ActarSimGasDetectorConstruction::SetGasBoxSizeX ( G4double  val)
inline
void ActarSimGasDetectorConstruction::SetGasBoxSizeY ( G4double  val)
inline
void ActarSimGasDetectorConstruction::SetGasBoxSizeZ ( G4double  val)
inline
void ActarSimGasDetectorConstruction::SetGasMaterial ( G4String  mat)

Sets the material the gas is made of

STP used are P = 1atm and T = 20ÂșC

Definition at line 254 of file ActarSimGasDetectorConstruction.cc.

Referenced by ActarSimGasDetectorConstruction(), and ActarSimGasDetectorMessenger::SetNewValue().

void ActarSimGasDetectorConstruction::SetGasMixMaterial ( G4int  GasNum,
G4String  GasMat,
G4double  GasRatio 
)
inline
void ActarSimGasDetectorConstruction::SetGasMixture ( G4int  val)
inline
void ActarSimGasDetectorConstruction::SetGasPressure ( G4double  val)
inline
void ActarSimGasDetectorConstruction::SetGasTemperature ( G4double  val)
inline
void ActarSimGasDetectorConstruction::SetInnerRadiusBeamShieldTub ( G4double  val)
inline
void ActarSimGasDetectorConstruction::SetLengthBeamShieldTub ( G4double  val)
inline
void ActarSimGasDetectorConstruction::SetLengthGasTub ( G4double  val)
inline
void ActarSimGasDetectorConstruction::SetOuterRadiusBeamShieldTub ( G4double  val)
inline
void ActarSimGasDetectorConstruction::SetRadiusGasTub ( G4double  val)
inline
void ActarSimGasDetectorConstruction::UpdateGeometry ( )

Updates Gas detector.

Definition at line 447 of file ActarSimGasDetectorConstruction.cc.

Referenced by GetLengthBeamShieldTub().

Member Data Documentation

G4String ActarSimGasDetectorConstruction::beamShieldGeometry
private

Type of the detector geometry (tube)

Definition at line 53 of file ActarSimGasDetectorConstruction.hh.

Referenced by ConstructGas(), GetBeamShieldGeometry(), PrintDetectorParameters(), and SetBeamShieldGeometry().

G4Material* ActarSimGasDetectorConstruction::beamShieldMaterial
private

Pointer to the beam shield material.

Definition at line 25 of file ActarSimGasDetectorConstruction.hh.

Referenced by ConstructGas(), PrintDetectorParameters(), and SetBeamShieldMaterial().

ActarSimDetectorConstruction* ActarSimGasDetectorConstruction::detConstruction
private

Pointer to the global detector construction.

Definition at line 57 of file ActarSimGasDetectorConstruction.hh.

Referenced by ConstructGas(), SetGasMaterial(), and UpdateGeometry().

G4String ActarSimGasDetectorConstruction::detectorGeometry
private

Type of the detector geometry (box or tube)

Definition at line 52 of file ActarSimGasDetectorConstruction.hh.

Referenced by ConstructGas(), GetDetectorGeometry(), PrintDetectorParameters(), and SetDetectorGeometry().

G4double ActarSimGasDetectorConstruction::gasBoxCenterX
private

Gas Box X center.

Definition at line 38 of file ActarSimGasDetectorConstruction.hh.

Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), and GetGasBoxCenterX().

G4double ActarSimGasDetectorConstruction::gasBoxCenterY
private

Gas Box Y center.

Definition at line 39 of file ActarSimGasDetectorConstruction.hh.

Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), and GetGasBoxCenterY().

G4double ActarSimGasDetectorConstruction::gasBoxCenterZ
private

Gas Box Z center.

Definition at line 40 of file ActarSimGasDetectorConstruction.hh.

Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), and GetGasBoxCenterZ().

G4double ActarSimGasDetectorConstruction::gasBoxSizeX
private
G4double ActarSimGasDetectorConstruction::gasBoxSizeY
private
G4double ActarSimGasDetectorConstruction::gasBoxSizeZ
private
G4Material* ActarSimGasDetectorConstruction::gasMaterial
private

Pointer to the gas material.

Definition at line 24 of file ActarSimGasDetectorConstruction.hh.

Referenced by ConstructGas(), GetGasMaterial(), PrintDetectorParameters(), and SetGasMaterial().

ActarSimGasDetectorMessenger* ActarSimGasDetectorConstruction::gasMessenger
private

Pointer to the Messenger.

Definition at line 55 of file ActarSimGasDetectorConstruction.hh.

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

G4String ActarSimGasDetectorConstruction::gasMixMaterial[10]
private

List of gas materials.

Definition at line 28 of file ActarSimGasDetectorConstruction.hh.

Referenced by SetGasMaterial().

G4double ActarSimGasDetectorConstruction::gasMixRatio[10]
private

List of gas ratios in the mix.

Definition at line 29 of file ActarSimGasDetectorConstruction.hh.

Referenced by SetGasMaterial().

G4double ActarSimGasDetectorConstruction::gasPressure
private

Gas pressure.

Definition at line 31 of file ActarSimGasDetectorConstruction.hh.

Referenced by GetGasPressure().

G4double ActarSimGasDetectorConstruction::gasTemperature
private

Gas temperature.

Definition at line 32 of file ActarSimGasDetectorConstruction.hh.

Referenced by GetGasTemperature().

G4double ActarSimGasDetectorConstruction::innerRadiusBeamShieldTub
private

Inner radius of the beam shielding tube.

Definition at line 48 of file ActarSimGasDetectorConstruction.hh.

Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), GetInnerRadiusBeamShieldTub(), and PrintDetectorParameters().

G4double ActarSimGasDetectorConstruction::lengthBeamShieldTub
private

Length of the beam shielding tube.

Definition at line 50 of file ActarSimGasDetectorConstruction.hh.

Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), GetLengthBeamShieldTub(), and PrintDetectorParameters().

G4double ActarSimGasDetectorConstruction::lengthGasTub
private
G4int ActarSimGasDetectorConstruction::NumberOfGasMix
private

Number of gases in the gas mix (maximum 10)

Definition at line 27 of file ActarSimGasDetectorConstruction.hh.

Referenced by SetGasMaterial().

G4double ActarSimGasDetectorConstruction::outerRadiusBeamShieldTub
private

Outer radius of the beam shielding tube.

Definition at line 49 of file ActarSimGasDetectorConstruction.hh.

Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), GetOuterRadiusBeamShieldTub(), and PrintDetectorParameters().

G4double ActarSimGasDetectorConstruction::radiusGasTub
private

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