|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRT_PAI_gasComponent_h
6 #define TRT_PAI_gasComponent_h
int getNElementTypes()
Get number of different elements in this gas component (molecule)
void addElement(TRT_PAI_element *pe, unsigned int n)
Add element to gas component.
std::vector< TRT_PAI_element * > m_pelements
std::vector< unsigned int > m_elementMultiplicity
TRT_PAI_gasComponent()
Constructor of unnamed component.
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)
const std::string & getName()
Get name of gas component (molecule)
TRT_PAI_gasComponent(const std::string &nm)
Constructor of gas component.
double getDensity(double tempK=293.)
Get density of gas component (molecule) at atmospheric preassure.