Jpp - the software that should make you happy
|
Regressor function object for JShower3EZ fit using JGandalf minimiser. More...
#include <JShower3EZRegressor.hh>
Public Types | |
typedef JTOOLS::JSplineFunction1S_t | JFunction1D_t |
typedef JTOOLS::JMapList < JTOOLS::JPolint0FunctionalMap, JTOOLS::JMapList < JTOOLS::JPolint0FunctionalMap, 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::JPolint1FunctionalGridMap, JTOOLS::JMapList < JTOOLS::JPolint1FunctionalGridMap > > > > | JNPEMaplist_t |
typedef JPHYSICS::JNPETable < double, double, JNPEMaplist_t > | JNPE_t |
typedef JGandalf< JShower3EZ > | minimiser_type |
typedef JRegressor< JShower3EZ, JGandalf > | regressor_type |
typedef minimiser_type::result_type | result_type |
typedef JShower3EZ::parameter_type | parameter_type |
Data type of fit parameter. More... | |
Public Member Functions | |
JRegressor (const std::string &fileDescriptor) | |
Parameterized constructor. More... | |
result_type | 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... | |
result_type | operator() (const JShower3EZ &value, T __begin, T __end) |
Global fit. More... | |
result_type | operator() (const JFunction_t &fit, T __begin, T __end, Args...args) |
Multi-dimensional fit of two data sets. More... | |
Public Attributes | |
JNPE_t | npe [NUMBER_OF_PDFS] |
PDF. More... | |
JLANG::JSharedPointer < JMEstimator > | estimator |
M-Estimator function. More... | |
double | lambda |
JShower3EZ | value |
JShower3EZ | error |
std::vector< parameter_type > | parameters |
int | numberOfIterations |
JMATH::JMatrixNS | V |
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 JFIT::JPDFType_t | pdf_t [NUMBER_OF_PDFS] |
static int | MAXIMUM_ITERATIONS |
maximal number of iterations More... | |
static double | EPSILON |
maximal distance to minimum More... | |
static double | LAMBDA_MIN |
minimal value control parameter More... | |
static double | LAMBDA_MAX |
maximal value control parameter More... | |
static double | LAMBDA_UP |
multiplication factor control parameter More... | |
static double | LAMBDA_DOWN |
multiplication factor control parameter More... | |
static double | PIVOT |
minimal value diagonal element of matrix More... | |
static int | debug = 0 |
debug level (default is off). More... | |
Regressor function object for JShower3EZ fit using JGandalf minimiser.
Definition at line 238 of file JShower3EZRegressor.hh.
Definition at line 243 of file JShower3EZRegressor.hh.
Definition at line 247 of file JShower3EZRegressor.hh.
typedef JPHYSICS::JPDFTable<JFunction1D_t, JPDFMaplist_t> JFIT::JRegressor< JShower3EZ, JGandalf >::JPDF_t |
Definition at line 248 of file JShower3EZRegressor.hh.
Definition at line 253 of file JShower3EZRegressor.hh.
typedef JPHYSICS::JNPETable<double, double, JNPEMaplist_t> JFIT::JRegressor< JShower3EZ, JGandalf >::JNPE_t |
Definition at line 254 of file JShower3EZRegressor.hh.
|
inherited |
Definition at line 78 of file JRegressor.hh.
|
inherited |
Definition at line 79 of file JRegressor.hh.
|
inherited |
Definition at line 80 of file JRegressor.hh.
|
inherited |
Data type of fit parameter.
Definition at line 63 of file JGandalf.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<JShower3Z, JGandalf>::pdf_t.
fileDescriptor | PDF file descriptor |
Definition at line 265 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 315 of file JShower3EZRegressor.hh.
|
inline |
Get background hypothesis value for time integrated PDF.
R_Hz | rate [Hz] |
Definition at line 376 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 391 of file JShower3EZRegressor.hh.
|
inlineinherited |
Global fit.
value | start value |
__begin | begin of data set |
__end | end of data set |
Definition at line 92 of file JRegressor.hh.
|
inlineinherited |
Multi-dimensional fit of two data sets.
The fit function should return the equivalent of chi2 for the current value of the model and the given data point as well as the partial derivatives.
fit | fit function |
__begin | begin of data |
__end | end of data |
args | optional data |
Definition at line 128 of file JGandalf.hh.
|
static |
Time window with respect to Cherenkov hypothesis [ns].
Definition at line 422 of file JShower3EZRegressor.hh.
|
static |
Maximal integral of PDF [npe].
Definition at line 423 of file JShower3EZRegressor.hh.
|
static |
Definition at line 425 of file JShower3EZRegressor.hh.
|
static |
Definition at line 427 of file JShower3EZRegressor.hh.
JNPE_t JFIT::JRegressor< JShower3EZ, JGandalf >::npe[NUMBER_OF_PDFS] |
PDF.
Definition at line 429 of file JShower3EZRegressor.hh.
JLANG::JSharedPointer<JMEstimator> JFIT::JRegressor< JShower3EZ, JGandalf >::estimator |
M-Estimator function.
Definition at line 431 of file JShower3EZRegressor.hh.
|
staticinherited |
maximal number of iterations
maximal number of iterations.
Definition at line 248 of file JGandalf.hh.
|
staticinherited |
maximal distance to minimum
maximal distance to minimum.
Definition at line 249 of file JGandalf.hh.
|
staticinherited |
minimal value control parameter
Definition at line 250 of file JGandalf.hh.
|
staticinherited |
maximal value control parameter
Definition at line 251 of file JGandalf.hh.
|
staticinherited |
multiplication factor control parameter
Definition at line 252 of file JGandalf.hh.
|
staticinherited |
multiplication factor control parameter
Definition at line 253 of file JGandalf.hh.
|
staticinherited |
minimal value diagonal element of matrix
Definition at line 254 of file JGandalf.hh.
|
inherited |
Definition at line 256 of file JGandalf.hh.
|
inherited |
Definition at line 257 of file JGandalf.hh.
|
inherited |
Definition at line 258 of file JGandalf.hh.
|
inherited |
Definition at line 259 of file JGandalf.hh.
|
inherited |
Definition at line 260 of file JGandalf.hh.
|
inherited |
Definition at line 261 of file JGandalf.hh.
|
staticinherited |
debug level (default is off).
Definition at line 45 of file JMessage.hh.