![]() |
ATLAS Offline Software
|
Gas component (molecule). More...
#include <TRT_PAI_gasComponent.h>
Public Member Functions | |
| TRT_PAI_gasComponent () | |
| Constructor of unnamed component. | |
| TRT_PAI_gasComponent (const std::string &nm) | |
| Constructor of gas component. | |
| void | addElement (TRT_PAI_element *pe, unsigned int n) |
| Add element to gas component. | |
| const std::string & | getName () |
| Get name of gas component (molecule). | |
| int | getNElementTypes () |
| Get number of different elements in this gas component (molecule). | |
| unsigned int | getElementMultiplicity (unsigned int n) |
| Get multiplicity of this element in gas component (molecule). | |
| TRT_PAI_element * | getElement (unsigned int n) |
| Get pointer to this element in gas component (molecule). | |
| double | getDensity (double tempK=293.) |
| Get density of gas component (molecule) at atmospheric preassure. | |
Private Attributes | |
| std::string | m_name |
| std::vector< TRT_PAI_element * > | m_pelements |
| std::vector< unsigned int > | m_elementMultiplicity |
Gas component (molecule).
Definition at line 16 of file TRT_PAI_gasComponent.h.
|
inline |
|
inline |
Constructor of gas component.
| nm | component name |
Definition at line 28 of file TRT_PAI_gasComponent.h.
| void TRT_PAI_gasComponent::addElement | ( | TRT_PAI_element * | pe, |
| unsigned int | n ) |
Add element to gas component.
| pe | pointer to element class |
| n | multiplicity of this element in molecule |
Definition at line 10 of file TRT_PAI_gasComponent.cxx.
| double TRT_PAI_gasComponent::getDensity | ( | double | tempK = 293. | ) |
Get density of gas component (molecule) at atmospheric preassure.
| tempK | Temperature in Kelvin |
Definition at line 19 of file TRT_PAI_gasComponent.cxx.
|
inline |
Get pointer to this element in gas component (molecule).
| n | element number |
Definition at line 59 of file TRT_PAI_gasComponent.h.
|
inline |
Get multiplicity of this element in gas component (molecule).
| n | element number |
Definition at line 51 of file TRT_PAI_gasComponent.h.
|
inline |
|
inline |
Get number of different elements in this gas component (molecule).
Definition at line 45 of file TRT_PAI_gasComponent.h.
|
private |
Definition at line 69 of file TRT_PAI_gasComponent.h.
|
private |
Definition at line 67 of file TRT_PAI_gasComponent.h.
|
private |
Definition at line 68 of file TRT_PAI_gasComponent.h.