Auxiliary function object for transit-time generation.
More...
#include <JPMTTransitTimeGenerator.hh>
Auxiliary function object for transit-time generation.
Definition at line 4143 of file JPMTTransitTimeGenerator.hh.
◆ collection_type
| JHermiteSplineCollection<JSplineElement2D< double, double >, JGridCollection, JDistance<typename JSplineElement2D< double, double >::abscissa_type>> JTOOLS::JHermiteSplineFunction1D< JSplineElement2D< double, double >, JGridCollection, double, JDistance<typename JSplineElement2D< double, double >::abscissa_type> >::collection_type |
|
inherited |
◆ abscissa_type
◆ ordinate_type
◆ value_type
◆ distance_type
◆ const_iterator
◆ const_reverse_iterator
◆ iterator
◆ reverse_iterator
◆ function_type
◆ argument_type
◆ result_type
◆ exceptionhandler_type
◆ functional_type
◆ JExceptionHandler
◆ supervisor_type
◆ anonymous enum
◆ operator()() [1/2]
| double JDETECTOR::JTransitTimeGenerator_t::operator() |
( |
const double | x, |
|
|
const int | type ) const |
|
inline |
Get transit time for given random value according given type.
- Parameters
-
| x | random value <0,1] |
| type | type |
- Returns
- transit time [ns]
Definition at line 4155 of file JPMTTransitTimeGenerator.hh.
4156 {
4157 switch (type) {
4158 case 1:
4160
4161 case 38:
4163
4164 case 41:
4166
4167 case 67:
4169
4170 default:
4172 };
4173 }
const JTransitTimeGenerator< 67 > p67
const JTransitTimeGenerator< 41 > p41
const JTransitTimeGenerator< 38 > p38
◆ getProbability()
Get integrated probablity from
to given time.
- Parameters
-
- Returns
- probability
Definition at line 38 of file JPMTTransitTimeGenerator.hh.
39 {
41
43 this->end(),
44 t_ns,
46
47 if (p == this->end())
48 return 1.0;
49 else if (p == this->begin())
50 return 0.0;
51 else
52 return p->getX();
53 }
JComparator< JResult_t T::*, JComparison::lt > make_comparator(JResult_t T::*member)
Helper method to create comparator between values of data member.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
◆ operator()() [2/2]
Function value evaluation.
- Parameters
-
- Returns
- function value
Definition at line 343 of file JFunctional.hh.
◆ getSupervisor()
◆ getExceptionHandler()
|
|
inlineoverridevirtualinherited |
◆ setExceptionHandler()
Set the supervisor for handling of exceptions.
- Parameters
-
Definition at line 312 of file JFunctional.hh.
◆ evaluate()
Recursive function value evaluation.
- Parameters
-
| pX | pointer to abscissa values |
- Returns
- function value
◆ getValue() [1/2]
Recursive function value evaluation.
- Parameters
-
| function | function |
| pX | pointer to abscissa values |
Definition at line 103 of file JFunctional.hh.
105 {
106 return function.evaluate(pX);
107 }
◆ getValue() [2/2]
Termination of recursive function value evaluation.
- Parameters
-
| value | result |
| pX | pointer to abscissa values |
Definition at line 117 of file JFunctional.hh.
119 {
120 return value;
121 }
◆ p38
◆ p41
◆ p67
◆ __supervisor
The documentation for this struct was generated from the following file: