Jpp 19.3.0-rc.3
the software that should make you happy
|
Regressor function object for JShower3EZ fit using JGandalf minimiser. More...
#include <JShower3EZRegressor.hh>
Public Types | |
typedef JRegressorStorage< JShower3EZ, JSimplex > | storage_type |
typedef JSimplex< JShower3EZ > | minimiser_type |
typedef JRegressor< JShower3EZ, JSimplex > | regressor_type |
typedef minimiser_type::result_type | result_type |
typedef JTOOLS::JPolint1Function1D_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::JPolint0FunctionalMap, JTOOLS::JMapList< JTOOLS::JPolint0FunctionalMap, JTOOLS::JMapList< JTOOLS::JPolint0FunctionalGridMap, JTOOLS::JMapList< JTOOLS::JPolint0FunctionalGridMap > > > > | JNPEMaplist_t |
typedef JPHYSICS::JNPETable< double, double, JNPEMaplist_t > | JNPE_t |
typedef std::array< JNPE_t, NUMBER_OF_PDFS > | JNPEs_t |
NPEs. | |
Public Member Functions | |
JRegressor () | |
Default constructor. | |
JRegressor (const std::string &fileDescriptor) | |
Constructor. | |
JRegressor (const storage_type &storage) | |
Constructor. | |
double | operator() (const JShower3EZ &shower, const JPMTW0 &pmt) const |
Fit function. | |
JNPE_t::result_type | getH0 (const double R_Hz) const |
Get background hypothesis value for time integrated PDF. | |
JNPE_t::result_type | getH1 (const double D, const double cd, const double theta, const double phi, const double E) const |
Get signal hypothesis value for time integrated PDF. | |
result_type | operator() (const JShower3EZ &value, T __begin, T __end) |
Global fit. | |
double | operator() (const JFunction_t &fit, T __begin, T __end) |
Multi-dimensional fit. | |
double | operator() (const JFunction_t &fit, T __begin, T __end, const JShower3EZ &step) |
1D fit. | |
const JNPEs_t & | getNPE () const |
Get NPEs. | |
Public Attributes | |
const JNPEs_t & | npe |
std::shared_ptr< JMEstimator > | estimator |
M-Estimator function. | |
JShower3EZ | value |
std::vector< JShower3EZ > | step |
int | numberOfIterations |
Static Public Attributes | |
static JTimeRange | T_ns |
Time window with respect to Cherenkov hypothesis [ns]. | |
static double | Vmax_npe = std::numeric_limits<double>::max() |
Maximal integral of PDF [npe]. | |
static int | MAXIMUM_ITERATIONS |
maximal number of iterations | |
static double | EPSILON |
maximal distance to minimum | |
static int | debug = 0 |
debug level (default is off). | |
static const int | NUMBER_OF_PDFS = 2 |
static const JPDFType_t | pdf_t [NUMBER_OF_PDFS] |
PDF types. | |
Private Member Functions | |
double | evaluate (const JFunction_t &fit, T __begin, T __end) const |
Evaluate chi2 for given data set. | |
Private Attributes | |
JShower3EZ | p0 |
JShower3EZ | p1 |
JShower3EZ | wall |
JNPEs_t | _npe |
PDFs. | |
Regressor function object for JShower3EZ fit using JGandalf minimiser.
Definition at line 192 of file JShower3EZRegressor.hh.
JRegressorStorage<JShower3EZ, JSimplex> JFIT::JRegressor< JShower3EZ, JSimplex >::storage_type |
Definition at line 198 of file JShower3EZRegressor.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.
|
inherited |
Definition at line 97 of file JShower3EZRegressor.hh.
Definition at line 101 of file JShower3EZRegressor.hh.
|
inherited |
Definition at line 102 of file JShower3EZRegressor.hh.
|
inherited |
Definition at line 107 of file JShower3EZRegressor.hh.
|
inherited |
Definition at line 108 of file JShower3EZRegressor.hh.
|
inherited |
NPEs.
Definition at line 113 of file JShower3EZRegressor.hh.
|
inline |
Default constructor.
Definition at line 203 of file JShower3EZRegressor.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 JRegressorStorage<JShower3EZ, JSimplex>::pdf_t.
fileDescriptor | PDF file descriptor |
Definition at line 217 of file JShower3EZRegressor.hh.
|
inline |
|
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 242 of file JShower3EZRegressor.hh.
|
inline |
Get background hypothesis value for time integrated PDF.
R_Hz | rate [Hz] |
Definition at line 282 of file JShower3EZRegressor.hh.
|
inline |
Get signal hypothesis value for time integrated PDF.
D | PMT distance from shower [m] |
cd | cosine angle between shower direction and PMT position |
theta | PMT zenith angle [deg] |
phi | PMT azimuth angle [deg] |
E | shower energy [GeV] |
Definition at line 297 of file JShower3EZRegressor.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.
|
inlineprivateinherited |
Evaluate chi2 for given data set.
fit | fit function |
__begin | begin of data |
__end | end of data |
Definition at line 253 of file JSimplex.hh.
|
inlineinherited |
Get NPEs.
Definition at line 166 of file JShower3EZRegressor.hh.
|
static |
Time window with respect to Cherenkov hypothesis [ns].
Definition at line 332 of file JShower3EZRegressor.hh.
|
static |
Maximal integral of PDF [npe].
Definition at line 333 of file JShower3EZRegressor.hh.
const JNPEs_t& JFIT::JRegressor< JShower3EZ, JSimplex >::npe |
Definition at line 335 of file JShower3EZRegressor.hh.
std::shared_ptr<JMEstimator> JFIT::JRegressor< JShower3EZ, JSimplex >::estimator |
M-Estimator function.
Definition at line 337 of file JShower3EZRegressor.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.
|
mutableprivateinherited |
Definition at line 264 of file JSimplex.hh.
|
mutableprivateinherited |
Definition at line 265 of file JSimplex.hh.
|
mutableprivateinherited |
Definition at line 266 of file JSimplex.hh.
|
staticinherited |
debug level (default is off).
Definition at line 45 of file JMessage.hh.
|
staticinherited |
Definition at line 111 of file JShower3EZRegressor.hh.
|
staticinherited |
PDF types.
Definition at line 174 of file JShower3EZRegressor.hh.
|
privateinherited |
PDFs.
Definition at line 177 of file JShower3EZRegressor.hh.