Template specialisation for storage of PDF tables.
More...
#include <JShowerBrightPointRegressor.hh>
|
| | JRegressorStorage () |
| | Default constructor.
|
| |
| | JRegressorStorage (const std::string &fileDescriptor, const JTimeRange &T_ns, const double TTS, const int numberOfPoints=25, const double epsilon=1.0e-10) |
| | Parameterized constructor.
|
| |
| const JPDFs_t & | getPDF () const |
| | Get PDFs.
|
| |
|
| JTimeRange | T_ns |
| | Time window with respect to Cherenkov hypothesis [ns].
|
| |
Template specialisation for storage of PDF tables.
Definition at line 59 of file JShowerBrightPointRegressor.hh.
◆ JFunction1D_t
◆ JPDFMapList_t
◆ JPDF_t
◆ JPDFs_t
◆ JRegressorStorage() [1/2]
◆ JRegressorStorage() [2/2]
| JFIT::JRegressorStorage< JPoint4E, JGandalf >::JRegressorStorage |
( |
const std::string & | fileDescriptor, |
|
|
const JTimeRange & | T_ns, |
|
|
const double | TTS, |
|
|
const int | numberOfPoints = 25, |
|
|
const double | epsilon = 1.0e-10 ) |
|
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 JRegressorStorage<JPoint4E, JGandalf>::pdf_t.
The TTS corresponds to the additional time smearing applied to the PDFs.
- Parameters
-
| fileDescriptor | PDF file descriptor |
| T_ns | time range [ns] |
| TTS | TTS [ns] |
| numberOfPoints | number of points for Gauss-Hermite integration of TTS |
| epsilon | precision for Gauss-Hermite integration of TTS |
Definition at line 90 of file JShowerBrightPointRegressor.hh.
94 :
96
97 {
98 using namespace std;
100
101 const JPDF_t::JSupervisor supervisor(new JPDF_t::JDefaultResult(JMATH::zero));
102
104
105 const string file_name = getFilename(fileDescriptor,
pdf_t[i]);
106
107 _pdf[i].load(file_name.c_str());
108
109 _pdf[i].setExceptionHandler(supervisor);
110 }
111
112
114
116
118
119 _pdf[i-1].swap(buffer);
120
121 if (TTS > 0.0) {
122 _pdf[i].blur(TTS, numberOfPoints, epsilon);
123 }
124 }
125 }
static const int NUMBER_OF_PDFS
JPHYSICS::JPDFTable< JFunction1D_t, JPDFMapList_t > JPDF_t
JTimeRange T_ns
Time window with respect to Cherenkov hypothesis [ns].
static const JPDFType_t pdf_t[NUMBER_OF_PDFS]
PDF types.
◆ getPDF()
◆ NUMBER_OF_PDFS
◆ pdf_t
◆ T_ns
◆ _pdf
The documentation for this struct was generated from the following file: