The Class for ARICH Aerogel Parameters.
More...
#include <ARICHAerogelInfo.h>
The Class for ARICH Aerogel Parameters.
Definition at line 26 of file ARICHAerogelInfo.h.
◆ ARICHAerogelInfo() [1/2]
Default constructor.
Definition at line 33 of file ARICHAerogelInfo.h.
33 : m_version(0.0), m_serial(""), m_id(""), m_refractiveIndex(0.0), m_transmissionLength(0), m_thickness(0.0),
34 m_lambda(), m_transmittance(), m_comment("") {};
◆ ARICHAerogelInfo() [2/2]
ARICHAerogelInfo |
( |
float | version, |
|
|
const std::string & | serial, |
|
|
const std::string & | id, |
|
|
float | index, |
|
|
float | trlen, |
|
|
float | thickness, |
|
|
std::vector< int > & | lambda, |
|
|
std::vector< float > & | transmittance ) |
|
inline |
Constructor.
Definition at line 39 of file ARICHAerogelInfo.h.
40 : m_version(version), m_serial(serial), m_id(id),
41 m_refractiveIndex(index), m_transmissionLength(trlen), m_thickness(thickness), m_lambda(lambda), m_transmittance(transmittance),
42 m_comment("") {};
◆ ~ARICHAerogelInfo()
◆ getAerogelComment()
std::string getAerogelComment |
( |
| ) |
const |
|
inline |
◆ getAerogelID()
std::string getAerogelID |
( |
| ) |
const |
|
inline |
Get aerogel identifier.
- Returns
- Aerogel identifier.
Definition at line 77 of file ARICHAerogelInfo.h.
◆ getAerogelRefractiveIndex()
float getAerogelRefractiveIndex |
( |
| ) |
const |
|
inline |
Get refractive index of aerogel.
- Returns
- Refractive index of aerogel.
Definition at line 89 of file ARICHAerogelInfo.h.
89{return m_refractiveIndex; }
◆ getAerogelSN()
std::string getAerogelSN |
( |
| ) |
const |
|
inline |
Get aerogel serial number.
- Returns
- Aerogel serial number.
Definition at line 65 of file ARICHAerogelInfo.h.
◆ getAerogelThickness()
float getAerogelThickness |
( |
| ) |
const |
|
inline |
Get aerogel thickness.
- Returns
- Aerogel thickness.
Definition at line 113 of file ARICHAerogelInfo.h.
113{return m_thickness; }
◆ getAerogelTransmissionLength()
float getAerogelTransmissionLength |
( |
| ) |
const |
|
inline |
Get transmission length at 400 nm.
- Returns
- Transmission length at 400 nm.
Definition at line 101 of file ARICHAerogelInfo.h.
101{return m_transmissionLength; }
◆ getAerogelTransmittance()
float getAerogelTransmittance |
( |
unsigned int | i | ) |
const |
|
inline |
Get aerogel transmittance.
- Returns
- Aerogel transmittance.
Definition at line 138 of file ARICHAerogelInfo.h.
138{ if (i < m_transmittance.size()) return m_transmittance[i]; else return -1;}
◆ getAerogelTransmittanceElement()
float getAerogelTransmittanceElement |
( |
int | lambda | ) |
const |
Get aerogel transmittance at lambda.
- Returns
- Aerogel transmittance at lambda.
Definition at line 15 of file ARICHAerogelInfo.cc.
16{
18 B2INFO("lambda not in right interval!");
19 return -1;
20 }
23}
float c_lambdaMin
Min value of lambda.
float c_lambdaStep
Lambda - steps.
std::vector< float > m_transmittance
Transmittance of aerogel.
float c_lambdaMax
Max value of lambda.
◆ getAerogelTransmittanceLambda()
int getAerogelTransmittanceLambda |
( |
unsigned int | i | ) |
const |
|
inline |
Get lambda for aerogel transmittance.
- Returns
- Lambda for aerogel transmittance.
Definition at line 150 of file ARICHAerogelInfo.h.
150{ if (i < m_lambda.size()) return m_lambda[i]; else return -1;}
◆ getAerogelVersion()
float getAerogelVersion |
( |
| ) |
const |
|
inline |
◆ setAerogelComment()
void setAerogelComment |
( |
const std::string & | comment | ) |
|
|
inline |
◆ setAerogelID()
void setAerogelID |
( |
const std::string & | agelid | ) |
|
|
inline |
Set aerogel identifier.
- Parameters
-
[in] | agelid | Aerogel identifier. |
Definition at line 83 of file ARICHAerogelInfo.h.
◆ setAerogelRefractiveIndex()
void setAerogelRefractiveIndex |
( |
float | index | ) |
|
|
inline |
Set aerogel refractive index.
- Parameters
-
[in] | index | Aerogel refractive index. |
Definition at line 95 of file ARICHAerogelInfo.h.
95{m_refractiveIndex = index; }
◆ setAerogelSN()
void setAerogelSN |
( |
const std::string & | serial | ) |
|
|
inline |
Set aerogel serial number.
- Parameters
-
[in] | serial | Aerogel serial number. |
Definition at line 71 of file ARICHAerogelInfo.h.
◆ setAerogelThickness()
void setAerogelThickness |
( |
float | thickness | ) |
|
|
inline |
Set aerogel thickness.
- Parameters
-
[in] | thickness | Aerogel thickness. |
Definition at line 119 of file ARICHAerogelInfo.h.
119{m_thickness = thickness; }
◆ setAerogelTransmissionLength()
void setAerogelTransmissionLength |
( |
float | translength | ) |
|
|
inline |
Set transmission length at 400 nm.
- Parameters
-
[in] | translength | Transmission Length at 400 nm. |
Definition at line 107 of file ARICHAerogelInfo.h.
107{m_transmissionLength = translength; }
◆ setAerogelTransmittance()
void setAerogelTransmittance |
( |
std::vector< float > | transmittance | ) |
|
Set aerogel transmittance.
- Parameters
-
[in] | transmittance | Aerogel transmittance. |
Definition at line 36 of file ARICHAerogelInfo.cc.
37{
38 for (
unsigned int i = 0; i < transmittance.size(); i++)
m_transmittance.push_back(transmittance[i]);
39}
◆ setAerogelTransmittanceElement()
void setAerogelTransmittanceElement |
( |
int | lambda, |
|
|
float | transmittance ) |
Set aerogel transmittance at lambda.
- Parameters
-
[in] | lambda | |
[in] | transmittance | Aerogel transmittance at lambda. |
Definition at line 26 of file ARICHAerogelInfo.cc.
27{
29 B2INFO("lambda not in right interval!");
30 }
33}
◆ setAerogelTransmittanceLambda()
void setAerogelTransmittanceLambda |
( |
std::vector< float > | lambda | ) |
|
Set lambda for aerogel transmittance.
- Parameters
-
[in] | lambda | Lambda for aerogel transmittance. |
Definition at line 42 of file ARICHAerogelInfo.cc.
43{
44 for (
unsigned int i = 0; i < lambda.size(); i++)
m_lambda.push_back(lambda[i]);
45}
std::vector< int > m_lambda
Lambda for transmittance.
◆ setAerogelVersion()
void setAerogelVersion |
( |
float | version | ) |
|
|
inline |
Set aerogel version.
- Parameters
-
[in] | version | Aerogel version. |
Definition at line 59 of file ARICHAerogelInfo.h.
59{m_version = version; }
◆ c_lambdaMax
float c_lambdaMax = 700.0 |
|
private |
◆ c_lambdaMin
float c_lambdaMin = 200.0 |
|
private |
◆ c_lambdaStep
float c_lambdaStep = 10.0 |
|
private |
◆ m_comment
◆ m_id
◆ m_lambda
std::vector<int> m_lambda |
|
private |
◆ m_refractiveIndex
◆ m_serial
◆ m_thickness
◆ m_transmissionLength
float m_transmissionLength |
|
private |
◆ m_transmittance
std::vector<float> m_transmittance |
|
private |
◆ m_version
The documentation for this class was generated from the following files: