11#include <top/dbobjects/TOPNominalTTS.h>
142 double getPDFValue(
double time,
double timeErr,
double sigt = 0)
const;
150 double getIntegral(
double minTime,
double maxTime)
const;
165 for (
auto& peak :
m_peaks) peak.nph /= a;
171 for (
const auto& peak :
m_peaks) s += peak.nph;
Nominal time transition spread of PMT.
Parametrization of signal PDF in a single pixel.
std::vector< PDFExtra > m_extras
extra information (stored only on request)
void normalize(double a)
Normalize PDF peaks by dividing nph with given constant.
std::vector< PDFPeak > m_peaks
PDF peaks.
const TOPNominalTTS * m_tts
nominal TTS
double getPDFValue(double time, double timeErr, double sigt=0) const
Returns PDF value at given time.
int getPixelID() const
Returns pixel ID.
bool isExtraInfoAvailable() const
Checks if extra info is available.
const std::vector< PDFExtra > & getPDFExtraInfo() const
Returns PDF extra info Note: available only if stored on demand.
void append(const PDFPeak &peak)
Appends single PDF peak.
const TOPNominalTTS * getTTS() const
Returns TTS.
double getSum() const
Returns a sum of nph of all peaks.
const std::vector< PDFPeak > & getPDFPeaks() const
Returns PDF peaks.
double getIntegral(double minTime, double maxTime) const
Returns integral of PDF from minTime to maxTime.
EPeakType
Enumerator for single PDF peak types.
@ c_Reflected
reflected photon
void append(const PDFExtra &extra)
Appends extra information of single PDF peak.
Abstract base class for different kinds of events.
double t0
peak position [ns]
double fic
Cerenkov azimuthal angle.
double wid
peak width squared [ns^2]
double nph
normalized number of photons in a peak