Jpp  15.0.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t > Class Template Referenceabstract

Multi-dimensional CDF table for arrival time of Cherenkov light. More...

#include <JCDFTable.hh>

Inheritance diagram for JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >:
JIO::JSerialisable JIO::JObjectBinaryIO< T > JTOOLS::JFunctional< JArgument_t, JResult_t >

Public Types

enum  { NUMBER_OF_DIMENSIONS = transformablemultifunction_t::NUMBER_OF_DIMENSIONS }
 
typedef
JFunction1D_t::argument_type 
argument_type
 
typedef JFunction1D_t::result_type result_type
 
typedef JFunction1D_t::value_type value_type
 
typedef
JTransformableMultiFunction
< JFunction1D_t, JMaplist_t,
JDistance_t > 
transformablemultifunction_t
 
typedef
transformablemultifunction_t::multimap_type 
multimap_type
 
typedef
transformablemultifunction_t::transformer_type 
transformer_type
 
typedef JMultiKey
< NUMBER_OF_DIMENSIONS-1,
argument_type
multikey_t
 
typedef
JTOOLS::JConstantFunction1D
< double, argument_type
JConstantFunction1D_t
 
typedef JTOOLS::JMultiFunction
< JConstantFunction1D_t,
JMaplist_t, JDistance_t > 
JMultiQuantile_t
 
typedef JTOOLS::JMultiFunction
< JFunction1D_t, JMaplist_t,
JDistance_t > 
JMultiFunction_t
 
typedef JFunctional
< argument_type, result_type
functional_type
 
typedef JSupervisor supervisor_type
 

Public Member Functions

 JCDFTable ()
 Default constructor. More...
 
template<class JPDF_t , class JPDFMaplist_t , class JPDFDistance_t >
 JCDFTable (const JTransformableMultiFunction< JPDF_t, JPDFMaplist_t, JPDFDistance_t > &input, const typename JPDF_t::ordinate_type eps=JMATH::zero)
 Constructor. More...
 
template<class JHistogram1D_t , class JHistogramMap_t , class JHistogramDistance_t >
 JCDFTable (const JTransformableMultiHistogram< JHistogram1D_t, JHistogramMap_t, JHistogramDistance_t > &input, const typename JHistogram1D_t::ordinate_type eps=JMATH::zero)
 Constructor. More...
 
template<class JFunctionTransformer_t >
void transform (const JFunctionTransformer_t &transformer)
 Application of weight function. More...
 
template<class... Args>
double getNPE (const Args &...args) const
 Get number of photo-electrons. More...
 
template<class... Args>
double getTime (const Args &...args) const
 Generate arrival time. More...
 
virtual JReaderread (JReader &in) override
 Read CDF from input. More...
 
virtual JWriterwrite (JWriter &out) const override
 Write CDF to output. More...
 
void load (const char *file_name)
 Load from input file. More...
 
void store (const char *file_name) const
 Store to output file. More...
 
virtual result_type evaluate (const argument_type *pX) const =0
 Recursive function value evaluation. More...
 
JSupervisor getSupervisor () const
 Get supervisor. More...
 
const JExceptionHandlergetExceptionHandler () const
 Get exception handler. More...
 
void setExceptionHandler (const JSupervisor &supervisor)
 Set the supervisor for handling of exceptions. More...
 

Static Public Member Functions

static result_type getValue (const JFunctional &function, const argument_type *pX)
 Recursive function value evaluation. More...
 
static JClass< result_type >
::argument_type 
getValue (typename JClass< result_type >::argument_type value, const argument_type *pX)
 Termination of recursive function value evaluation. More...
 

Public Attributes

JMultiQuantile_t intensity
 
JMultiFunction_t function
 
JLANG::JSharedPointer
< transformer_type
transformer
 

Protected Member Functions

virtual void do_compile () override
 Function compilation. More...
 
template<class JPDF_t >
void insert (const multikey_t &key, const JPDF_t &value, const typename JPDF_t::ordinate_type eps)
 Insert value at given multidimensional key. More...
 
template<unsigned int N, class JKey_t , class JValue_t , class JHistogramMaplist_t , class JHistogramDistance_t >
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. More...
 

Protected Attributes

JSupervisor supervisor
 

Detailed Description

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
class JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >

Multi-dimensional CDF table for arrival time of Cherenkov light.

This class can be used to determine the number of photo-electrons as a function of the values of the leading parameter values and to generate random photon arrival times.

N.B. The transformation of the PDF is assumed to be linear.

Definition at line 50 of file JCDFTable.hh.

Member Typedef Documentation

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
typedef JFunction1D_t::argument_type JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::argument_type

Definition at line 57 of file JCDFTable.hh.

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
typedef JFunction1D_t::result_type JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::result_type

Definition at line 58 of file JCDFTable.hh.

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
typedef JFunction1D_t::value_type JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::value_type

Definition at line 59 of file JCDFTable.hh.

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
typedef JTransformableMultiFunction<JFunction1D_t, JMaplist_t, JDistance_t> JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::transformablemultifunction_t

Definition at line 61 of file JCDFTable.hh.

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
typedef transformablemultifunction_t::multimap_type JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::multimap_type

Definition at line 63 of file JCDFTable.hh.

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
typedef transformablemultifunction_t::transformer_type JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::transformer_type

Definition at line 64 of file JCDFTable.hh.

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
typedef JMultiKey<NUMBER_OF_DIMENSIONS - 1, argument_type> JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::multikey_t

Definition at line 68 of file JCDFTable.hh.

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
typedef JTOOLS::JConstantFunction1D<double, argument_type> JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::JConstantFunction1D_t

Definition at line 70 of file JCDFTable.hh.

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
typedef JTOOLS::JMultiFunction<JConstantFunction1D_t, JMaplist_t, JDistance_t> JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::JMultiQuantile_t

Definition at line 71 of file JCDFTable.hh.

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
typedef JTOOLS::JMultiFunction<JFunction1D_t, JMaplist_t, JDistance_t> JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::JMultiFunction_t

Definition at line 72 of file JCDFTable.hh.

template<class JArgument_t = JNullType, class JResult_t = JNullType>
typedef JFunctional<argument_type, result_type> JTOOLS::JFunctional< JArgument_t, JResult_t >::functional_type
inherited

Definition at line 88 of file JFunctional.hh.

template<class JArgument_t = JNullType, class JResult_t = JNullType>
typedef JSupervisor JTOOLS::JFunctional< JArgument_t, JResult_t >::supervisor_type
inherited

Definition at line 89 of file JFunctional.hh.

Member Enumeration Documentation

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
anonymous enum

Constructor & Destructor Documentation

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::JCDFTable ( )
inline

Default constructor.

Definition at line 78 of file JCDFTable.hh.

78  :
80  {}
JLANG::JSharedPointer< transformer_type > transformer
Definition: JCDFTable.hh:228
static JMultiMapTransformer * getClone()
Get clone of default transformer.
template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
template<class JPDF_t , class JPDFMaplist_t , class JPDFDistance_t >
JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::JCDFTable ( const JTransformableMultiFunction< JPDF_t, JPDFMaplist_t, JPDFDistance_t > &  input,
const typename JPDF_t::ordinate_type  eps = JMATH::zero 
)
inline

Constructor.

Parameters
inputmulti-dimensional PDF
epsminimal step size for CDF

Definition at line 90 of file JCDFTable.hh.

91  :
93  {
94  this->transformer.reset(input.transformer->clone());
95 
96  for (typename JTransformableMultiFunction<JPDF_t, JPDFMaplist_t, JPDFDistance_t>::super_const_iterator i = input.super_begin(); i != input.super_end(); ++i) {
97  this->insert((*i).getKey(), (*i).getValue(), eps);
98  }
99 
100  this->compile();
101  }
JLANG::JSharedPointer< transformer_type > transformer
Definition: JCDFTable.hh:228
static JMultiMapTransformer * getClone()
Get clone of default transformer.
void insert(const multikey_t &key, const JPDF_t &value, const typename JPDF_t::ordinate_type eps)
Insert value at given multidimensional key.
Definition: JCDFTable.hh:250
multifunction_type::super_const_iterator super_const_iterator
template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
template<class JHistogram1D_t , class JHistogramMap_t , class JHistogramDistance_t >
JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::JCDFTable ( const JTransformableMultiHistogram< JHistogram1D_t, JHistogramMap_t, JHistogramDistance_t > &  input,
const typename JHistogram1D_t::ordinate_type  eps = JMATH::zero 
)
inline

Constructor.

Parameters
inputmulti-dimensional histogram
epsminimal step size for CDF

Definition at line 111 of file JCDFTable.hh.

112  :
114  {
115  this->transformer.reset(input.transformer->clone());
116 
117  this->insert(JMultiKey<0, typename JHistogram1D_t::abscissa_type>(), input, eps);
118 
119  this->compile();
120  }
JLANG::JSharedPointer< transformer_type > transformer
Definition: JCDFTable.hh:228
static JMultiMapTransformer * getClone()
Get clone of default transformer.
void insert(const multikey_t &key, const JPDF_t &value, const typename JPDF_t::ordinate_type eps)
Insert value at given multidimensional key.
Definition: JCDFTable.hh:250

Member Function Documentation

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
template<class JFunctionTransformer_t >
void JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::transform ( const JFunctionTransformer_t &  transformer)
inline

Application of weight function.

Parameters
transformerfunction transformer

Definition at line 129 of file JCDFTable.hh.

130  {
131  for (typename JMultiQuantile_t::super_iterator i = intensity.super_begin(); i != intensity.super_end(); ++i) {
132 
133  const typename transformer_type::array_type array = (*i).getKey();
134  JConstantFunction1D_t& function = (*i).getValue();
135 
136  const double W1 = this->transformer->getWeight(array);
137  const double W2 = transformer .getWeight(array);
138 
139  const result_type y = function(JMATH::zero);
140 
141  function = JConstantFunction1D_t(y * W1 / W2);
142  }
143 
144  this->transformer.reset(transformer.clone());
145  this->compile();
146  }
JLANG::JSharedPointer< transformer_type > transformer
Definition: JCDFTable.hh:228
static const JZero zero
Function object to assign zero value.
Definition: JZero.hh:105
JArray< N, argument_type > array_type
JTOOLS::JConstantFunction1D< double, argument_type > JConstantFunction1D_t
Definition: JCDFTable.hh:70
JFunction1D_t::result_type result_type
Definition: JCDFTable.hh:58
JMultiQuantile_t intensity
Definition: JCDFTable.hh:226
template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
template<class... Args>
double JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::getNPE ( const Args &...  args) const
inline

Get number of photo-electrons.

Parameters
argscomma separated argument list
Returns
number of photo-electrons

Definition at line 156 of file JCDFTable.hh.

157  {
158  const JArray<NUMBER_OF_DIMENSIONS - 1, argument_type> buffer(args...);
159 
160  const double W = transformer->getWeight(buffer);
161  const double npe = intensity.evaluate(buffer.data());
162 
163  return W * npe;
164  }
JLANG::JSharedPointer< transformer_type > transformer
Definition: JCDFTable.hh:228
JFunction1D_t::argument_type argument_type
Definition: JCDFTable.hh:57
JMultiQuantile_t intensity
Definition: JCDFTable.hh:226
template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
template<class... Args>
double JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::getTime ( const Args &...  args) const
inline

Generate arrival time.

Parameters
argscomma seperated argument list (last value is random number between 0 and 1)
Returns
arrival time

Definition at line 174 of file JCDFTable.hh.

175  {
176  const JArray<NUMBER_OF_DIMENSIONS, argument_type> buffer(args...);
177 
178  const argument_type y = function.evaluate(buffer.data());
179 
180  return transformer->getXn(buffer, y);
181  }
JLANG::JSharedPointer< transformer_type > transformer
Definition: JCDFTable.hh:228
JFunction1D_t::argument_type argument_type
Definition: JCDFTable.hh:57
template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
virtual JReader& JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::read ( JReader in)
inlineoverridevirtual

Read CDF from input.

Parameters
inreader
Returns
reader

Implements JIO::JSerialisable.

Definition at line 190 of file JCDFTable.hh.

191  {
192  in >> intensity;
193  in >> function;
194 
196 
197  if (buffer.read(in))
198  transformer.reset(buffer.clone());
199  else
201 
202  compile();
203 
204  intensity.setExceptionHandler(new typename JMultiQuantile_t::function_type::JDefaultResult(JMATH::zero));
205  function .setExceptionHandler(new typename JMultiFunction_t::function_type::JDefaultResult(JMATH::zero));
206 
207  return in;
208  }
JLANG::JSharedPointer< transformer_type > transformer
Definition: JCDFTable.hh:228
Template definition of transformer of the probability density function (PDF) of the time response of ...
static const JZero zero
Function object to assign zero value.
Definition: JZero.hh:105
JFunction1D_t::argument_type argument_type
Definition: JCDFTable.hh:57
static JMultiMapTransformer * getClone()
Get clone of default transformer.
JMultiQuantile_t intensity
Definition: JCDFTable.hh:226
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
Definition: JCanberra.sh:41
template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
virtual JWriter& JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::write ( JWriter out) const
inlineoverridevirtual

Write CDF to output.

Parameters
outwriter
Returns
writer

Implements JIO::JSerialisable.

Definition at line 217 of file JCDFTable.hh.

218  {
219  out << intensity;
220  out << function;
221 
222  return transformer->write(out);
223  }
JLANG::JSharedPointer< transformer_type > transformer
Definition: JCDFTable.hh:228
JMultiQuantile_t intensity
Definition: JCDFTable.hh:226
template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
virtual void JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::do_compile ( )
inlineoverrideprotectedvirtual

Function compilation.

Definition at line 235 of file JCDFTable.hh.

236  {
237  intensity.compile();
238  function .compile();
239  }
void compile()
Compilation.
JMultiQuantile_t intensity
Definition: JCDFTable.hh:226
template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
template<class JPDF_t >
void JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::insert ( const multikey_t key,
const JPDF_t &  value,
const typename JPDF_t::ordinate_type  eps 
)
inlineprotected

Insert value at given multidimensional key.

Parameters
keymulti-dimensional key
valuefunction or histogram
epsminimal step size for CDF

Definition at line 250 of file JCDFTable.hh.

253  {
254  try {
255 
256  const typename transformer_type::array_type array(key);
257 
258  JFunction1D_t buffer;
259 
260  const argument_type z = transformer->getXn(array, 1.0) - transformer->getXn(array, 0.0);
261  const result_type V = JTOOLS::makeCDF(value, buffer, eps);
262 
264  function .insert(key, buffer);
265  }
266  catch(const JException& error) {
268  }
269  }
JLANG::JSharedPointer< transformer_type > transformer
Definition: JCDFTable.hh:228
static const JZero zero
Function object to assign zero value.
Definition: JZero.hh:105
JArray< N, argument_type > array_type
JFunction1D_t::argument_type argument_type
Definition: JCDFTable.hh:57
JContainer_t::ordinate_type makeCDF(const JContainer_t &input, JMappableCollection< JKey_t, JValue_t > &output, const typename JContainer_t::ordinate_type eps=JMATH::zero)
Conversion of data points to cumulative probability distribition (CDF).
JTOOLS::JConstantFunction1D< double, argument_type > JConstantFunction1D_t
Definition: JCDFTable.hh:70
JFunction1D_t::result_type result_type
Definition: JCDFTable.hh:58
void insert(const JMultiFunction< JPDF_t, JPDFMaplist_t, JPDFDistance_t > &input)
Insert multidimensional input.
JMultiQuantile_t intensity
Definition: JCDFTable.hh:226
template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
template<unsigned int N, class JKey_t , class JValue_t , class JHistogramMaplist_t , class JHistogramDistance_t >
void JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::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 
)
inlineprotected

Insert multi-dimensional histogram at multi-dimensional key.

Parameters
keymultidimensional key
histogrammultidimensional histogram
epsminimal step size for CDF

Definition at line 280 of file JCDFTable.hh.

283  {
284  if (histogram.getSize() > 1) {
285 
286  for (typename JMultiMap<JKey_t, JValue_t, JHistogramMaplist_t, JHistogramDistance_t>::const_iterator j = histogram.begin(), i = j++; j != histogram.end(); ++i, ++j) {
287 
288  const JKey_t x = 0.5 * (i->first + j->first);
289 
290  insert(JMultiKey<N+1, JKey_t>(key, x), i->second, eps);
291  }
292  }
293  }
void insert(const multikey_t &key, const JPDF_t &value, const typename JPDF_t::ordinate_type eps)
Insert value at given multidimensional key.
Definition: JCDFTable.hh:250
int j
Definition: JPolint.hh:666
template<class T>
void JIO::JObjectBinaryIO< T >::load ( const char *  file_name)
inlineinherited

Load from input file.

Parameters
file_namefile name

Definition at line 29 of file JObjectBinaryIO.hh.

30  {
31  JLANG::load<JFileStreamReader>(file_name, static_cast<T&>(*this));
32  }
do set_variable OUTPUT_DIRECTORY $WORKDIR T
template<class T>
void JIO::JObjectBinaryIO< T >::store ( const char *  file_name) const
inlineinherited

Store to output file.

Parameters
file_namefile name

Definition at line 40 of file JObjectBinaryIO.hh.

41  {
42  JLANG::store<JFileStreamWriter>(file_name, static_cast<const T&>(*this));
43  }
do set_variable OUTPUT_DIRECTORY $WORKDIR T
template<class JArgument_t = JNullType, class JResult_t = JNullType>
virtual result_type JTOOLS::JFunctional< JArgument_t, JResult_t >::evaluate ( const argument_type pX) const
pure virtualinherited
template<class JArgument_t = JNullType, class JResult_t = JNullType>
static result_type JTOOLS::JFunctional< JArgument_t, JResult_t >::getValue ( const JFunctional< JArgument_t, JResult_t > &  function,
const argument_type pX 
)
inlinestaticinherited

Recursive function value evaluation.

Parameters
functionfunction
pXpointer to abscissa values

Definition at line 107 of file JFunctional.hh.

109  {
110  return function.evaluate(pX);
111  }
template<class JArgument_t = JNullType, class JResult_t = JNullType>
static JClass<result_type>::argument_type JTOOLS::JFunctional< JArgument_t, JResult_t >::getValue ( typename JClass< result_type >::argument_type  value,
const argument_type pX 
)
inlinestaticinherited

Termination of recursive function value evaluation.

Parameters
valueresult
pXpointer to abscissa values

Definition at line 121 of file JFunctional.hh.

123  {
124  return value;
125  }
template<class JArgument_t = JNullType, class JResult_t = JNullType>
JSupervisor JTOOLS::JFunctional< JArgument_t, JResult_t >::getSupervisor ( ) const
inlineinherited

Get supervisor.

Returns
supervisor

Definition at line 266 of file JFunctional.hh.

267  {
268  return supervisor;
269  }
JSupervisor supervisor
Definition: JFunctional.hh:295
template<class JArgument_t = JNullType, class JResult_t = JNullType>
const JExceptionHandler& JTOOLS::JFunctional< JArgument_t, JResult_t >::getExceptionHandler ( ) const
inlineinherited

Get exception handler.

Returns
exception handler

Definition at line 277 of file JFunctional.hh.

278  {
279  return *supervisor;
280  }
JSupervisor supervisor
Definition: JFunctional.hh:295
template<class JArgument_t = JNullType, class JResult_t = JNullType>
void JTOOLS::JFunctional< JArgument_t, JResult_t >::setExceptionHandler ( const JSupervisor supervisor)
inlineinherited

Set the supervisor for handling of exceptions.

Parameters
supervisorsupervisor

Definition at line 288 of file JFunctional.hh.

289  {
290  this->supervisor = supervisor;
291  }
JSupervisor supervisor
Definition: JFunctional.hh:295

Member Data Documentation

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
JMultiQuantile_t JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::intensity

Definition at line 226 of file JCDFTable.hh.

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
JMultiFunction_t JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::function

Definition at line 227 of file JCDFTable.hh.

template<class JFunction1D_t, class JMaplist_t, class JDistance_t = JTOOLS::JDistance<typename JFunction1D_t::argument_type>>
JLANG::JSharedPointer<transformer_type> JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >::transformer

Definition at line 228 of file JCDFTable.hh.

template<class JArgument_t = JNullType, class JResult_t = JNullType>
JSupervisor JTOOLS::JFunctional< JArgument_t, JResult_t >::supervisor
protectedinherited

Definition at line 295 of file JFunctional.hh.


The documentation for this class was generated from the following file: