11#include <top/dbobjects/TOPGeoBase.h>
40 const std::vector<float>& trEffi,
41 const std::string& name =
"TOPWavelengthFilter"):
TOPGeoBase(name),
80 void print(
const std::string& title =
"Wavelength filter bulk transmittance")
const override;
Base class for geometry parameters.
Bulk transmittance of wavelength filter.
ClassDefOverride(TOPWavelengthFilter, 1)
ClassDef.
TOPWavelengthFilter()
Default constructor.
float getLambdaStep() const
Returns wavelength step.
float getLambdaFirst() const
Returns wavelength of the first data point.
float m_lambdaStep
wavelength step [nm]
const std::vector< float > & getBulkTransmittances() const
Returns bulk transmittance data points.
std::vector< float > m_transmittances
bulk transmittance data points
float m_lambdaFirst
wavelength of the first data point [nm]
TOPWavelengthFilter(float lambdaFirst, float lambdaStep, const std::vector< float > &trEffi, const std::string &name="TOPWavelengthFilter")
Full constructor.
bool isConsistent() const override
Check for consistency of data members.
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.