Parameterized PMT gain (from laser testing at Nagoya)
More...
#include <TOPPmtGainPar.h>
|
enum | { c_NumPmtPixels = 16
} |
| number of PMT pixels
|
|
|
| TOPPmtGainPar () |
| Default constructor.
|
|
| TOPPmtGainPar (const std::string &serialNumber) |
| Useful constructor. More...
|
|
void | setPmtPixelData (unsigned pmtPixel, double constant, double slope, double ratio) |
| Sets the data for a given PMT pmtPixel. More...
|
|
void | setNominalHV0 (float HV) |
| Sets the high voltage at gain of 5x10^5, without B field. More...
|
|
void | setNominalHV (float HV) |
| Sets the high voltage at gain of 5x10^5, with B field. More...
|
|
const std::string & | getSerialNumber () const |
| Returns PMT serial number. More...
|
|
double | getConstant (unsigned pmtPixel) const |
| Returns constant of the gain vs HV fitting function. More...
|
|
double | getSlope (unsigned pmtPixel) const |
| Returns slope of the gain vs HV fitting function. More...
|
|
double | getRatio (unsigned pmtPixel) const |
| Returns ratio of gains between 1.5T and 0T. More...
|
|
float | getNominalHV0 () const |
| Returns nominal HV (corresponding to a gain of 5x10^5 at B = 0) More...
|
|
float | getNominalHV () const |
| Returns nominal HV (corresponding to a gain of 5x10^5 at B = 1.5T) More...
|
|
double | getGain0 (unsigned pmtPixel, double HV) const |
| Returns pmtPixel gain at B = 0 for a given high voltage. More...
|
|
double | getGain (unsigned pmtPixel, float HV) const |
| Returns pmtPixel gain at B = 1.5 T for a given high voltage. More...
|
|
void | print () const |
| Print the class content.
|
|
|
std::string | m_serialNumber |
| serial number, e.g. More...
|
|
float | m_constant [c_NumPmtPixels] = {0} |
| constant
|
|
float | m_slope [c_NumPmtPixels] = {0} |
| slope
|
|
float | m_ratio [c_NumPmtPixels] = {0} |
| ratio of gains at B = 1.5 T and B = 0
|
|
float | m_HV_noB = 0 |
| high voltage for the gain of 5x10^5, no B field
|
|
float | m_HV_withB = 0 |
| high voltage for the gain of 5x10^5, with B field
|
|
Parameterized PMT gain (from laser testing at Nagoya)
Definition at line 23 of file TOPPmtGainPar.h.
◆ TOPPmtGainPar()
Useful constructor.
- Parameters
-
serialNumber | serial number |
Definition at line 40 of file TOPPmtGainPar.h.
std::string m_serialNumber
serial number, e.g.
◆ getConstant()
double getConstant |
( |
unsigned |
pmtPixel | ) |
const |
|
inline |
Returns constant of the gain vs HV fitting function.
- Parameters
-
pmtPixel | pmtPixel number (1-based) |
- Returns
- constant
Definition at line 83 of file TOPPmtGainPar.h.
◆ getGain()
double getGain |
( |
unsigned |
pmtPixel, |
|
|
float |
HV |
|
) |
| const |
|
inline |
Returns pmtPixel gain at B = 1.5 T for a given high voltage.
- Parameters
-
pmtPixel | pmtPixel number (1-based) |
HV | high voltage [V] |
- Returns
- gain
Definition at line 145 of file TOPPmtGainPar.h.
◆ getGain0()
double getGain0 |
( |
unsigned |
pmtPixel, |
|
|
double |
HV |
|
) |
| const |
|
inline |
Returns pmtPixel gain at B = 0 for a given high voltage.
- Parameters
-
pmtPixel | pmtPixel number (1-based) |
HV | high voltage [V] |
- Returns
- gain
Definition at line 132 of file TOPPmtGainPar.h.
◆ getNominalHV()
float getNominalHV |
( |
| ) |
const |
|
inline |
Returns nominal HV (corresponding to a gain of 5x10^5 at B = 1.5T)
- Returns
- HV in [V]
Definition at line 124 of file TOPPmtGainPar.h.
◆ getNominalHV0()
float getNominalHV0 |
( |
| ) |
const |
|
inline |
Returns nominal HV (corresponding to a gain of 5x10^5 at B = 0)
- Returns
- HV in [V]
Definition at line 118 of file TOPPmtGainPar.h.
◆ getRatio()
double getRatio |
( |
unsigned |
pmtPixel | ) |
const |
|
inline |
Returns ratio of gains between 1.5T and 0T.
- Parameters
-
pmtPixel | pmtPixel number (1-based) |
- Returns
- gain ratio
Definition at line 107 of file TOPPmtGainPar.h.
◆ getSerialNumber()
const std::string& getSerialNumber |
( |
| ) |
const |
|
inline |
Returns PMT serial number.
- Returns
- serial number
Definition at line 76 of file TOPPmtGainPar.h.
◆ getSlope()
double getSlope |
( |
unsigned |
pmtPixel | ) |
const |
|
inline |
Returns slope of the gain vs HV fitting function.
- Parameters
-
pmtPixel | pmtPixel number (1-based) |
- Returns
- slope
Definition at line 95 of file TOPPmtGainPar.h.
◆ setNominalHV()
void setNominalHV |
( |
float |
HV | ) |
|
|
inline |
Sets the high voltage at gain of 5x10^5, with B field.
- Parameters
-
Definition at line 70 of file TOPPmtGainPar.h.
◆ setNominalHV0()
void setNominalHV0 |
( |
float |
HV | ) |
|
|
inline |
Sets the high voltage at gain of 5x10^5, without B field.
- Parameters
-
Definition at line 64 of file TOPPmtGainPar.h.
◆ setPmtPixelData()
void setPmtPixelData |
( |
unsigned |
pmtPixel, |
|
|
double |
constant, |
|
|
double |
slope, |
|
|
double |
ratio |
|
) |
| |
|
inline |
Sets the data for a given PMT pmtPixel.
- Parameters
-
pmtPixel | pmtPixel number (1-based) |
constant | fitting function constant (gain vs HV) |
slope | fitting function slope (gain vs HV) |
ratio | ratio of gains at B = 1.5 T and B = 0 |
Definition at line 51 of file TOPPmtGainPar.h.
◆ m_serialNumber
std::string m_serialNumber |
|
private |
The documentation for this class was generated from the following files: