9 #include <arich/dbobjects/ARICHAerogelInfo.h>
10 #include <framework/logging/Logger.h>
17 if (lambda < c_lambdaMin || lambda > c_lambdaMax) {
18 B2INFO(
"lambda not in right interval!");
21 int index = (int) round((lambda - c_lambdaMin) / c_lambdaStep);
22 return m_transmittance[index];
28 if (lambda < c_lambdaMin || lambda > c_lambdaMax) {
29 B2INFO(
"lambda not in right interval!");
31 int index = (int) round((lambda - c_lambdaMin) / c_lambdaStep);
32 m_transmittance[index] = transmittance;
38 for (
unsigned int i = 0; i < transmittance.size(); i++) m_transmittance.push_back(transmittance[i]);
44 for (
unsigned int i = 0; i < lambda.size(); i++) m_lambda.push_back(lambda[i]);
float getAerogelTransmittanceElement(int lambda) const
Return Aerogel Transmittance at lambda.
void setAerogelTransmittanceLambda(std::vector< float > lambda)
Set Lambda for Aerogel Transmittance.
void setAerogelTransmittance(std::vector< float > transmittance)
Set Aerogel Transmittance.
void setAerogelTransmittanceElement(int lambda, float transmittance)
Set Aerogel Transmittance at lambda.
Abstract base class for different kinds of events.