Jpp
18.2.0
the software that should make you happy
|
Regressor function object for JShower3EZ fit using JSimplex minimiser. More...
#include <JShowerEnergyRegressor.hh>
Public Types | |
typedef JTOOLS::JSplineFunction1S_t | JFunction1D_t |
typedef JTOOLS::JMAPLIST < JTOOLS::JPolint1FunctionalMap, JTOOLS::JPolint1FunctionalGridMap > ::maplist | JMapList_t |
typedef JPHYSICS::JPDFTable < JFunction1D_t, JMapList_t > | JPDF_t |
typedef JPHYSICS::JNPETable < double, double, JMapList_t > | JNPE_t |
typedef JSimplex< JEnergy > | minimiser_type |
typedef JRegressor< JEnergy, JSimplex > | regressor_type |
typedef minimiser_type::result_type | result_type |
Public Member Functions | |
JRegressor (const std::string &fileDescriptor) | |
Parameterized constructor. More... | |
double | operator() (const JEnergy &x, const JShowerNPEHit &npe) const |
Fit function. More... | |
JShowerNPE | getNPE (const JAxis3D &axis, const double R_Hz) const |
Create data structure for handling light yields for PMT. More... | |
result_type | operator() (const JEnergy &value, T __begin, T __end) |
Global fit. More... | |
double | operator() (const JFunction_t &fit, T __begin, T __end) |
Multi-dimensional fit. More... | |
double | operator() (const JFunction_t &fit, T __begin, T __end, const JEnergy &step) |
1D fit. More... | |
Static Public Member Functions | |
static double | getNPE (const std::vector< JNPE_t > &NPE, const double D, const double cd) |
Get number of photo-electrons. More... | |
Public Attributes | |
std::vector< JNPE_t > | Y |
light from EM showers More... | |
JLANG::JSharedPointer < JMEstimator > | estimator |
M-Estimator function. More... | |
JEnergy | value |
std::vector< JEnergy > | step |
int | numberOfIterations |
Static Public Attributes | |
static JTimeRange | T_ns |
Time window with respect to Cherenkov hypothesis [ns]. More... | |
static double | Vmax_npe = std::numeric_limits<double>::max() |
Maximal integral of PDF [npe]. More... | |
static const int | NUMBER_OF_PDFS = 2 |
static const JPDFType_t | pdf_t [NUMBER_OF_PDFS] |
PDF types. More... | |
static int | MAXIMUM_ITERATIONS |
maximal number of iterations More... | |
static double | EPSILON |
maximal distance to minimum More... | |
static int | debug = 0 |
debug level (default is off). More... | |
Regressor function object for JShower3EZ fit using JSimplex minimiser.
Definition at line 50 of file JShowerEnergyRegressor.hh.
Definition at line 55 of file JShowerEnergyRegressor.hh.
typedef JTOOLS::JMAPLIST<JTOOLS::JPolint1FunctionalMap, JTOOLS::JPolint1FunctionalGridMap>::maplist JFIT::JRegressor< JEnergy, JSimplex >::JMapList_t |
Definition at line 57 of file JShowerEnergyRegressor.hh.
typedef JPHYSICS::JPDFTable<JFunction1D_t, JMapList_t> JFIT::JRegressor< JEnergy, JSimplex >::JPDF_t |
Definition at line 58 of file JShowerEnergyRegressor.hh.
typedef JPHYSICS::JNPETable<double, double, JMapList_t> JFIT::JRegressor< JEnergy, JSimplex >::JNPE_t |
Definition at line 60 of file JShowerEnergyRegressor.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 |
Parameterized constructor.
The PDF file descriptor should contain the wild card character JPHYSICS::WILD_CARD which will be replaced by the corresponding PDF types listed in JRegressor<JEnergy, JSimplex>::pdf_t.
fileDescriptor | PDF file descriptor |
Definition at line 71 of file JShowerEnergyRegressor.hh.
|
inline |
Fit function.
This method is used to determine the chi2 of given PMT with respect to shower hypothesis.
x | energy |
npe | number of photoelectrons |
Definition at line 120 of file JShowerEnergyRegressor.hh.
|
inline |
Create data structure for handling light yields for PMT.
axis | PMT axis |
R_Hz | singles rate [Hz] |
Definition at line 137 of file JShowerEnergyRegressor.hh.
|
inlinestatic |
Get number of photo-electrons.
NPE | NPE tables |
D | PMT distance from shower [m] |
cd | cosine of the PMT angle wrt the photon direction |
Definition at line 165 of file JShowerEnergyRegressor.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 |
Multi-dimensional fit.
The given fit function should return the equivalent of chi2 for the current value of the given model and a given data point.
fit | fit function |
__begin | begin of data |
__end | end of data |
Definition at line 71 of file JSimplex.hh.
|
inlineinherited |
1D fit.
The given fit function should return the equivalent of chi2 for the current value of the given model and a given data point.
fit | fit function |
__begin | begin of data |
__end | end of data |
step | step direction |
Definition at line 178 of file JSimplex.hh.
|
static |
Time window with respect to Cherenkov hypothesis [ns].
Default values.
Definition at line 193 of file JShowerEnergyRegressor.hh.
|
static |
Maximal integral of PDF [npe].
Definition at line 194 of file JShowerEnergyRegressor.hh.
|
static |
Definition at line 196 of file JShowerEnergyRegressor.hh.
|
static |
PDF types.
Definition at line 198 of file JShowerEnergyRegressor.hh.
std::vector<JNPE_t> JFIT::JRegressor< JEnergy, JSimplex >::Y |
light from EM showers
Definition at line 200 of file JShowerEnergyRegressor.hh.
JLANG::JSharedPointer<JMEstimator> JFIT::JRegressor< JEnergy, JSimplex >::estimator |
M-Estimator function.
Definition at line 202 of file JShowerEnergyRegressor.hh.
|
staticinherited |
maximal number of iterations
maximal number of iterations.
Definition at line 237 of file JSimplex.hh.
|
staticinherited |
maximal distance to minimum
maximal distance to minimum.
Definition at line 238 of file JSimplex.hh.
|
inherited |
Definition at line 240 of file JSimplex.hh.
|
inherited |
Definition at line 241 of file JSimplex.hh.
|
inherited |
Definition at line 242 of file JSimplex.hh.
|
staticinherited |
debug level (default is off).
Definition at line 45 of file JMessage.hh.