Jpp - the software that should make you happy
|
Auxiliary data structure for shower PDF. More...
#include <JPDF_t.hh>
Public Types | |
typedef JPP::JSplineFunction1D < JPP::JSplineElement2S < double, double > , JPP::JCollection, JPP::JResultPDF< double > > | JFunction1D_t |
typedef JPP::JMAPLIST < JPP::JPolint1FunctionalMap, JPP::JPolint1FunctionalMap, JPP::JPolint0FunctionalGridMap, JPP::JPolint0FunctionalGridMap > ::maplist | JPDFMaplist_t |
typedef JPP::JPDFTable < JFunction1D_t, JPDFMaplist_t > | JPDF_t |
typedef JFunction1D_t::result_type | result_type |
Public Member Functions | |
JShowerPDF_t (const std::string &fileDescriptor, const double TTS, const int numberOfPoints=25, const double epsilon=1.0e-10) | |
Constructor. More... | |
result_type | calculate (const double E, const double D, const double cd, const double theta, const double phi, const double t1) const |
Get PDF. More... | |
Public Attributes | |
JPDF_t | pdfA |
PDF for shower. More... | |
typedef JPP::JSplineFunction1D<JPP::JSplineElement2S<double, double>, JPP::JCollection, JPP::JResultPDF<double> > JShowerPDF_t::JFunction1D_t |
|
inline |
Constructor.
The PDF file descriptor should contain the wild card character JPHYSICS::WILD_CARD.
The TTS
corresponds to the additional time smearing applied to the PDFs.
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 293 of file JPDF_t.hh.
|
inline |
Get PDF.
The orientation of the PMT should be defined according this documentation.
In this, the zenith and azimuth angles are limited to
.
E | shower energy [GeV] |
D | distance [m] |
cd | cosine emission angle |
theta | PMT zenith angle [rad] |
phi | PMT azimuth angle [rad] |
t1 | arrival time relative to Cherenkov hypothesis [ns] |
Definition at line 357 of file JPDF_t.hh.