Jpp
|
Regressor function object for JShower3EZ fit using JSimplex minimiser. More...
#include <JShower3EZRegressor.hh>
Public Types | |
typedef JTOOLS::JSplineFunction1S_t | JFunction1D_t |
typedef JTOOLS::JMapList < JTOOLS::JPolint1FunctionalMap, JTOOLS::JMapList < JTOOLS::JPolint1FunctionalMap, JTOOLS::JMapList < JTOOLS::JPolint0FunctionalGridMap, JTOOLS::JMapList < JTOOLS::JPolint0FunctionalGridMap > > > > | JPDFMaplist_t |
typedef JPHYSICS::JPDFTable < JFunction1D_t, JPDFMaplist_t > | JPDF_t |
typedef JTOOLS::JMapList < JTOOLS::JPolint1FunctionalMapH, JTOOLS::JMapList < JTOOLS::JPolint1FunctionalMap, JTOOLS::JMapList < JTOOLS::JPolint0FunctionalGridMap, JTOOLS::JMapList < JTOOLS::JPolint0FunctionalGridMap > > > > | JNPEMaplist_t |
typedef JPHYSICS::JNPETable < double, double, JNPEMaplist_t > | JNPE_t |
typedef JSimplex< JShower3EZ > | minimiser_type |
typedef JRegressor< JShower3EZ, JSimplex > | regressor_type |
Public Member Functions | |
JRegressor () | |
Default constructor. More... | |
JRegressor (const std::string &fileDescriptor) | |
Parameterized constructor. More... | |
double | operator() (const JShower3EZ &shower, const JPMTW0 &pmt) const |
Fit function. More... | |
JNPE_t::result_type | getH0 (const double R_Hz) const |
Get background hypothesis value for time integrated PDF. More... | |
JNPE_t::result_type | getH1 (const double D, const double cosDelta, const double theta, const double phi, const double E) const |
Get signal hypothesis value for time integrated PDF. More... | |
double | getRmax () const |
Get maximal road width of PDF. More... | |
double | operator() (const JShower3EZ &value, T __begin, T __end) |
Global fit. More... | |
double | operator() (const JShower3EZ &value, T1 __begin1, T1 __end1, T2 __begin2, T2 __end2) |
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 JShower3EZ &step) |
1D fit. More... | |
Public Attributes | |
JPDF_t | pdf [NUMBER_OF_PDFS] |
PDF. More... | |
JNPE_t | npe [NUMBER_OF_PDFS] |
PDF. More... | |
JLANG::JSharedPointer < JMEstimator > | estimator |
M-Estimator function. More... | |
JShower3EZ | value |
std::vector< JShower3EZ > | 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 = 1 |
static const JPDFType_t | pdf_t [NUMBER_OF_PDFS] = { DIRECT_LIGHT_FROM_EMSHOWER } |
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 44 of file JShower3EZRegressor.hh.
Definition at line 49 of file JShower3EZRegressor.hh.
Definition at line 53 of file JShower3EZRegressor.hh.
typedef JPHYSICS::JPDFTable<JFunction1D_t, JPDFMaplist_t> JFIT::JRegressor< JShower3EZ, JSimplex >::JPDF_t |
Definition at line 54 of file JShower3EZRegressor.hh.
Definition at line 59 of file JShower3EZRegressor.hh.
typedef JPHYSICS::JNPETable<double, double, JNPEMaplist_t> JFIT::JRegressor< JShower3EZ, JSimplex >::JNPE_t |
Definition at line 60 of file JShower3EZRegressor.hh.
|
inherited |
Definition at line 76 of file JRegressor.hh.
|
inherited |
Definition at line 77 of file JRegressor.hh.
|
inline |
|
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<JShower3Z, JGandalf>::pdf_t.
fileDescriptor | PDF file descriptor |
Definition at line 77 of file JShower3EZRegressor.hh.
|
inline |
Fit function.
This method is used to determine the chi2 of given PMT with respect to shower hypothesis.
shower | shower |
pmt | pmt |
Definition at line 120 of file JShower3EZRegressor.hh.
|
inline |
Get background hypothesis value for time integrated PDF.
R_Hz | rate [Hz] |
Definition at line 161 of file JShower3EZRegressor.hh.
|
inline |
Get signal hypothesis value for time integrated PDF.
D | PMT distance from shower [m] |
cosDelta | angle between shower direction and PMT position |
theta | PMT zenith angle [deg] |
phi | PMT azimuth angle [deg] |
E | shower energy [GeV] |
Definition at line 176 of file JShower3EZRegressor.hh.
|
inline |
Get maximal road width of PDF.
Definition at line 212 of file JShower3EZRegressor.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 |
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 69 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 171 of file JSimplex.hh.
|
static |
Time window with respect to Cherenkov hypothesis [ns].
Default values.
Definition at line 228 of file JShower3EZRegressor.hh.
|
static |
Maximal integral of PDF [npe].
Definition at line 229 of file JShower3EZRegressor.hh.
|
static |
Definition at line 231 of file JShower3EZRegressor.hh.
|
static |
PDF types.
Definition at line 233 of file JShower3EZRegressor.hh.
JPDF_t JFIT::JRegressor< JShower3EZ, JSimplex >::pdf[NUMBER_OF_PDFS] |
PDF.
Definition at line 235 of file JShower3EZRegressor.hh.
JNPE_t JFIT::JRegressor< JShower3EZ, JSimplex >::npe[NUMBER_OF_PDFS] |
PDF.
Definition at line 236 of file JShower3EZRegressor.hh.
JLANG::JSharedPointer<JMEstimator> JFIT::JRegressor< JShower3EZ, JSimplex >::estimator |
M-Estimator function.
Definition at line 238 of file JShower3EZRegressor.hh.
|
staticinherited |
maximal number of iterations
maximal number of iterations.
Definition at line 224 of file JSimplex.hh.
|
staticinherited |
maximal distance to minimum
maximal distance to minimum.
Definition at line 225 of file JSimplex.hh.
|
inherited |
Definition at line 227 of file JSimplex.hh.
|
inherited |
Definition at line 228 of file JSimplex.hh.
|
inherited |
Definition at line 229 of file JSimplex.hh.
|
staticinherited |
debug level (default is off).
Definition at line 43 of file JMessage.hh.