Geant4 VMC Version 6.6
|
The radiator description. More...
#include <TG4RadiatorDescription.h>
Public Types | |
using | Component = std::tuple<G4String, G4double, G4double> |
Public Member Functions | |
TG4RadiatorDescription (const G4String &volumeName="") | |
~TG4RadiatorDescription () | |
void | PrintParameters () const |
void | SetVolumeName (const G4String &name) |
Set the name of associated volume. | |
void | SetXtrModel (const G4String &name) |
Set the transition radiation process model. | |
void | SetFoilNumber (G4int foilNumber) |
Set the number of foils. | |
void | SetLayer (const G4String &materialName, G4double thickness, G4double fluctuation) |
void | SetStrawTube (const G4String &materialName, G4double wallThickness, G4double gasThickness) |
G4String | GetVolumeName () const |
Return the name of associated volume. | |
G4String | GetXtrModel () const |
Return the transition radiation process model. | |
G4int | GetFoilNumber () const |
Return the number of foils. | |
Component | GetLayer (G4int i) const |
Component | GetStrawTube () const |
Return the straw tube parameters. | |
Private Attributes | |
G4String | fVolumeName |
The name of associated volume. | |
G4String | fXtrModel |
The transition radiation process model. | |
G4int | fFoilNumber |
The number of foils. | |
std::vector< Component > | fLayers |
The layer parameters. | |
Component | fStrawTube |
The straw tube parameters. | |
The radiator description.
The class defines the radiator parameters which are used by transition radiation processes.
Definition at line 31 of file TG4RadiatorDescription.h.
using TG4RadiatorDescription::Component = std::tuple<G4String, G4double, G4double> |
Definition at line 34 of file TG4RadiatorDescription.h.
TG4RadiatorDescription::TG4RadiatorDescription | ( | const G4String & | volumeName = "" | ) |
Default constructor
Definition at line 19 of file TG4RadiatorDescription.cxx.
TG4RadiatorDescription::~TG4RadiatorDescription | ( | ) |
Destructor
Definition at line 30 of file TG4RadiatorDescription.cxx.
void TG4RadiatorDescription::PrintParameters | ( | ) | const |
|
inline |
Set the name of associated volume.
Definition at line 79 of file TG4RadiatorDescription.h.
|
inline |
Set the transition radiation process model.
Definition at line 85 of file TG4RadiatorDescription.h.
Referenced by TG4DetConstructionMessenger::SetNewValue().
|
inline |
Set the number of foils.
Definition at line 91 of file TG4RadiatorDescription.h.
Referenced by TG4DetConstructionMessenger::SetNewValue().
void TG4RadiatorDescription::SetLayer | ( | const G4String & | materialName, |
G4double | thickness, | ||
G4double | fluctuation ) |
Definition at line 36 of file TG4RadiatorDescription.cxx.
Referenced by TG4DetConstructionMessenger::SetNewValue().
void TG4RadiatorDescription::SetStrawTube | ( | const G4String & | materialName, |
G4double | wallThickness, | ||
G4double | gasThickness ) |
Definition at line 43 of file TG4RadiatorDescription.cxx.
Referenced by TG4DetConstructionMessenger::SetNewValue().
|
inline |
Return the name of associated volume.
Definition at line 97 of file TG4RadiatorDescription.h.
Referenced by TG4TransitionRadiationPhysics::CreateXTRProcess().
|
inline |
Return the transition radiation process model.
Definition at line 103 of file TG4RadiatorDescription.h.
Referenced by TG4TransitionRadiationPhysics::CreateXTRProcess().
|
inline |
Return the number of foils.
Definition at line 109 of file TG4RadiatorDescription.h.
Referenced by TG4TransitionRadiationPhysics::CreateXTRProcess().
TG4RadiatorDescription::Component TG4RadiatorDescription::GetLayer | ( | G4int | i | ) | const |
Definition at line 50 of file TG4RadiatorDescription.cxx.
Referenced by TG4TransitionRadiationPhysics::CreateXTRProcess().
|
inline |
Return the straw tube parameters.
Definition at line 116 of file TG4RadiatorDescription.h.
Referenced by TG4TransitionRadiationPhysics::CreateXTRProcess().
|
private |
The name of associated volume.
Definition at line 61 of file TG4RadiatorDescription.h.
Referenced by GetVolumeName(), and SetVolumeName().
|
private |
The transition radiation process model.
Definition at line 64 of file TG4RadiatorDescription.h.
Referenced by GetXtrModel(), and SetXtrModel().
|
private |
The number of foils.
Definition at line 67 of file TG4RadiatorDescription.h.
Referenced by GetFoilNumber(), and SetFoilNumber().
|
private |
The layer parameters.
Definition at line 70 of file TG4RadiatorDescription.h.
Referenced by GetLayer(), and SetLayer().
|
private |
The straw tube parameters.
Definition at line 73 of file TG4RadiatorDescription.h.
Referenced by GetStrawTube(), and SetStrawTube().