9#include <top/dbobjects/TOPWavelengthFilter.h>
26 if (dlam < 0)
return 0;
36 if (
getName().empty())
return true;
50 cout <<
" bulk transmittances: [";
51 for (
const auto& trE :
m_transmittances) cout << setprecision(3) << trE <<
", ";
54 cout <<
"(Old geometry payload, filter transmittance is included in QE)" << endl;
const std::string & getName() const
Returns object name.
float getLambdaStep() const
Returns wavelength step.
float getLambdaFirst() const
Returns wavelength of the first data point.
float m_lambdaStep
wavelength step [nm]
std::vector< float > m_transmittances
bulk transmittance data points
float m_lambdaFirst
wavelength of the first data point [nm]
bool isConsistent() const override
Check for consistency of data members.
void printUnderlined(const std::string &title) const
Print the content of the class.
void print(const std::string &title="Wavelength filter bulk transmittance") const override
Print the content of the class.
float getBulkTransmittance(double lambda) const
Returns bulk transmittance at given wavelength using linear interpolation.
Abstract base class for different kinds of events.