Go to the documentation of this file.    1 #ifndef __JPHYSICS__JCDFTABLE__ 
    2 #define __JPHYSICS__JCDFTABLE__ 
   48   template<
class JFunction1D_t,
 
   53     public JObjectBinaryIO< JCDFTable<JFunction1D_t, JMaplist_t, JDistance_t> >,
 
   90     template<
class JPDF_t, 
class JPDFMaplist_t, 
class JPDFDistance_t>
 
   92               const typename JPDF_t::ordinate_type                                      eps = 
JMATH::zero) :
 
   98         this->
insert((*i).getKey(), (*i).getValue(), eps);
 
  111     template<
class JHistogram1D_t, 
class JHistogramMap_t, 
class JHistogramDistance_t>    
 
  129     template<
class JFunctionTransformer_t>
 
  137         const double W1 = this->transformer->getWeight(array);
 
  220       function .setExceptionHandler(
new typename JMultiFunction_t::function_type::JDefaultResult(
JMATH::zero));
 
  264     template<
class JPDF_t>
 
  267                 const typename JPDF_t::ordinate_type eps)
 
  279         function .insert(key, 
buffer);
 
  294     template<
unsigned int N, 
class JKey_t, 
class JValue_t, 
class JHistogramMaplist_t, 
class JHistogramDistance_t>
 
  297                 const typename JValue_t::contents_type                                        eps)
 
  299       if (histogram.getSize() > 1) {
 
  303           const JKey_t x = 0.5 * (i->first + 
j->first);
 
 
JTransformableMultiFunction< JFunction1D_t, JMaplist_t, JDistance_t > transformablemultifunction_t
 
Interface for binary input.
 
double getTime(const argument_type x,...) const
Generate arrival time.
 
JFunction1D_t::result_type result_type
 
Multi-dimensional CDF table for arrival time of Cherenkov light.
 
virtual JWriter & write(JWriter &out) const
Write CDF to output.
 
Forward declaration of binary output.
 
JReader & read(JReader &in)
Read CDF from input.
 
double getNPE(const argument_type x,...) const
Get number of photo-electrons.
 
JMultiQuantile_t intensity
 
Auxiliary classes and methods for calculation of PDF and muon energy loss.
 
Auxiliary base class for storing and loading a single object to and from a binary file,...
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
transformablemultifunction_t::transformer_type transformer_type
 
transformablemultifunction_t::multimap_type multimap_type
 
JMultiKey< NUMBER_OF_DIMENSIONS - 1, argument_type > multikey_t
 
JCDFTable(const JTransformableMultiFunction< JPDF_t, JPDFMaplist_t, JPDFDistance_t > &input, const typename JPDF_t::ordinate_type eps=JMATH::zero)
Constructor.
 
Interface for binary output.
 
virtual void do_compile()
Function compilation.
 
JFunction1D_t::argument_type argument_type
 
void insert(const JMultiKey< N, JKey_t > &key, const JMultiMap< JKey_t, JValue_t, JHistogramMaplist_t, JHistogramDistance_t > &histogram, const typename JValue_t::contents_type eps)
Insert multi-dimensional histogram at multi-dimensional key.
 
JTOOLS::JArray< NUMBER_OF_DIMENSIONS, argument_type > buffer
 
JTOOLS::JMultiFunction< JFunction1D_t, JMaplist_t, JDistance_t > JMultiFunction_t
 
JCDFTable()
Default constructor.
 
JCDFTable(const JTransformableMultiHistogram< JHistogram1D_t, JHistogramMap_t, JHistogramDistance_t > &input, const typename JHistogram1D_t::ordinate_type eps=JMATH::zero)
Constructor.
 
JLANG::JSharedPointer< transformer_type > transformer
 
static const JZero zero
Function object to assign zero value.
 
JTOOLS::JMultiFunction< JConstantFunction1D_t, JMaplist_t, JDistance_t > JMultiQuantile_t
 
JFunction1D_t::value_type value_type
 
void insert(const multikey_t &key, const JPDF_t &value, const typename JPDF_t::ordinate_type eps)
Insert value at given multidimensional key.
 
JTOOLS::JConstantFunction1D< double, argument_type > JConstantFunction1D_t
 
void transform(const JFunctionTransformer_t &transformer)
Application of weight function.
 
The template JSharedPointer class can be used to share a pointer to an object.
 
const typedef JMultiKey< N, const JKey_t > & argument_type