 |
Belle II Software
release-05-01-25
|
25 class TOPPmtQE :
public TObject {
30 enum {c_NumPmtPixels = 16};
46 TOPPmtQE(
const std::string& serialNumber,
47 float lambdaFirst,
float lambdaStep,
float CE0,
float CE):
57 void setQE(
unsigned pmtPixel,
const std::vector<float>& qe)
60 if (pmtPixel < c_NumPmtPixels)
m_QE[pmtPixel] = qe;
74 const std::vector<float>&
getQE(
unsigned pmtPixel)
const;
83 double getQE(
unsigned pmtPixel,
double lambda)
const;
107 double getEfficiency(
unsigned pmtPixel,
double lambda,
bool BfieldOn)
const;
139 double getCE(
bool BfieldOn)
const;
155 double interpolate(
double lambda,
const std::vector<float>& QE)
const;
158 std::vector<float>
m_QE[c_NumPmtPixels];
double getCE(bool BfieldOn) const
Returns collection efficiency.
float m_lambdaStep
wavelength step [nm]
std::string m_serialNumber
serial number, e.g.
float m_lambdaFirst
wavelength of the first data point [nm]
double interpolate(double lambda, const std::vector< float > &QE) const
Interpolate between QE datapoints (linear interpolation).
std::vector< float > m_QE[c_NumPmtPixels]
QE data points.
double getLambdaLast() const
Returns wavelenght of the last data point (maximal of pixels)
double getEfficiency(unsigned pmtPixel, double lambda, bool BfieldOn) const
Returns quantum times collection efficiency for a given pixel and wavelength, using linear interpolat...
Nagoya measurements of quantum efficiency.
Abstract base class for different kinds of events.
const std::vector< float > & getQE(unsigned pmtPixel) const
Returns quantum efficiency data points for a given pixel.
void setQE(unsigned pmtPixel, const std::vector< float > &qe)
Set quantum efficiency data points for a given pmtPixel.
ClassDef(TOPPmtQE, 3)
don't write out
const std::string & getSerialNumber() const
Returns PMT serial number.
std::vector< float > m_envelopeQE
cache for envelope QE
void setEnvelopeQE() const
Sets envelope quantum efficiency.
double getLambdaStep() const
Returns wavelenght step.
float m_CE_withB
relative collection efficiency, with B field
const std::vector< float > & getEnvelopeQE() const
Returns envelope quantum efficiency data points (maximum over pixels)
TOPPmtQE()
Default constructor.
double getLambdaFirst() const
Returns wavelenght of the first data point.
float m_CE_noB
relative collection efficiency, without B field