Parameterized TTS for each PMT pixel.
More...
#include <TOPPmtTTSPar.h>
|
enum | { c_NumPmtPixels = 16
} |
| number of PMT pixels
|
|
Parameterized TTS for each PMT pixel.
Definition at line 26 of file TOPPmtTTSPar.h.
◆ TOPPmtTTSPar()
Full constructor.
- Parameters
-
serialNumber | serial number |
Definition at line 53 of file TOPPmtTTSPar.h.
std::string m_serialNumber
serial number, e.g.
◆ appendGaussian() [1/2]
void appendGaussian |
( |
unsigned |
pmtPixel, |
|
|
const Gaussian & |
gaus |
|
) |
| |
|
inline |
Append struct gauss.
- Parameters
-
pmtPixel | PMT pixel number (1-based) |
gaus | gaussian to be appended |
Definition at line 63 of file TOPPmtTTSPar.h.
◆ appendGaussian() [2/2]
void appendGaussian |
( |
unsigned |
pmtPixel, |
|
|
double |
fraction, |
|
|
double |
mean, |
|
|
double |
sigma |
|
) |
| |
|
inline |
Append gaussian using its parameters (frac, mean, sigma)
- Parameters
-
pmtPixel | PMT pixel number (1-based) |
fraction | normalization fraction of the gaussian |
mean | mean of the gaussian |
sigma | sigma of the gaussian |
Definition at line 82 of file TOPPmtTTSPar.h.
◆ getGaussians()
const std::vector<Gaussian>& getGaussians |
( |
unsigned |
pmtPixel | ) |
const |
|
inline |
Returns vector of gaussians.
- Parameters
-
pmtPixel | PMT pixel number (1-based) |
- Returns
- vector of gaussians
Definition at line 109 of file TOPPmtTTSPar.h.
◆ getNumOfPixels()
int getNumOfPixels |
( |
| ) |
const |
|
inline |
Returns number of PMT pixels.
- Returns
- number of pixels
Definition at line 95 of file TOPPmtTTSPar.h.
◆ getRandomTime()
double getRandomTime |
( |
unsigned |
pmtPixel | ) |
const |
|
inline |
Returns a random number, generated according to the distribution.
- Parameters
-
pmtPixel | PMT pixel number (1-based) |
- Returns
- random time or 0 for invalid pixel
Definition at line 127 of file TOPPmtTTSPar.h.
◆ getSerialNumber()
const std::string& getSerialNumber |
( |
| ) |
const |
|
inline |
Returns PMT serial number.
- Returns
- serial number
Definition at line 101 of file TOPPmtTTSPar.h.
◆ m_serialNumber
std::string m_serialNumber |
|
private |
The documentation for this class was generated from the following file: