|
Jpp 20.0.0-rc.9-29-gccc23c492-D
the software that should make you happy
|
Regressor function object for JLine3Z fit using JGandalf minimiser. More...
#include <JLine3ZRegressor.hh>
Public Types | |
| typedef JRegressorStorage< JLine3Z, JGandalf > | storage_type |
| typedef JGandalf< JLine3Z > | minimiser_type |
| typedef JRegressor< JLine3Z, JGandalf > | regressor_type |
| typedef minimiser_type::result_type | result_type |
| typedef JTOOLS::JSplineFunction1S_t | JFunction1D_t |
| typedef JTOOLS::JMAPLIST< JTOOLS::JPolint1FunctionalMap, JTOOLS::JPolint0FunctionalGridMap, JTOOLS::JPolint0FunctionalGridMap >::maplist | JPDFMaplist_t |
| typedef JPHYSICS::JPDFTable< JFunction1D_t, JPDFMaplist_t > | JPDF_t |
| time dependent PDF | |
| typedef JTOOLS::JMAPLIST< JTOOLS::JPolint1FunctionalMapH, JTOOLS::JPolint1FunctionalGridMap, JTOOLS::JPolint1FunctionalGridMap >::maplist | JNPEMaplist_t |
| typedef JPHYSICS::JNPETable< double, double, JNPEMaplist_t > | JNPE_t |
| time integrated PDF | |
| typedef JPDF_t::transformer_type | transformer_type |
| typedef std::array< JPDF_t, NUMBER_OF_PDFS > | JPDFs_t |
| PDFs. | |
| typedef std::array< JNPE_t, NUMBER_OF_PDFS > | JNPEs_t |
| NPEs. | |
Public Member Functions | |
| JRegressor () | |
| Default constructor. | |
| JRegressor (const std::string &fileDescriptor, const JTimeRange &T_ns, const double TTS_ns, const int numberOfPoints=25, const double epsilon=1.0e-10) | |
| Constructor. | |
| JRegressor (const storage_type &storage) | |
| Constructor. | |
| template<class JHit_t > | |
| result_type | operator() (const JLine3Z &track, const JHit_t &hit) const |
| Fit function. | |
| result_type | operator() (const JLine3Z &track, const JPMTW0 &pmt) const |
| Fit function. | |
| JPDF_t::result_type | getH0 (const double R_Hz, const double t1) const |
| Get background hypothesis value for time differentiated PDF. | |
| JPDF_t::result_type | getH1 (const double E, const double R, const double theta, const double phi, const double t1) const |
| Get signal hypothesis value for time differentiated PDF. | |
| 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 E, const double R, const double theta, const double phi) const |
| Get signal hypothesis value for time integrated PDF. | |
| double | getRmax () const |
| Get maximal road width of PDF. | |
| result_type | operator() (const JLine3Z &value, T __begin, T __end) |
| Global fit. | |
| const JPDFs_t & | getPDF () const |
| Get PDFs. | |
| const JNPEs_t & | getNPE () const |
| Get NPEs. | |
| void | transform (const transformer_type &transformer) |
| Transform PDFs and NPEs. | |
Public Attributes | |
| const JPDFs_t & | |
| PDF. | |
| const JNPEs_t & | npe |
| PDF. | |
| double | E_GeV = 0.0 |
| Energy of muon at vertex [GeV]. | |
| std::shared_ptr< JMEstimator > | estimator |
| M-Estimator function. | |
| JTimeRange | T_ns |
| Time window with respect to Cherenkov hypothesis [ns]. | |
Static Public Attributes | |
| static double | Vmax_npe = std::numeric_limits<double>::max() |
| Maximal integral of PDF [npe]. | |
| static const int | NUMBER_OF_PDFS = 6 |
| Number of PDFs. | |
| static const JPDFType_t | pdf_t [NUMBER_OF_PDFS] |
| PDF types. | |
Private Attributes | |
| JPDFs_t | _pdf |
| PDFs. | |
| JNPEs_t | _npe |
| NPEs. | |
Regressor function object for JLine3Z fit using JGandalf minimiser.
Definition at line 262 of file JLine3ZRegressor.hh.
| typedef JRegressorStorage<JLine3Z, JGandalf> JFIT::JRegressor< JLine3Z, JGandalf >::storage_type |
Definition at line 268 of file JLine3ZRegressor.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 115 of file JLine3ZRegressor.hh.
|
inherited |
Definition at line 118 of file JLine3ZRegressor.hh.
|
inherited |
time dependent PDF
Definition at line 119 of file JLine3ZRegressor.hh.
|
inherited |
Definition at line 123 of file JLine3ZRegressor.hh.
|
inherited |
time integrated PDF
Definition at line 124 of file JLine3ZRegressor.hh.
|
inherited |
Definition at line 126 of file JLine3ZRegressor.hh.
|
inherited |
PDFs.
Definition at line 130 of file JLine3ZRegressor.hh.
|
inherited |
NPEs.
Definition at line 131 of file JLine3ZRegressor.hh.
|
inline |
Default constructor.
Definition at line 273 of file JLine3ZRegressor.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<JLine3Z, JGandalf>::pdf_t.
The TTS_ns corresponds to the additional Gaussian time smearing applied to the PDFs.
| fileDescriptor | PDF file descriptor |
| T_ns | time range [ns] |
| TTS_ns | TTS [ns] |
| numberOfPoints | number of points for Gauss-Hermite integration of TTS |
| epsilon | precision for Gauss-Hermite integration of TTS |
Definition at line 295 of file JLine3ZRegressor.hh.
|
inline |
|
inline |
Fit function.
This method is used to determine the chi2 and gradient of given hit with respect to trajectory of muon.
The template argument JHit_t refers to a data structure which should have the following member methods:
| track | track |
| hit | hit |
Definition at line 339 of file JLine3ZRegressor.hh.
|
inline |
Fit function.
This method is used to determine the chi2 and gradient of given PMT with respect to trajectory of muon.
| track | track |
| pmt | pmt |
Definition at line 401 of file JLine3ZRegressor.hh.
|
inline |
Get background hypothesis value for time differentiated PDF.
| R_Hz | rate [Hz] |
| t1 | time [ns] |
Definition at line 461 of file JLine3ZRegressor.hh.
|
inline |
Get signal hypothesis value for time differentiated PDF.
| E | muon energy at minimum distance of approach [GeV] |
| R | minimum distance of approach [m] |
| theta | PMT zenith angle [rad] |
| phi | PMT azimuth angle [rad] |
| t1 | arrival time relative to Cherenkov hypothesis [ns] |
Definition at line 478 of file JLine3ZRegressor.hh.
|
inline |
Get background hypothesis value for time integrated PDF.
| R_Hz | rate [Hz] |
Definition at line 528 of file JLine3ZRegressor.hh.
|
inline |
Get signal hypothesis value for time integrated PDF.
| E | muon energy at minimum distance of approach [GeV] |
| R | minimum distance of approach [m] |
| theta | PMT zenith angle [rad] |
| phi | PMT azimuth angle [rad] |
Definition at line 543 of file JLine3ZRegressor.hh.
|
inline |
Get maximal road width of PDF.
Definition at line 591 of file JLine3ZRegressor.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 PDFs.
Definition at line 201 of file JLine3ZRegressor.hh.
|
inlineinherited |
Get NPEs.
Definition at line 212 of file JLine3ZRegressor.hh.
|
inlineinherited |
Transform PDFs and NPEs.
| transformer | transformer |
Definition at line 223 of file JLine3ZRegressor.hh.
|
static |
| const JPDFs_t& JFIT::JRegressor< JLine3Z, JGandalf >::pdf |
PDF.
Definition at line 607 of file JLine3ZRegressor.hh.
| const JNPEs_t& JFIT::JRegressor< JLine3Z, JGandalf >::npe |
PDF.
Definition at line 608 of file JLine3ZRegressor.hh.
| double JFIT::JRegressor< JLine3Z, JGandalf >::E_GeV = 0.0 |
Energy of muon at vertex [GeV].
Definition at line 610 of file JLine3ZRegressor.hh.
| std::shared_ptr<JMEstimator> JFIT::JRegressor< JLine3Z, JGandalf >::estimator |
M-Estimator function.
Definition at line 612 of file JLine3ZRegressor.hh.
|
staticinherited |
Number of PDFs.
Definition at line 128 of file JLine3ZRegressor.hh.
|
staticinherited |
PDF types.
Definition at line 235 of file JLine3ZRegressor.hh.
|
inherited |
Time window with respect to Cherenkov hypothesis [ns].
Definition at line 237 of file JLine3ZRegressor.hh.
|
privateinherited |
PDFs.
Definition at line 240 of file JLine3ZRegressor.hh.
|
privateinherited |
NPEs.
Definition at line 241 of file JLine3ZRegressor.hh.