Jpp test-rotations-old
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 function_type::value_type | value_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. | |
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. | |
double | getNPE (const double D, const double cd) const |
Get number of photo-electrons. | |
const JMultiFunction & | getMultiFunction () const |
Get multidimensional function. | |
JMultiFunction & | getMultiFunction () |
Get multidimensional function. | |
template<class __JFunction_t , class __JMaplist_t , class __JDistance_t > | |
void | insert (const JMultiFunction< __JFunction_t, __JMaplist_t, __JDistance_t > &input) |
Insert multidimensional input. | |
template<class JHistogram_t , class __JMaplist_t , class __JDistance_t > | |
void | insert (const JMultiHistogram< JHistogram_t, __JMaplist_t, __JDistance_t > &input) |
Insert multidimensional input. | |
void | compile () |
Compilation. | |
void | setExceptionHandler (const typename function_type::supervisor_type &supervisor) |
Set the supervisor for handling of exceptions. | |
template<class ... Args> | |
result_type | operator() (const Args &...args) const |
Multi-dimensional interpolation method call. | |
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. | |
template<class __JElement_t , template< class, class > class __JContainer_t, class __JDistance_t > | |
void | insert (const JMultiKey< JMapLength< JMaplist_t >::value, argument_type > &key, const JHistogram1D< __JElement_t, __JContainer_t, __JDistance_t > &input) |
Convert one-dimensional histogram to PDF and insert result at given multidimensional key. | |
template<class JHistogram_t , class __JMaplist_t , class __JDistance_t > | |
void | insert (const JMultiKey< JMapLength< JMaplist_t >::value, argument_type > &key, const JMultiHistogram< JHistogram_t, __JMaplist_t, __JDistance_t > &input) |
Convert multidimensional histogram to PDF and insert result at given multidimensional key. | |
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.
JArgument_t JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::argument_type |
Definition at line 46 of file JCDFTable2D.hh.
JResult_t JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::result_type |
Definition at line 47 of file JCDFTable2D.hh.
JElement2D<argument_type, result_type> JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::JElement2D_t |
Definition at line 49 of file JCDFTable2D.hh.
JPolintFunction1D<1, JElement2D_t, JGridCollection> JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::JFunction1D_t |
Definition at line 50 of file JCDFTable2D.hh.
JMapList<JPolint1FunctionalGridMap> JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::JMaplist_t |
Definition at line 51 of file JCDFTable2D.hh.
JMultiFunction<JFunction1D_t, JMaplist_t> JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::JFunction2D_t |
Definition at line 52 of file JCDFTable2D.hh.
JMultiMapTransformer<2, argument_type> JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::transformer_type |
Definition at line 54 of file JCDFTable2D.hh.
|
inherited |
Definition at line 47 of file JMultiFunction.hh.
|
inherited |
Definition at line 51 of file JMultiFunction.hh.
|
inherited |
Definition at line 53 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 |
Enumerator | |
---|---|
NUMBER_OF_DIMENSIONS |
Definition at line 49 of file JMultiFunction.hh.
|
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 98 of file JMultiFunction.hh.
|
inlineinherited |
Get multidimensional function.
Definition at line 109 of file JMultiFunction.hh.
|
inlineinherited |
Insert multidimensional input.
input | multidimensional function |
Definition at line 121 of file JMultiFunction.hh.
|
inlineinherited |
Insert multidimensional input.
input | multidimensional histogram |
Definition at line 133 of file JMultiFunction.hh.
|
inlineprotectedinherited |
Insert multidimensional histogram at multidimensional key.
key | multidimensional key |
input | multidimensional histogram |
Definition at line 194 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 216 of file JMultiFunction.hh.
|
inlineprotectedinherited |
Convert multidimensional histogram to PDF and insert result at given multidimensional key.
key | multidimensional key |
input | multidimensional histogram |
Definition at line 235 of file JMultiFunction.hh.
|
inlineinherited |
Compilation.
Definition at line 142 of file JMultiFunction.hh.
|
inlineinherited |
Set the supervisor for handling of exceptions.
supervisor | supervisor |
Definition at line 157 of file JMultiFunction.hh.
|
inlineinherited |
Multi-dimensional interpolation method call.
args | comma seperated list of abscissa values |
Definition at line 174 of file JMultiFunction.hh.
JLANG::JSharedPointer<transformer_type> JPHYSICS::JCDFTable2D< JArgument_t, JResult_t >::transformer |
Definition at line 145 of file JCDFTable2D.hh.