Belle II Software
release-08-01-10
|
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. More... | |
void | setBackgroundPhiPDF (TF2 *bkgPhiPDF) |
Set background PDF function with flattening phi correction. More... | |
void | setThcResolution (TF1 *thcRes) |
Set function for cherenkov angle resolution vs. More... | |
void | setAerogelFOM (const std::vector< float > &aerogelFOM) |
Set aerogel figure of merit for cherenkov photon yield. More... | |
void | setFlatBkgPerPad (const float flatBkgPerPad) |
Set flat background per pad. More... | |
void | setParameters (const std::vector< float > &pars) |
Set additional cherenkov angle PDF parameters. More... | |
const std::vector< float > & | getParameters () const |
Get vector of additional cherenkov angle PDF parameters. More... | |
const TF1 * | getBackgroundPDF () const |
Get background PDF function. More... | |
const TF2 * | getBackgroundPhiPDF () const |
Get background PDF function (with phi correction) More... | |
double | getThcResolution (double momentum) const |
Get Cherenkov angle resolution (without smearing due to pad size!) at given track momentum. More... | |
double | getAerogelFOM (unsigned iLayer) const |
Get aerogel cherenkov photon yield for tile of selected layer. More... | |
float | getFlatBkgPerPad () const |
Get flat background per pad. More... | |
double | getBackgroundPerPad (double th_cer, const std::vector< double > &pars) const |
Get expected number of background hits for pad at given theta. More... | |
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. More... | |
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) More... | |
double | getNPadsInRing (double maxThc, double minThc=0.0, double trackTh=0.45) const |
Get average number of pads in ring. More... | |
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 |
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.
th_cer | pad theta 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.
|
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.