Jpp
|
Regressor function object for JPoint4D fit using JGandalf minimiser. More...
#include <JShowerBrightPointRegressor.hh>
Public Types | |
typedef JTOOLS::JSplineFunction1S_t | JFunction1D_t |
typedef JTOOLS::JMAPLIST < JTOOLS::JPolint2FunctionalMap, JTOOLS::JPolint1FunctionalGridMap > ::maplist | JPDFMapList_t |
typedef JPHYSICS::JPDFTable < JFunction1D_t, JPDFMapList_t > | JPDF_t |
typedef JGandalf< JPoint4D > | minimiser_type |
typedef JRegressor< JPoint4D, JGandalf > | regressor_type |
typedef minimiser_type::result_type | result_type |
typedef JPoint4D::parameter_type | parameter_type |
Data type of fit parameter. More... | |
Public Member Functions | |
JRegressor (const std::string &fileDescriptor, const double TTS, const int numberOfPoints=25, const double epsilon=1.0e-10) | |
Parameterized constructor. More... | |
result_type | operator() (const JPoint4D &vx, const JHitW0 &hit) const |
Fit function. More... | |
JPDF_t::result_type | getH0 (const double R_Hz, const double t1) const |
Get background hypothesis value for time differentiated PDF. More... | |
JPDF_t::result_type | getH1 (const double D, const double ct, const double t, const double E) const |
Get signal hypothesis value for bright point emission PDF. More... | |
double | getRmax () const |
Get maximal road width of PDF. More... | |
result_type | operator() (const JPoint4D &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 | |
JPDF_t | pdf [NUMBER_OF_PDFS] |
PDF. More... | |
double | E_GeV |
Energy of the shower [GeV]. More... | |
double | lambda |
JPoint4D | value |
JPoint4D | error |
std::vector< parameter_type > | parameters |
int | numberOfIterations |
JMATH::JMatrixNS | H |
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 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 JPoint4D fit using JGandalf minimiser.
Definition at line 44 of file JShowerBrightPointRegressor.hh.
Definition at line 49 of file JShowerBrightPointRegressor.hh.
typedef JTOOLS::JMAPLIST<JTOOLS::JPolint2FunctionalMap, JTOOLS::JPolint1FunctionalGridMap>::maplist JFIT::JRegressor< JPoint4D, JGandalf >::JPDFMapList_t |
Definition at line 51 of file JShowerBrightPointRegressor.hh.
typedef JPHYSICS::JPDFTable<JFunction1D_t, JPDFMapList_t> JFIT::JRegressor< JPoint4D, JGandalf >::JPDF_t |
Definition at line 52 of file JShowerBrightPointRegressor.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.
fileDescriptor | PDF file descriptor |
TTS | TTS [ns] |
numberOfPoints | number of points for Gauss-Hermite integration of TTS |
epsilon | precision for Gauss-Hermite integration of TTS |
Definition at line 66 of file JShowerBrightPointRegressor.hh.
|
inline |
Fit function.
This method is used to determine the chi2 and gradient of given hit with respect a bright point emitting isotropically
JHitW0 refers to a data structure which should have the following member methods:
vx | shower vertex |
hit | hit |
Definition at line 130 of file JShowerBrightPointRegressor.hh.
|
inline |
Get background hypothesis value for time differentiated PDF.
R_Hz | rate [Hz] |
t1 | time [ns] |
Definition at line 182 of file JShowerBrightPointRegressor.hh.
|
inline |
Get signal hypothesis value for bright point emission PDF.
D | HIT distance from shower vertex [m] |
ct | cosine of the HIT angle |
t | arrival time of the light |
E | shower energy [GeV] |
Definition at line 199 of file JShowerBrightPointRegressor.hh.
|
inline |
Get maximal road width of PDF.
Definition at line 235 of file JShowerBrightPointRegressor.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 |
Definition at line 127 of file JGandalf.hh.
|
static |
Time window with respect to Cherenkov hypothesis [ns].
Default values.
Definition at line 252 of file JShowerBrightPointRegressor.hh.
|
static |
Maximal integral of PDF [npe].
Definition at line 253 of file JShowerBrightPointRegressor.hh.
|
static |
Definition at line 255 of file JShowerBrightPointRegressor.hh.
|
static |
PDF types.
Definition at line 257 of file JShowerBrightPointRegressor.hh.
JPDF_t JFIT::JRegressor< JPoint4D, JGandalf >::pdf[NUMBER_OF_PDFS] |
PDF.
Definition at line 259 of file JShowerBrightPointRegressor.hh.
double JFIT::JRegressor< JPoint4D, JGandalf >::E_GeV |
Energy of the shower [GeV].
Definition at line 261 of file JShowerBrightPointRegressor.hh.
|
staticinherited |
maximal number of iterations
maximal number of iterations.
Definition at line 247 of file JGandalf.hh.
|
staticinherited |
maximal distance to minimum
maximal distance to minimum.
Definition at line 248 of file JGandalf.hh.
|
staticinherited |
minimal value control parameter
Definition at line 249 of file JGandalf.hh.
|
staticinherited |
maximal value control parameter
Definition at line 250 of file JGandalf.hh.
|
staticinherited |
multiplication factor control parameter
Definition at line 251 of file JGandalf.hh.
|
staticinherited |
multiplication factor control parameter
Definition at line 252 of file JGandalf.hh.
|
staticinherited |
minimal value diagonal element of matrix
Definition at line 253 of file JGandalf.hh.
|
inherited |
Definition at line 255 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.
|
staticinherited |
debug level (default is off).
Definition at line 45 of file JMessage.hh.