Jpp
|
Regressor function object for JEnergy fit. More...
#include <JEnergyRegressor.hh>
Public Types | |
typedef JTOOLS::JMAPLIST < JTOOLS::JPolint1FunctionalMap, JTOOLS::JPolint1FunctionalGridMap, JTOOLS::JPolint1FunctionalGridMap > ::maplist | JNPEMaplist_t |
typedef JPHYSICS::JNPETable < double, double, JNPEMaplist_t > | JNPE_t |
typedef JAbstractMinimiser < JEnergy > | minimiser_type |
typedef JRegressor< JEnergy, JAbstractMinimiser > | regressor_type |
Public Member Functions | |
JRegressor (const std::string &fileDescriptor) | |
Constructor. More... | |
double | operator() (const JEnergy &x, const JNPEHit &npe) const |
Fit function. More... | |
JNPE | getNPE (const JPMT &pmt, const double R_Hz) const |
Create data structure for handling light yields for PMT. More... | |
JNPE | getNPE (const JModule &module, const JK40Rates &rates_Hz) const |
Create data structure for handling light yields for module. More... | |
double | getRmax () const |
Get maximal road width of NPE. More... | |
double | operator() (const JEnergy &value, T __begin, T __end) |
Global fit. More... | |
double | operator() (const JEnergy &value, T1 __begin1, T1 __end1, T2 __begin2, T2 __end2) |
Global fit. More... | |
double | operator() (const JFunction_t &fit, T __begin, T __end) |
Get chi2. More... | |
Public Attributes | |
std::vector< JNPE_t > | Y1 |
light from muon More... | |
std::vector< JNPE_t > | YB |
light from EM showers More... | |
JLANG::JSinglePointer < JMEstimator > | estimator |
M-Estimator function. More... | |
JEnergy | value |
model value More... | |
Static Public Attributes | |
static JTimeRange | T_ns |
Time window with respect to Cherenkov hypothesis [ns]. More... | |
static const int | NUMBER_OF_PDFS = 4 |
static const JPDFType_t | pdf_t [NUMBER_OF_PDFS] |
PDF types. More... | |
static int | debug = 0 |
debug level (default is off). More... | |
Static Protected Member Functions | |
static double | getRmax (const std::vector< JNPE_t > &NPE) |
Get maximal road width of PDF. More... | |
static double | getNPE (const std::vector< JNPE_t > &NPE, const double R, const double theta, const double phi) |
Get number of photo-electrons. More... | |
Regressor function object for JEnergy fit.
Definition at line 49 of file JEnergyRegressor.hh.
typedef JTOOLS::JMAPLIST<JTOOLS::JPolint1FunctionalMap, JTOOLS::JPolint1FunctionalGridMap, JTOOLS::JPolint1FunctionalGridMap>::maplist JFIT::JRegressor< JEnergy >::JNPEMaplist_t |
Definition at line 57 of file JEnergyRegressor.hh.
typedef JPHYSICS::JNPETable<double, double, JNPEMaplist_t> JFIT::JRegressor< JEnergy >::JNPE_t |
Definition at line 58 of file JEnergyRegressor.hh.
|
inherited |
Definition at line 76 of file JRegressor.hh.
|
inherited |
Definition at line 77 of file JRegressor.hh.
|
inline |
Constructor.
The PDF file descriptor should contain the wild card character JPHYSICS::WILD_CARD which will be replaced by the PDF types listed in JRegressor<JEnergy, JSimplex>::pdf_t.
fileDescriptor | PDF file descriptor |
Definition at line 69 of file JEnergyRegressor.hh.
|
inline |
Fit function.
This method is used to determine chi2 of given number of photo-electrons for given energy of muon.
x | energy |
npe | npe |
Definition at line 122 of file JEnergyRegressor.hh.
|
inline |
Create data structure for handling light yields for PMT.
Note that the PMT geometry is relative to the muon trajectory, conform method JDETECTOR::JPMT::transform.
pmt | PMT |
R_Hz | singles rate [Hz] |
Definition at line 140 of file JEnergyRegressor.hh.
|
inline |
Create data structure for handling light yields for module.
Note that the module geometry is relative to the muon trajectory, conform method JDETECTOR::JModule::transform.
module | module |
rates_Hz | K40 singles and multiples rates [Hz] |
Definition at line 169 of file JEnergyRegressor.hh.
|
inline |
Get maximal road width of NPE.
Definition at line 199 of file JEnergyRegressor.hh.
|
inlinestaticprotected |
Get maximal road width of PDF.
NPE | NPE tables |
Definition at line 226 of file JEnergyRegressor.hh.
|
inlinestaticprotected |
Get number of photo-electrons.
NPE | NPE tables |
R | distance between muon and PMT [m] |
theta | zenith angle orientation PMT [rad] |
phi | azimuth angle orientation PMT [rad] |
Definition at line 249 of file JEnergyRegressor.hh.
|
inlineinherited |
Global fit.
value | start value |
__begin | begin of data set |
__end | end of data set |
Definition at line 89 of file JRegressor.hh.
|
inlineinherited |
Global fit.
value | start value |
__begin1 | begin of first data set |
__end1 | end of first data set |
__begin2 | begin of second data set |
__end2 | end of second data set |
Definition at line 108 of file JRegressor.hh.
|
inlineinherited |
Get chi2.
fit | fit function |
__begin | begin of data |
__end | end of data |
Definition at line 44 of file JRegressor.hh.
std::vector<JNPE_t> JFIT::JRegressor< JEnergy >::Y1 |
light from muon
Definition at line 206 of file JEnergyRegressor.hh.
std::vector<JNPE_t> JFIT::JRegressor< JEnergy >::YB |
light from EM showers
Definition at line 207 of file JEnergyRegressor.hh.
|
static |
Time window with respect to Cherenkov hypothesis [ns].
Time range.
Definition at line 209 of file JEnergyRegressor.hh.
|
static |
Definition at line 212 of file JEnergyRegressor.hh.
|
static |
JLANG::JSinglePointer<JMEstimator> JFIT::JRegressor< JEnergy >::estimator |
M-Estimator function.
Definition at line 216 of file JEnergyRegressor.hh.
|
inherited |
model value
Definition at line 55 of file JRegressor.hh.
|
staticinherited |
debug level (default is off).
Definition at line 43 of file JMessage.hh.