ACTARSim
ACTAR TPC Simulation Reference Guide
|
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... | |
ActarSimGasDetectorMessenger * | gasMessenger |
Pointer to the Messenger. More... | |
ActarSimDetectorConstruction * | detConstruction |
Pointer to the global detector construction. More... | |
#include <ActarSimGasDetectorConstruction.hh>
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.
G4VPhysicalVolume * ActarSimGasDetectorConstruction::Construct | ( | G4LogicalVolume * | chamberLog | ) |
Wrap for the construction functions within the TOF.
Definition at line 85 of file ActarSimGasDetectorConstruction.cc.
Referenced by ActarSimDetectorConstruction::ConstructActarTPC(), ActarSimDetectorConstruction::ConstructActarTPCDEMO(), ActarSimDetectorConstruction::ConstructMAIKO(), ActarSimDetectorConstruction::ConstructOthers(), and UpdateGeometry().
|
private |
Constructs the Gas volume detector elements.
Definition at line 91 of file ActarSimGasDetectorConstruction.cc.
Referenced by Construct().
|
inline |
Definition at line 101 of file ActarSimGasDetectorConstruction.hh.
|
inline |
Definition at line 100 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimPrimaryGeneratorAction::GeneratePrimaries().
|
inline |
Definition at line 107 of file ActarSimGasDetectorConstruction.hh.
Referenced by ConstructGas().
|
inline |
Definition at line 108 of file ActarSimGasDetectorConstruction.hh.
Referenced by ConstructGas().
|
inline |
Definition at line 109 of file ActarSimGasDetectorConstruction.hh.
Referenced by ConstructGas(), ActarSimPlaDetectorConstruction::ConstructPla(), ActarSimSciRingDetectorConstruction::ConstructSci(), ActarSimSciDetectorConstruction::ConstructSci(), and ActarSimSilRingDetectorConstruction::ConstructSil().
|
inline |
Definition at line 103 of file ActarSimGasDetectorConstruction.hh.
Referenced by ConstructGas(), and ActarSimSilDetectorConstruction::ConstructSil().
|
inline |
Definition at line 104 of file ActarSimGasDetectorConstruction.hh.
Referenced by ConstructGas().
|
inline |
Definition at line 105 of file ActarSimGasDetectorConstruction.hh.
Referenced by ConstructGas(), ActarSimSilDetectorConstruction::ConstructSil(), and ActarSimPrimaryGeneratorAction::GeneratePrimaries().
|
inline |
Definition at line 96 of file ActarSimGasDetectorConstruction.hh.
|
inline |
Definition at line 97 of file ActarSimGasDetectorConstruction.hh.
Referenced by SetGasMaterial().
|
inline |
Definition at line 98 of file ActarSimGasDetectorConstruction.hh.
Referenced by SetGasMaterial().
|
inline |
Definition at line 113 of file ActarSimGasDetectorConstruction.hh.
|
inline |
Definition at line 115 of file ActarSimGasDetectorConstruction.hh.
|
inline |
Definition at line 112 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimPrimaryGeneratorAction::GeneratePrimaries().
|
inline |
Definition at line 114 of file ActarSimGasDetectorConstruction.hh.
|
inline |
Definition at line 111 of file ActarSimGasDetectorConstruction.hh.
void ActarSimGasDetectorConstruction::PrintDetectorParameters | ( | ) |
Prints Gas volume detector parameters.
Definition at line 458 of file ActarSimGasDetectorConstruction.cc.
Referenced by GetLengthBeamShieldTub(), ActarSimDetectorConstruction::PrintDetectorParameters(), and ActarSimGasDetectorMessenger::SetNewValue().
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().
|
inline |
Definition at line 86 of file ActarSimGasDetectorConstruction.hh.
|
inline |
Definition at line 87 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorMessenger::SetNewValue().
|
inline |
Definition at line 88 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorMessenger::SetNewValue().
|
inline |
Definition at line 82 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorMessenger::SetNewValue().
|
inline |
Definition at line 83 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorMessenger::SetNewValue().
|
inline |
Definition at line 84 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorMessenger::SetNewValue().
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().
|
inline |
Definition at line 70 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorMessenger::GasMixtureCommand().
|
inline |
Definition at line 69 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorMessenger::SetNewValue().
|
inline |
Definition at line 75 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorConstruction(), and ActarSimGasDetectorMessenger::SetNewValue().
|
inline |
Definition at line 76 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorConstruction(), and ActarSimGasDetectorMessenger::SetNewValue().
|
inline |
Definition at line 92 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorMessenger::SetNewValue().
|
inline |
Definition at line 94 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorMessenger::SetNewValue().
|
inline |
Definition at line 91 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorMessenger::SetNewValue().
|
inline |
Definition at line 93 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorMessenger::SetNewValue().
|
inline |
Definition at line 90 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorMessenger::SetNewValue().
void ActarSimGasDetectorConstruction::UpdateGeometry | ( | ) |
Updates Gas detector.
Definition at line 447 of file ActarSimGasDetectorConstruction.cc.
Referenced by GetLengthBeamShieldTub().
|
private |
Type of the detector geometry (tube)
Definition at line 53 of file ActarSimGasDetectorConstruction.hh.
Referenced by ConstructGas(), GetBeamShieldGeometry(), PrintDetectorParameters(), and SetBeamShieldGeometry().
|
private |
Pointer to the beam shield material.
Definition at line 25 of file ActarSimGasDetectorConstruction.hh.
Referenced by ConstructGas(), PrintDetectorParameters(), and SetBeamShieldMaterial().
|
private |
Pointer to the global detector construction.
Definition at line 57 of file ActarSimGasDetectorConstruction.hh.
Referenced by ConstructGas(), SetGasMaterial(), and UpdateGeometry().
|
private |
Type of the detector geometry (box or tube)
Definition at line 52 of file ActarSimGasDetectorConstruction.hh.
Referenced by ConstructGas(), GetDetectorGeometry(), PrintDetectorParameters(), and SetDetectorGeometry().
|
private |
Gas Box X center.
Definition at line 38 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), and GetGasBoxCenterX().
|
private |
Gas Box Y center.
Definition at line 39 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), and GetGasBoxCenterY().
|
private |
Gas Box Z center.
Definition at line 40 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), and GetGasBoxCenterZ().
|
private |
Gas Box X half-lengths.
Definition at line 34 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), GetGasBoxSizeX(), and PrintDetectorParameters().
|
private |
Gas Box Y half-lengths.
Definition at line 35 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), GetGasBoxSizeY(), and PrintDetectorParameters().
|
private |
Gas Box Z half-lengths.
Definition at line 36 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), GetGasBoxSizeZ(), and PrintDetectorParameters().
|
private |
Pointer to the gas material.
Definition at line 24 of file ActarSimGasDetectorConstruction.hh.
Referenced by ConstructGas(), GetGasMaterial(), PrintDetectorParameters(), and SetGasMaterial().
|
private |
Pointer to the Messenger.
Definition at line 55 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorConstruction(), and ~ActarSimGasDetectorConstruction().
|
private |
List of gas materials.
Definition at line 28 of file ActarSimGasDetectorConstruction.hh.
Referenced by SetGasMaterial().
|
private |
List of gas ratios in the mix.
Definition at line 29 of file ActarSimGasDetectorConstruction.hh.
Referenced by SetGasMaterial().
|
private |
Gas pressure.
Definition at line 31 of file ActarSimGasDetectorConstruction.hh.
Referenced by GetGasPressure().
|
private |
Gas temperature.
Definition at line 32 of file ActarSimGasDetectorConstruction.hh.
Referenced by GetGasTemperature().
|
private |
Inner radius of the beam shielding tube.
Definition at line 48 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), GetInnerRadiusBeamShieldTub(), and PrintDetectorParameters().
|
private |
Length of the beam shielding tube.
Definition at line 50 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), GetLengthBeamShieldTub(), and PrintDetectorParameters().
|
private |
Length of the Gas Tube.
Definition at line 43 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), GetLengthGasTub(), and PrintDetectorParameters().
|
private |
Number of gases in the gas mix (maximum 10)
Definition at line 27 of file ActarSimGasDetectorConstruction.hh.
Referenced by SetGasMaterial().
|
private |
Outer radius of the beam shielding tube.
Definition at line 49 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), GetOuterRadiusBeamShieldTub(), and PrintDetectorParameters().
|
private |
Radius of the Gas Tube.
Definition at line 42 of file ActarSimGasDetectorConstruction.hh.
Referenced by ActarSimGasDetectorConstruction(), ConstructGas(), GetRadiusGasTub(), and PrintDetectorParameters().