Jpp
15.0.0-rc.2
the software that should make you happy
|
Custom class for CDF table in 2 dimensions. More...
#include <JCDFTable2D.hh>
Public Types | |
typedef JArgument_t | argument_type |
typedef JResult_t | result_type |
typedef JElement2D < argument_type, result_type > | JElement2D_t |
typedef JPolintFunction1D < 1, JElement2D_t, JGridCollection > | JFunction1D_t |
typedef JMapList < JPolint1FunctionalGridMap > | JMaplist_t |
typedef JMultiFunction < JFunction1D_t, JMaplist_t > | JFunction2D_t |
typedef JMultiMapTransformer < 2, argument_type > | transformer_type |
enum | { NUMBER_OF_DIMENSIONS = JMapLength<JMaplist_t>::value + JFunction_t::NUMBER_OF_DIMENSIONS } |
typedef JMultiMap< typename JFunction_t::argument_type, JFunction_t, JMaplist_t, JDistance_t > | multimap_type |
typedef JFunction_t | function_type |
typedef JFunction_t::value_type | value_type |
typedef JFunction_t::supervisor_type | supervisor_type |
typedef multimap_type::abscissa_type | abscissa_type |
typedef multimap_type::ordinate_type | ordinate_type |
typedef multimap_type::const_iterator | const_iterator |
typedef multimap_type::const_reverse_iterator | const_reverse_iterator |
typedef multimap_type::iterator | iterator |
typedef multimap_type::reverse_iterator | reverse_iterator |
typedef multimap_type::super_iterator | super_iterator |
typedef multimap_type::super_const_iterator | super_const_iterator |
Public Member Functions | |
JCDFTable2D () | |
Default constructor. More... | |
template<class JCDF_t , class JCDFMaplist_t , class JCDFDistance_t > | |
JCDFTable2D (const JCDFTable< JCDF_t, JCDFMaplist_t, JCDFDistance_t > &cdf, const int number_of_bins, const double safety_factor=2.0) | |
Constructor. More... | |
double | getNPE (const double D, const double cd) const |
Get number of photo-electrons. More... | |
const JMultiFunction & | getMultiFunction () const |
Get multidimensional function. More... | |
JMultiFunction & | getMultiFunction () |
Get multidimensional function. More... | |
template<class JPDF_t , class JPDFMaplist_t , class JPDFDistance_t > | |
void | insert (const JMultiFunction< JPDF_t, JPDFMaplist_t, JPDFDistance_t > &input) |
Insert multidimensional input. More... | |
template<class JHistogram_t , class JHistogramMaplist_t , class JHistogramDistance_t > | |
void | insert (const JMultiHistogram< JHistogram_t, JHistogramMaplist_t, JHistogramDistance_t > &input) |
Insert multidimensional input. More... | |
void | compile () |
Compilation. More... | |
void | setExceptionHandler (const supervisor_type &supervisor) |
Set the supervisor for handling of exceptions. More... | |
template<class... Args> | |
result_type | operator() (const Args &...args) const |
Multi-dimensional interpolation method call. More... | |
Public Attributes | |
JLANG::JSharedPointer < transformer_type > | transformer |
Protected Member Functions | |
template<unsigned int N, class __JAbscissa_t , class __JContents_t , template< class, class, class > class __JMap_t, class __JDistance_t > | |
void | insert (const JMultiKey< N, argument_type > &key, const JHistogramMap< __JAbscissa_t, __JContents_t, __JMap_t, __JDistance_t > &input) |
Insert multidimensional histogram at multidimensional key. More... | |
template<class __JValue_t > | |
void | insert (const JMultiKey< JMapLength< JMaplist_t >::value, argument_type > &key, const __JValue_t &input) |
Convert one-dimensional histogram to PDF and insert result at given multidimensional key. More... | |
Custom class for CDF table in 2 dimensions.
This class provides an upper limit for the average number of photo-electrons as a function of the distance and the cosine of the emission angle.
Definition at line 40 of file JCDFTable2D.hh.
typedef JArgument_t JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::argument_type |
Definition at line 46 of file JCDFTable2D.hh.
typedef JResult_t JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::result_type |
Definition at line 47 of file JCDFTable2D.hh.
typedef JElement2D<argument_type, result_type> JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::JElement2D_t |
Definition at line 49 of file JCDFTable2D.hh.
typedef JPolintFunction1D<1, JElement2D_t, JGridCollection> JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::JFunction1D_t |
Definition at line 50 of file JCDFTable2D.hh.
typedef JMapList<JPolint1FunctionalGridMap> JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::JMaplist_t |
Definition at line 51 of file JCDFTable2D.hh.
typedef JMultiFunction<JFunction1D_t, JMaplist_t> JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::JFunction2D_t |
Definition at line 52 of file JCDFTable2D.hh.
typedef JMultiMapTransformer<2, argument_type> JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::transformer_type |
Definition at line 54 of file JCDFTable2D.hh.
|
inherited |
Definition at line 46 of file JMultiFunction.hh.
|
inherited |
Definition at line 50 of file JMultiFunction.hh.
|
inherited |
Definition at line 52 of file JMultiFunction.hh.
|
inherited |
Definition at line 54 of file JMultiFunction.hh.
|
inherited |
Definition at line 56 of file JMultiFunction.hh.
|
inherited |
Definition at line 57 of file JMultiFunction.hh.
|
inherited |
Definition at line 60 of file JMultiFunction.hh.
|
inherited |
Definition at line 61 of file JMultiFunction.hh.
|
inherited |
Definition at line 62 of file JMultiFunction.hh.
|
inherited |
Definition at line 63 of file JMultiFunction.hh.
|
inherited |
Definition at line 65 of file JMultiFunction.hh.
|
inherited |
Definition at line 66 of file JMultiFunction.hh.
|
inherited |
|
inline |
|
inline |
Constructor.
cdf | CDF (5D table) |
number_of_bins | number of bins (2D table) |
safety_factor | safety factor |
Definition at line 72 of file JCDFTable2D.hh.
|
inline |
Get number of photo-electrons.
D | distance between EM shower and PMT [m] |
cd | cosine angle EM shower direction and EM shower - PMT position |
Definition at line 133 of file JCDFTable2D.hh.
|
inlineinherited |
Get multidimensional function.
Definition at line 97 of file JMultiFunction.hh.
|
inlineinherited |
Get multidimensional function.
Definition at line 108 of file JMultiFunction.hh.
|
inlineinherited |
Insert multidimensional input.
input | multidimensional function |
Definition at line 120 of file JMultiFunction.hh.
|
inlineinherited |
Insert multidimensional input.
input | multidimensional histogram |
Definition at line 132 of file JMultiFunction.hh.
|
inlineprotectedinherited |
Insert multidimensional histogram at multidimensional key.
key | multidimensional key |
input | multidimensional histogram |
Definition at line 191 of file JMultiFunction.hh.
|
inlineprotectedinherited |
Convert one-dimensional histogram to PDF and insert result at given multidimensional key.
key | multidimensional key |
input | histogram |
Definition at line 213 of file JMultiFunction.hh.
|
inlineinherited |
Compilation.
Definition at line 141 of file JMultiFunction.hh.
|
inlineinherited |
Set the supervisor for handling of exceptions.
supervisor | supervisor |
Definition at line 156 of file JMultiFunction.hh.
|
inlineinherited |
Multi-dimensional interpolation method call.
args | comma seperated list of abscissa values |
Definition at line 173 of file JMultiFunction.hh.
JLANG::JSharedPointer<transformer_type> JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::transformer |
Definition at line 145 of file JCDFTable2D.hh.