![]() |
Belle II Software
release-08-02-05
|
Parametrization of signal PDF in a single pixel. More...
#include <SignalPDF.h>

Classes | |
| struct | PDFExtra |
| Extra information about single PDF peak. More... | |
| struct | PDFPeak |
| Single PDF peak. More... | |
Public Types | |
| enum | EPeakType { c_Unknown = 0 , c_Direct = 1 , c_Reflected = 2 } |
| Enumerator for single PDF peak types. More... | |
Public Member Functions | |
| SignalPDF (int pixelID, const TOPNominalTTS &tts) | |
| Class constructor. More... | |
| void | append (const PDFPeak &peak) |
| Appends single PDF peak. More... | |
| void | append (const PDFExtra &extra) |
| Appends extra information of single PDF peak. More... | |
| void | normalize (double a) |
| Normalize PDF peaks by dividing nph with given constant. More... | |
| double | getSum () const |
| Returns a sum of nph of all peaks. | |
| int | getPixelID () const |
| Returns pixel ID. More... | |
| const TOPNominalTTS * | getTTS () const |
| Returns TTS. More... | |
| const std::vector< PDFPeak > & | getPDFPeaks () const |
| Returns PDF peaks. More... | |
| const std::vector< PDFExtra > & | getPDFExtraInfo () const |
| Returns PDF extra info Note: available only if stored on demand. More... | |
| bool | isExtraInfoAvailable () const |
| Checks if extra info is available. More... | |
| double | getPDFValue (double time, double timeErr, double sigt=0) const |
| Returns PDF value at given time. More... | |
| double | getIntegral (double minTime, double maxTime) const |
| Returns integral of PDF from minTime to maxTime. More... | |
Private Attributes | |
| int | m_pixelID = 0 |
| pixel ID | |
| const TOPNominalTTS * | m_tts = 0 |
| nominal TTS | |
| std::vector< PDFPeak > | m_peaks |
| PDF peaks. | |
| std::vector< PDFExtra > | m_extras |
| extra information (stored only on request) | |
Parametrization of signal PDF in a single pixel.
PDF is parametrized as a sum of Gaussian distributions.
Definition at line 25 of file SignalPDF.h.
| enum EPeakType |
Enumerator for single PDF peak types.
| Enumerator | |
|---|---|
| c_Unknown | unknown |
| c_Direct | direct photon |
| c_Reflected | reflected photon |
Definition at line 32 of file SignalPDF.h.
| SignalPDF | ( | int | pixelID, |
| const TOPNominalTTS & | tts | ||
| ) |
|
inline |
Appends extra information of single PDF peak.
| extra | extra information |
Definition at line 91 of file SignalPDF.h.
|
inline |
| double getIntegral | ( | double | minTime, |
| double | maxTime | ||
| ) | const |
Returns integral of PDF from minTime to maxTime.
| minTime | integral lower limit |
| maxTime | integral upper limit |
Definition at line 41 of file SignalPDF.cc.
|
inline |
Returns PDF extra info Note: available only if stored on demand.
Definition at line 127 of file SignalPDF.h.
|
inline |
| double getPDFValue | ( | double | time, |
| double | timeErr, | ||
| double | sigt = 0 |
||
| ) | const |
Returns PDF value at given time.
| time | photon hit time |
| timeErr | uncertainty of hit time (sigma) |
| sigt | additional time smearing |
Definition at line 25 of file SignalPDF.cc.
|
inline |
|
inline |
|
inline |
Checks if extra info is available.
Definition at line 133 of file SignalPDF.h.
|
inline |
Normalize PDF peaks by dividing nph with given constant.
| a | normalization constant |
Definition at line 163 of file SignalPDF.h.