Jpp
debug
the software that should make you happy
|
Regressor function object for fit of muon energy. 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 |
typedef minimiser_type::result_type | result_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 JAxis3D &axis, const double R_Hz) const |
Create data structure for handling light yields for PMT. More... | |
double | getRmax () const |
Get maximal road width of NPE. More... | |
result_type | operator() (const JEnergy &value, T __begin, T __end) |
Global fit. More... | |
template<class JFunction_t , class T > | |
result_type | 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 > | YA |
light from delta-rays More... | |
std::vector< JNPE_t > | YB |
light from EM showers More... | |
JLANG::JSinglePointer< JMEstimator > | estimator |
M-Estimator function. More... | |
JModel_t | 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 = 6 |
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 fit of muon energy.
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 80 of file JRegressor.hh.
|
inherited |
Definition at line 81 of file JRegressor.hh.
|
inherited |
Definition at line 82 of file JRegressor.hh.
|
inline |
Constructor.
The PDF file descriptor should contain the wild card character JPHYSICS::WILDCARD 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 125 of file JEnergyRegressor.hh.
|
inline |
Create data structure for handling light yields for PMT.
Note that the PMT geometry should be relative to the muon trajectory, conform method JGEOMETRY3D::JAxis3D::transform.
axis | PMT axis |
R_Hz | singles rate [Hz] |
Definition at line 143 of file JEnergyRegressor.hh.
|
inline |
Get maximal road width of NPE.
Definition at line 170 of file JEnergyRegressor.hh.
|
inlinestaticprotected |
Get maximal road width of PDF.
NPE | NPE tables |
Definition at line 197 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 220 of file JEnergyRegressor.hh.
|
inlineinherited |
Global fit.
value | start value |
__begin | begin of data set |
__end | end of data set |
Definition at line 94 of file JRegressor.hh.
|
inlineinherited |
Get chi2.
fit | fit function |
__begin | begin of data |
__end | end of data |
Definition at line 48 of file JRegressor.hh.
std::vector<JNPE_t> JFIT::JRegressor< JEnergy >::Y1 |
light from muon
Definition at line 176 of file JEnergyRegressor.hh.
std::vector<JNPE_t> JFIT::JRegressor< JEnergy >::YA |
light from delta-rays
Definition at line 177 of file JEnergyRegressor.hh.
std::vector<JNPE_t> JFIT::JRegressor< JEnergy >::YB |
light from EM showers
Definition at line 178 of file JEnergyRegressor.hh.
|
static |
Time window with respect to Cherenkov hypothesis [ns].
Time range.
Definition at line 180 of file JEnergyRegressor.hh.
|
static |
Definition at line 183 of file JEnergyRegressor.hh.
|
static |
PDF types.
Definition at line 185 of file JEnergyRegressor.hh.
JLANG::JSinglePointer<JMEstimator> JFIT::JRegressor< JEnergy >::estimator |
M-Estimator function.
Definition at line 187 of file JEnergyRegressor.hh.
|
inherited |
model value
Definition at line 59 of file JRegressor.hh.
|
staticinherited |
debug level (default is off).
Definition at line 45 of file JMessage.hh.