Belle II Software development
|
Binned one dimensional PDF (a projection of PDF to time axis) More...
#include <PDF1Dim.h>
Public Member Functions | |
PDF1Dim (const PDFConstructor &pdfConstructor, double binSize, double timeWindow) | |
Full constructor. | |
double | getBinSize () const |
Returns actual bin size used. | |
int | getModuleID () const |
Returns slot number. | |
TH1F | getHistogram (std::string name, std::string title) const |
Returns binned one dimensional PDF (projection to time axis) | |
const std::vector< double > & | getPhotonTimes () const |
Returns photon times of selected photons in a given slot. | |
int | getNumOfPhotons () const |
Returns number of photons. | |
double | getExpectedSignal () const |
Returns expected number of signal photons. | |
double | getExpectedDeltaPhotons () const |
Returns expected number of delta-ray photons. | |
double | getExpectedBG () const |
Returns expected number of background photons. | |
double | getTminPDF () const |
Returns minimal time of signal PDF. | |
double | getTmaxPDF () const |
Returns maximal time of signal PDF. | |
double | getTminFot () const |
Returns minimal time of selected photons. | |
double | getTmaxFot () const |
Returns maximal time of selected photons. | |
double | getMinT0 () const |
Returns lower edge of the T0 search region. | |
double | getMaxT0 () const |
Returns upper edge of the T0 search region. | |
int | getNumBinsT0 () const |
Returns number of bins the T0 search region. | |
double | getLogL (double timeShift) const |
Returns log likelihood. | |
Private Attributes | |
int | m_moduleID = 0 |
slot number | |
int | m_numBins = 0 |
number of bins for signal PDF | |
double | m_minTime = 0 |
lower edge of the first bin | |
double | m_maxTime = 0 |
upper edge of the last bin | |
std::vector< double > | m_times |
photon times, from a given slot | |
double | m_tminPDF = 0 |
minimal time of signal PDF | |
double | m_tmaxPDF = 0 |
maximal time of signal PDF | |
double | m_tminFot = 0 |
minimal time of photons | |
double | m_tmaxFot = 0 |
maximal time of photons | |
double | m_minT0 = 0 |
minimal T0 | |
double | m_maxT0 = 0 |
maximal T0 | |
int | m_numBinsT0 = 0 |
number of bins for T0 finder w/ same bin size as PDF | |
double | m_expectedBG = 0 |
expected number of background photons | |
double | m_expectedSignal = 0 |
expected number of signal photons | |
double | m_expectedDelta = 0 |
expected number of delta-ray photons | |
double | m_bkg = 0 |
background [photons/bin] | |
double | m_binSize = 0 |
bin size | |
std::vector< double > | m_logF |
log(PDF) values | |
double | m_logBkg = 0 |
log(m_bkg) | |
Binned one dimensional PDF (a projection of PDF to time axis)
PDF1Dim | ( | const PDFConstructor & | pdfConstructor, |
double | binSize, | ||
double | timeWindow | ||
) |
Full constructor.
pdfConstructor | reconstruction object |
binSize | approximate bin size (use getBinSize() to get the actual one) |
timeWindow | full time window size |
Definition at line 22 of file PDF1Dim.cc.
|
inline |
|
inline |
|
inline |
|
inline |
TH1F getHistogram | ( | std::string | name, |
std::string | title | ||
) | const |
Returns binned one dimensional PDF (projection to time axis)
name | histogram name |
title | histogram title |
Definition at line 108 of file PDF1Dim.cc.
double getLogL | ( | double | timeShift | ) | const |
Returns log likelihood.
timeShift | time shift of PDF |
Definition at line 92 of file PDF1Dim.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |