Nagoya measurements of quantum efficiency.
More...
#include <TOPPmtQE.h>
|
enum | { c_NumPmtPixels = 16
} |
| number of PMT pixels More...
|
|
|
| TOPPmtQE () |
| Default constructor.
|
|
| TOPPmtQE (const std::string &serialNumber, float lambdaFirst, float lambdaStep, float CE0, float CE) |
| Useful constructor.
|
|
void | setQE (unsigned pmtPixel, const std::vector< float > &qe) |
| Set quantum efficiency data points for a given pmtPixel.
|
|
const std::string & | getSerialNumber () const |
| Returns PMT serial number.
|
|
const std::vector< float > & | getQE (unsigned pmtPixel) const |
| Returns quantum efficiency data points for a given pixel.
|
|
double | getQE (unsigned pmtPixel, double lambda) const |
| Returns quantum efficiency for a given pixel and wavelength, using linear interpolation.
|
|
const std::vector< float > & | getEnvelopeQE () const |
| Returns envelope quantum efficiency data points (maximum over pixels)
|
|
double | getEnvelopeQE (double lambda) const |
| Returns envelope quantum efficiency for a given wavelength (maximum over pixels), using linear interpolation.
|
|
double | getEfficiency (unsigned pmtPixel, double lambda, bool BfieldOn) const |
| Returns quantum times collection efficiency for a given pixel and wavelength, using linear interpolation.
|
|
double | getLambdaFirst () const |
| Returns wavelenght of the first data point.
|
|
double | getLambdaLast () const |
| Returns wavelenght of the last data point (maximal of pixels)
|
|
double | getLambdaLast (unsigned pmtPixel) const |
| Returns wavelenght of the last data point for a given pixel.
|
|
double | getLambdaStep () const |
| Returns wavelenght step.
|
|
double | getCE (bool BfieldOn) const |
| Returns collection efficiency.
|
|
|
void | setEnvelopeQE () const |
| Sets envelope quantum efficiency.
|
|
double | interpolate (double lambda, const std::vector< float > &QE) const |
| Interpolate between QE datapoints (linear interpolation).
|
|
| ClassDef (TOPPmtQE, 3) |
| don't write out
|
|
|
std::string | m_serialNumber |
| serial number, e.g.
|
|
std::vector< float > | m_QE [c_NumPmtPixels] |
| QE data points.
|
|
float | m_lambdaFirst = 0 |
| wavelength of the first data point [nm]
|
|
float | m_lambdaStep = 0 |
| wavelength step [nm]
|
|
float | m_CE_noB = 0 |
| relative collection efficiency, without B field
|
|
float | m_CE_withB = 0 |
| relative collection efficiency, with B field
|
|
std::vector< float > | m_envelopeQE |
| cache for envelope QE
|
|
Nagoya measurements of quantum efficiency.
Definition at line 23 of file TOPPmtQE.h.
◆ anonymous enum
number of PMT pixels
Definition at line 28 of file TOPPmtQE.h.
◆ TOPPmtQE() [1/2]
Default constructor.
Definition at line 33 of file TOPPmtQE.h.
◆ TOPPmtQE() [2/2]
TOPPmtQE |
( |
const std::string & |
serialNumber, |
|
|
float |
lambdaFirst, |
|
|
float |
lambdaStep, |
|
|
float |
CE0, |
|
|
float |
CE |
|
) |
| |
|
inline |
Useful constructor.
- Parameters
-
serialNumber | serial number |
lambdaFirst | wavelenght of the first data point [nm] |
lambdaStep | wavelength step [nm] |
CE0 | collection efficiency at B = 0T |
CE | collection efficiency at B = 1.5T |
Definition at line 44 of file TOPPmtQE.h.
45 :
48 {}
float m_CE_withB
relative collection efficiency, with B field
float m_CE_noB
relative collection efficiency, without B field
std::string m_serialNumber
serial number, e.g.
float m_lambdaStep
wavelength step [nm]
float m_lambdaFirst
wavelength of the first data point [nm]
◆ ClassDef()
◆ getLambdaFirst()
double getLambdaFirst |
( |
| ) |
const |
|
inline |
Returns wavelenght of the first data point.
- Returns
- wavelength in [nm]
Definition at line 111 of file TOPPmtQE.h.
◆ getLambdaStep()
double getLambdaStep |
( |
| ) |
const |
|
inline |
Returns wavelenght step.
- Returns
- wavelength step in [nm]
Definition at line 130 of file TOPPmtQE.h.
◆ getSerialNumber()
const std::string & getSerialNumber |
( |
| ) |
const |
|
inline |
Returns PMT serial number.
- Returns
- serial number
Definition at line 65 of file TOPPmtQE.h.
◆ setQE()
void setQE |
( |
unsigned |
pmtPixel, |
|
|
const std::vector< float > & |
qe |
|
) |
| |
|
inline |
Set quantum efficiency data points for a given pmtPixel.
- Parameters
-
pmtPixel | pmtPixel number (1-based) |
qe | quantum efficiency data points |
Definition at line 55 of file TOPPmtQE.h.
56 {
57 pmtPixel--;
58 if (pmtPixel < c_NumPmtPixels)
m_QE[pmtPixel] = qe;
59 }
std::vector< float > m_QE[c_NumPmtPixels]
QE data points.
◆ m_CE_noB
relative collection efficiency, without B field
Definition at line 159 of file TOPPmtQE.h.
◆ m_CE_withB
relative collection efficiency, with B field
Definition at line 160 of file TOPPmtQE.h.
◆ m_envelopeQE
std::vector<float> m_envelopeQE |
|
mutableprivate |
◆ m_lambdaFirst
wavelength of the first data point [nm]
Definition at line 157 of file TOPPmtQE.h.
◆ m_lambdaStep
◆ m_QE
std::vector<float> m_QE[c_NumPmtPixels] |
|
private |
◆ m_serialNumber
std::string m_serialNumber |
|
private |
serial number, e.g.
JTxxxx
Definition at line 155 of file TOPPmtQE.h.
The documentation for this class was generated from the following files: