ATLAS Offline Software
TRT_PAI_element.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRT_PAI_element_h
6 #define TRT_PAI_element_h
7 
8 #include <string>
9 #include <vector>
10 
15 public:
19  TRT_PAI_element() : m_name("unnamed"), m_atomicA(0), m_atomicZ(0) {};
20 
30  TRT_PAI_element(const std::string & nm,
31  const float *E,
32  const float *S,
33  int N,
34  double Z,
35  double A);
36 
40  const std::string& getName() { return m_name; };
41 
45  double getAtomicA() { return m_atomicA; };
46 
50  double getAtomicZ() { return m_atomicZ; };
51 
56  double getDensity(double tempK=293.);
57 
61  const std::vector<float>& getLnELvls() { return m_lnEnergyLvls; };
62 
66  const std::vector<float>& getLnSigmas() { return m_lnCrossScts; };
67 
68 private:
69  std::string m_name;
70  std::vector<float> m_lnEnergyLvls;
71  std::vector<float> m_lnCrossScts;
72  double m_atomicA;
73  double m_atomicZ;
74 };
75 
76 #endif
TRT_PAI_element::getName
const std::string & getName()
Get element name.
Definition: TRT_PAI_element.h:40
TRT_PAI_element::m_lnEnergyLvls
std::vector< float > m_lnEnergyLvls
Definition: TRT_PAI_element.h:70
Monitored::Z
@ Z
Definition: HistogramFillerUtils.h:24
JetTiledMap::N
@ N
Definition: TiledEtaPhiMap.h:44
JetTiledMap::S
@ S
Definition: TiledEtaPhiMap.h:44
A
TRT_PAI_element::m_atomicA
double m_atomicA
Definition: TRT_PAI_element.h:72
TRT_PAI_element::getAtomicA
double getAtomicA()
Get atomic A of element.
Definition: TRT_PAI_element.h:45
TRT_PAI_element::getLnSigmas
const std::vector< float > & getLnSigmas()
Get vector of ln(cross sections) corresponding to energy levels (Mb)
Definition: TRT_PAI_element.h:66
TRT_PAI_element::getAtomicZ
double getAtomicZ()
Get atomic Z of element.
Definition: TRT_PAI_element.h:50
TRT_PAI_element::m_name
std::string m_name
Definition: TRT_PAI_element.h:66
TRT_PAI_element::m_lnCrossScts
std::vector< float > m_lnCrossScts
Definition: TRT_PAI_element.h:71
VP1PartSpect::E
@ E
Definition: VP1PartSpectFlags.h:21
TRT_PAI_element::m_atomicZ
double m_atomicZ
Definition: TRT_PAI_element.h:73
TRT_PAI_element::getDensity
double getDensity(double tempK=293.)
Get density of element at atmospheric preassure.
Definition: TRT_PAI_element.cxx:32
CalibCoolCompareRT.nm
nm
Definition: CalibCoolCompareRT.py:110
TRT_PAI_element::TRT_PAI_element
TRT_PAI_element()
Default constructor for unnamed element.
Definition: TRT_PAI_element.h:19
TRT_PAI_element
Chemical element.
Definition: TRT_PAI_element.h:14
TRT_PAI_element::getLnELvls
const std::vector< float > & getLnELvls()
Get vector of ln(energy) of energy levels (eV)
Definition: TRT_PAI_element.h:61