![]() |
Belle II Software development
|
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. | |
| void | append (const PDFPeak &peak) |
| Appends single PDF peak. | |
| void | append (const PDFExtra &extra) |
| Appends extra information of single PDF peak. | |
| void | normalize (double a) |
| Normalize PDF peaks by dividing nph with given constant. | |
| double | getSum () const |
| Returns a sum of nph of all peaks. | |
| int | getPixelID () const |
| Returns pixel ID. | |
| const TOPNominalTTS * | getTTS () const |
| Returns TTS. | |
| const std::vector< PDFPeak > & | getPDFPeaks () const |
| Returns PDF peaks. | |
| const std::vector< PDFExtra > & | getPDFExtraInfo () const |
| Returns PDF extra info Note: available only if stored on demand. | |
| double | getMinT0 () const |
| Returns the position of the earliest peak (meaningless if there are no peaks) | |
| double | getMaxT0 () const |
| Returns the position of the latest peak (meaningless if there are no peaks) | |
| bool | isExtraInfoAvailable () const |
| Checks if extra info is available. | |
| double | getPDFValue (double time, double timeErr, double sigt=0) const |
| Returns PDF value at given time. | |
| double | getIntegral (double minTime, double maxTime) const |
| Returns integral of PDF from minTime to maxTime. | |
Private Attributes | |
| int | m_pixelID = 0 |
| pixel ID | |
| const TOPNominalTTS * | m_tts = 0 |
| nominal TTS | |
| double | m_maxSigmaSq = 0 |
| the largest of the TTS component widths squared [ns^2] | |
| double | m_maxAbsPos = 0 |
| the largest of the TTS component offsets in absolute value [ns] | |
| double | m_sum = 0 |
| sum of nph of all peaks | |
| double | m_minT0 = 0 |
| position of the earliest peak [ns] | |
| double | m_maxT0 = 0 |
| position of the latest peak [ns] | |
| 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 27 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 34 of file SignalPDF.h.
| SignalPDF | ( | int | pixelID, |
| const TOPNominalTTS & | tts ) |
Class constructor.
| pixelID | pixel ID |
| tts | TTS |
Definition at line 21 of file SignalPDF.cc.
|
inline |
Appends extra information of single PDF peak.
| extra | extra information |
Definition at line 104 of file SignalPDF.h.
|
inline |
Appends single PDF peak.
| peak | single PDF peak |
Definition at line 87 of file SignalPDF.h.
|
inline |
Returns integral of PDF from minTime to maxTime.
| minTime | integral lower limit |
| maxTime | integral upper limit |
Definition at line 205 of file SignalPDF.h.
|
inline |
Returns the position of the latest peak (meaningless if there are no peaks)
Definition at line 152 of file SignalPDF.h.
|
inline |
Returns the position of the earliest peak (meaningless if there are no peaks)
Definition at line 146 of file SignalPDF.h.
|
inline |
Returns PDF extra info Note: available only if stored on demand.
Definition at line 140 of file SignalPDF.h.
|
inline |
Returns PDF peaks.
Definition at line 133 of file SignalPDF.h.
| 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 31 of file SignalPDF.cc.
|
inline |
Returns pixel ID.
Definition at line 121 of file SignalPDF.h.
|
inline |
Returns a sum of nph of all peaks.
Definition at line 200 of file SignalPDF.h.
|
inline |
|
inline |
Checks if extra info is available.
Definition at line 158 of file SignalPDF.h.
|
inline |
Normalize PDF peaks by dividing nph with given constant.
| a | normalization constant |
Definition at line 193 of file SignalPDF.h.
|
private |
extra information (stored only on request)
Definition at line 187 of file SignalPDF.h.
|
private |
the largest of the TTS component offsets in absolute value [ns]
Definition at line 182 of file SignalPDF.h.
|
private |
the largest of the TTS component widths squared [ns^2]
Definition at line 181 of file SignalPDF.h.
|
private |
position of the latest peak [ns]
Definition at line 185 of file SignalPDF.h.
|
private |
position of the earliest peak [ns]
Definition at line 184 of file SignalPDF.h.
|
private |
PDF peaks.
Definition at line 186 of file SignalPDF.h.
|
private |
pixel ID
Definition at line 179 of file SignalPDF.h.
|
private |
sum of nph of all peaks
Definition at line 183 of file SignalPDF.h.
|
private |
nominal TTS
Definition at line 180 of file SignalPDF.h.