Jpp
debug
the software that should make you happy
|
Regressor function object for JShower3EZ fit using Abstract minimiser, that just computes the chi2 without a fit. 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::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 JAbstractMinimiser< JShower3EZ > | minimiser_type |
typedef JRegressor< JShower3EZ, JAbstractMinimiser > | regressor_type |
typedef minimiser_type::result_type | result_type |
Public Member Functions | |
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 cd, const double theta, const double phi, const double E) const |
Get signal hypothesis value for time integrated PDF. More... | |
JNPE_t::result_type | getH1 (const JShower3EZ &shower, const JPMTW0 &pmt) const |
Get signal hypothesis value for time integrated PDF. More... | |
result_type | operator() (const JShower3EZ &value, T __begin, T __end) |
Global fit. More... | |
template<class JFunction_t , class T > | |
result_type | operator() (const JFunction_t &fit, T __begin, T __end) |
Get chi2. More... | |
Public Attributes | |
JNPE_t | npe [NUMBER_OF_PDFS] |
PDF. More... | |
JLANG::JSharedPointer< JMEstimator > | estimator |
M-Estimator function. More... | |
JModel_t | value |
model value More... | |
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] |
static int | debug = 0 |
debug level (default is off). More... | |
Regressor function object for JShower3EZ fit using Abstract minimiser, that just computes the chi2 without a fit.
Definition at line 478 of file JShower3EZRegressor.hh.
typedef JTOOLS::JSplineFunction1S_t JFIT::JRegressor< JShower3EZ, JAbstractMinimiser >::JFunction1D_t |
Definition at line 483 of file JShower3EZRegressor.hh.
Definition at line 487 of file JShower3EZRegressor.hh.
typedef JPHYSICS::JPDFTable<JFunction1D_t, JPDFMaplist_t> JFIT::JRegressor< JShower3EZ, JAbstractMinimiser >::JPDF_t |
Definition at line 488 of file JShower3EZRegressor.hh.
Definition at line 493 of file JShower3EZRegressor.hh.
typedef JPHYSICS::JNPETable<double, double, JNPEMaplist_t> JFIT::JRegressor< JShower3EZ, JAbstractMinimiser >::JNPE_t |
Definition at line 494 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.
|
inline |
Parameterized constructor.
The PDF file descriptor should contain the wild card character JPHYSICS::WILDCARD which will be replaced by the corresponding PDF types listed in JRegressor<JShower3Z, JGandalf>::pdf_t.
fileDescriptor | PDF file descriptor |
Definition at line 505 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 555 of file JShower3EZRegressor.hh.
|
inline |
Get background hypothesis value for time integrated PDF.
R_Hz | rate [Hz] |
Definition at line 595 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 610 of file JShower3EZRegressor.hh.
|
inline |
Get signal hypothesis value for time integrated PDF.
shower | shower |
pmt | pmt |
Definition at line 651 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 |
Get chi2.
fit | fit function |
__begin | begin of data |
__end | end of data |
Definition at line 48 of file JRegressor.hh.
|
static |
Time window with respect to Cherenkov hypothesis [ns].
Definition at line 677 of file JShower3EZRegressor.hh.
|
static |
Maximal integral of PDF [npe].
Definition at line 678 of file JShower3EZRegressor.hh.
|
static |
Definition at line 680 of file JShower3EZRegressor.hh.
|
static |
Definition at line 682 of file JShower3EZRegressor.hh.
PDF.
Definition at line 684 of file JShower3EZRegressor.hh.
JLANG::JSharedPointer<JMEstimator> JFIT::JRegressor< JShower3EZ, JAbstractMinimiser >::estimator |
M-Estimator function.
Definition at line 686 of file JShower3EZRegressor.hh.
|
inherited |
model value
Definition at line 59 of file JRegressor.hh.
|
staticinherited |
debug level (default is off).
Definition at line 45 of file JMessage.hh.