Nominal quantum efficiency of PMT.
More...
#include <TOPNominalQE.h>
|
| TOPNominalQE () |
| Default constructor.
|
|
| TOPNominalQE (float lambdaFirst, float lambdaStep, float CE, const std::vector< float > &qe, const std::string &name="TOPNominalQE") |
| Full constructor.
|
|
void | set (float lambdaFirst, float lambdaStep, float CE, const std::vector< float > &qe, const std::string &name) |
| Sets the object.
|
|
void | applyFilterTransmission (const TOPWavelengthFilter &filter) |
| Multiplies quantum efficiency data points with filter transmission.
|
|
void | clear () |
| Clears the object.
|
|
bool | isEmpty () const |
| Checks the status.
|
|
const std::vector< float > & | getQE () const |
| Returns quantum efficiency data points.
|
|
double | getQE (double lambda) const |
| Returns quantum efficiency at given photon wavelength using linear interpolation.
|
|
double | getEfficiency (double lambda) const |
| Returns quantum times collection efficiency at given photon wavelength using linear interpolation.
|
|
double | getLambdaFirst () const |
| Returns wavelenght of the first data point.
|
|
double | getLambdaLast () const |
| Returns wavelenght of the last data point.
|
|
double | getLambdaStep () const |
| Returns wavelenght step.
|
|
double | getMinLambda () const |
| Returns wavelength of the first nonzero QE data point.
|
|
double | getMaxLambda () const |
| Returns wavelength of the last nonzero QE data point.
|
|
double | getCE () const |
| Returns collection efficiency.
|
|
bool | isConsistent () const override |
| Check for consistency of data members.
|
|
void | print (const std::string &title="Nominal quantum efficiency") const override |
| Print the content of the class.
|
|
void | setName (const std::string &name) |
| Sets object name.
|
|
const std::string & | getName () const |
| Returns object name.
|
|
virtual void | printSurface (const GeoOpticalSurface &surface) const |
| Print the content of optical surface.
|
|
double | getReflectivity (const GeoOpticalSurface &surface, double energy) const |
| Returns reflectivity of optical surface at given photon energy.
|
|
|
std::string | m_name |
| geometry object name
|
|
|
float | m_lambdaFirst = 0 |
| wavelength of the first data point [nm]
|
|
float | m_lambdaStep = 0 |
| wavelength step [nm]
|
|
float | m_CE = 0 |
| collection efficiency
|
|
std::vector< float > | m_QE |
| QE data points.
|
|
Nominal quantum efficiency of PMT.
Definition at line 24 of file TOPNominalQE.h.
◆ TOPNominalQE() [1/2]
◆ TOPNominalQE() [2/2]
TOPNominalQE |
( |
float |
lambdaFirst, |
|
|
float |
lambdaStep, |
|
|
float |
CE, |
|
|
const std::vector< float > & |
qe, |
|
|
const std::string & |
name = "TOPNominalQE" |
|
) |
| |
|
inline |
Full constructor.
- Parameters
-
lambdaFirst | wavelenght of the first data point [nm] |
lambdaStep | wavelength step [nm] |
CE | collection efficiency |
qe | quantum efficiency data points |
name | object name |
Definition at line 41 of file TOPNominalQE.h.
45 {}
TOPGeoBase()
Default constructor.
std::vector< float > m_QE
QE data points.
float m_lambdaStep
wavelength step [nm]
float m_lambdaFirst
wavelength of the first data point [nm]
float m_CE
collection efficiency
◆ clear()
Clears the object.
Definition at line 75 of file TOPNominalQE.h.
76 {
82 }
void setName(const std::string &name)
Sets object name.
◆ getCE()
Returns collection efficiency.
- Returns
- collection efficiency
Definition at line 148 of file TOPNominalQE.h.
◆ getEfficiency()
double getEfficiency |
( |
double |
lambda | ) |
const |
|
inline |
Returns quantum times collection efficiency at given photon wavelength using linear interpolation.
- Parameters
-
lambda | photon wavelength in [nm] |
- Returns
- quantum efficiency
Definition at line 109 of file TOPNominalQE.h.
const std::vector< float > & getQE() const
Returns quantum efficiency data points.
◆ getLambdaFirst()
double getLambdaFirst |
( |
| ) |
const |
|
inline |
Returns wavelenght of the first data point.
- Returns
- wavelength in [nm]
Definition at line 115 of file TOPNominalQE.h.
◆ getLambdaLast()
double getLambdaLast |
( |
| ) |
const |
|
inline |
Returns wavelenght of the last data point.
- Returns
- wavelength in [nm]
Definition at line 121 of file TOPNominalQE.h.
◆ getLambdaStep()
double getLambdaStep |
( |
| ) |
const |
|
inline |
Returns wavelenght step.
- Returns
- wavelength step in [nm]
Definition at line 130 of file TOPNominalQE.h.
◆ getName()
const std::string & getName |
( |
| ) |
const |
|
inlineinherited |
Returns object name.
- Returns
- object name
Definition at line 51 of file TOPGeoBase.h.
std::string m_name
geometry object name
◆ getQE()
const std::vector< float > & getQE |
( |
| ) |
const |
|
inline |
Returns quantum efficiency data points.
- Returns
- quantum efficiency data points
Definition at line 94 of file TOPNominalQE.h.
◆ isEmpty()
Checks the status.
- Returns
- true if QE data points are empty
Definition at line 88 of file TOPNominalQE.h.
◆ set()
void set |
( |
float |
lambdaFirst, |
|
|
float |
lambdaStep, |
|
|
float |
CE, |
|
|
const std::vector< float > & |
qe, |
|
|
const std::string & |
name |
|
) |
| |
|
inline |
Sets the object.
- Parameters
-
lambdaFirst | wavelenght of the first data point [nm] |
lambdaStep | wavelength step [nm] |
CE | collection efficiency |
qe | quantum efficiency data points |
name | object name |
Definition at line 55 of file TOPNominalQE.h.
◆ setName()
void setName |
( |
const std::string & |
name | ) |
|
|
inlineinherited |
Sets object name.
- Parameters
-
Definition at line 45 of file TOPGeoBase.h.
◆ m_CE
◆ m_lambdaFirst
wavelength of the first data point [nm]
Definition at line 165 of file TOPNominalQE.h.
◆ m_lambdaStep
◆ m_name
◆ m_QE
The documentation for this class was generated from the following files: