Belle II Software development
|
The Class for ARICH reconstruction parameters. More...
#include <ARICHReconstructionPar.h>
Public Member Functions | |
ARICHReconstructionPar () | |
Default constructor. | |
void | initializeDefault () |
initializes "default" values of parameters | |
void | setBackgroundPDF (TF1 *bkgPDF) |
Set background PDF function for cherenkov angle distribution (vs. | |
void | setBackgroundPhiPDF (TF2 *bkgPhiPDF) |
Set background PDF function with flattening phi correction. | |
void | setThcResolution (TF1 *thcRes) |
Set function for cherenkov angle resolution vs. | |
void | setAerogelFOM (const std::vector< float > &aerogelFOM) |
Set aerogel figure of merit for cherenkov photon yield. | |
void | setFlatBkgPerPad (const float flatBkgPerPad) |
Set flat background per pad. | |
void | setParameters (const std::vector< float > &pars) |
Set additional cherenkov angle PDF parameters. | |
const std::vector< float > & | getParameters () const |
Get vector of additional cherenkov angle PDF parameters. | |
const TF1 * | getBackgroundPDF () const |
Get background PDF function. | |
const TF2 * | getBackgroundPhiPDF () const |
Get background PDF function (with phi correction) | |
double | getThcResolution (double momentum) const |
Get Cherenkov angle resolution (without smearing due to pad size!) at given track momentum. | |
double | getAerogelFOM (unsigned iLayer) const |
Get aerogel cherenkov photon yield for tile of selected layer. | |
float | getFlatBkgPerPad () const |
Get flat background per pad. | |
double | getBackgroundPerPad (double th_cer, const std::vector< double > &pars) const |
Get expected number of background hits for pad at given theta. | |
double | getPhiCorrectedBackgroundPerPad (double fi_cer_trk, double th_cer, const std::vector< double > &pars) const |
Get expected number of background hits for pad at given theta at given phi_Cer_trk (flat background in Cherenkov s)pace. | |
double | getExpectedBackgroundHits (const std::vector< double > &pars, double minThc=0.1, double maxThc=0.5) const |
Get number of expected background hits in ring (0.1<theta<0.5rad by default) | |
double | getNPadsInRing (double maxThc, double minThc=0.0, double trackTh=0.45) const |
Get average number of pads in ring. | |
void | print () const |
Print parameters values. | |
Private Member Functions | |
ClassDef (ARICHReconstructionPar, 2) | |
ClassDef, must be the last term before the closing {}. | |
Private Attributes | |
TF2 * | m_bkgPhiPDF = NULL |
background PDF function with phi correction | |
TF1 * | m_bkgPDF = NULL |
background PDF function (function of theta) | |
TF1 * | m_thcResolution = NULL |
cherenkov angle resolution (function of track momentum) | |
std::vector< float > | m_pars |
vector of other pdf parameters | |
std::vector< float > | m_aerogelFOM |
aerogel figure of merit (for photon yield) | |
float | m_flatBkgPerPad = 0.0 |
expected background hits per pad (treated flat over detector surface) | |
The Class for ARICH reconstruction parameters.
This class provides ARICH parameters for reconstruction (i.e. likelihood calculation)
Definition at line 25 of file ARICHReconstructionPar.h.
|
inline |
|
inline |
Get aerogel cherenkov photon yield for tile of selected layer.
iLayer | aerogel layer |
Definition at line 132 of file ARICHReconstructionPar.h.
|
inline |
Get background PDF function.
Definition at line 103 of file ARICHReconstructionPar.h.
double getBackgroundPerPad | ( | double | th_cer, |
const std::vector< double > & | pars | ||
) | const |
Get expected number of background hits for pad at given theta.
th_cer | pad theta angle |
pars | vector of parameters for PDF (beta, track hits HAPD window (1 or 0)) |
Definition at line 41 of file ARICHReconstructionPar.cc.
|
inline |
Get background PDF function (with phi correction)
Definition at line 112 of file ARICHReconstructionPar.h.
double getExpectedBackgroundHits | ( | const std::vector< double > & | pars, |
double | minThc = 0.1 , |
||
double | maxThc = 0.5 |
||
) | const |
Get number of expected background hits in ring (0.1<theta<0.5rad by default)
pars | vector of parameters for PDF (beta, track hits HAPD window (1 or 0)) |
minThc | inner theta angle of ring |
maxThc | outter theta angle of ring |
Definition at line 64 of file ARICHReconstructionPar.cc.
|
inline |
Get flat background per pad.
Definition at line 141 of file ARICHReconstructionPar.h.
double getNPadsInRing | ( | double | maxThc, |
double | minThc = 0.0 , |
||
double | trackTh = 0.45 |
||
) | const |
Get average number of pads in ring.
maxThc | outter theta angle of ring |
minThc | inner theta angle of ring |
trackTh | theta angle of track (global coordinates, z axis theta = 0) |
Definition at line 86 of file ARICHReconstructionPar.cc.
|
inline |
Get vector of additional cherenkov angle PDF parameters.
Definition at line 94 of file ARICHReconstructionPar.h.
double getPhiCorrectedBackgroundPerPad | ( | double | fi_cer_trk, |
double | th_cer, | ||
const std::vector< double > & | pars | ||
) | const |
Get expected number of background hits for pad at given theta at given phi_Cer_trk (flat background in Cherenkov s)pace.
fi_cer_trk | pad phi angle |
th_cer | pad theta angle |
pars | vector of parameters for PDF (beta, track hits HAPD window (1 or 0)) |
Definition at line 52 of file ARICHReconstructionPar.cc.
|
inline |
Get Cherenkov angle resolution (without smearing due to pad size!) at given track momentum.
momentum | track momentum |
Definition at line 122 of file ARICHReconstructionPar.h.
void initializeDefault | ( | ) |
initializes "default" values of parameters
Definition at line 18 of file ARICHReconstructionPar.cc.
void print | ( | ) | const |
Print parameters values.
Definition at line 95 of file ARICHReconstructionPar.cc.
|
inline |
Set aerogel figure of merit for cherenkov photon yield.
aerogelFOM | vector of aerogel layers FOMs |
Definition at line 67 of file ARICHReconstructionPar.h.
|
inline |
Set background PDF function for cherenkov angle distribution (vs.
theta)
bkgPDF | background PDF |
Definition at line 39 of file ARICHReconstructionPar.h.
|
inline |
Set background PDF function with flattening phi correction.
bkgPhiPDF | background PDF f(phi, theta) |
Definition at line 48 of file ARICHReconstructionPar.h.
|
inline |
Set flat background per pad.
flatBkgPerPad | value of flat background per pad |
Definition at line 76 of file ARICHReconstructionPar.h.
|
inline |
Set additional cherenkov angle PDF parameters.
pars | vector of parameters |
Definition at line 85 of file ARICHReconstructionPar.h.
|
inline |
Set function for cherenkov angle resolution vs.
momentum
thcRes | cherenkov angle resolution vs. momentum function |
Definition at line 58 of file ARICHReconstructionPar.h.
|
private |
aerogel figure of merit (for photon yield)
Definition at line 194 of file ARICHReconstructionPar.h.
|
mutableprivate |
background PDF function (function of theta)
Definition at line 191 of file ARICHReconstructionPar.h.
|
mutableprivate |
background PDF function with phi correction
Definition at line 190 of file ARICHReconstructionPar.h.
|
private |
expected background hits per pad (treated flat over detector surface)
Definition at line 195 of file ARICHReconstructionPar.h.
|
private |
vector of other pdf parameters
Definition at line 193 of file ARICHReconstructionPar.h.
|
private |
cherenkov angle resolution (function of track momentum)
Definition at line 192 of file ARICHReconstructionPar.h.