|
Jpp
16.0.0-rc.1
the software that should make you happy
|
Template specialisation of fit function of acoustic model based on JSimplex minimiser. More...
#include <JKatoomba.hh>
Public Types | |
| typedef double | result_type |
| typedef JKey_t | key_type |
| typedef JValue_t | mapped_type |
| typedef std::pair< JKey_t, JValue_t > | value_type |
| typedef JHashMapEvaluator < JEvaluator_t > | evaluator_type |
| typedef JHashCollection < value_type, evaluator_type > | collection_type |
| typedef collection_type::container_type | container_type |
| typedef container_type::const_iterator | const_iterator |
| typedef container_type::const_reverse_iterator | const_reverse_iterator |
| typedef container_type::iterator | iterator |
| typedef container_type::reverse_iterator | reverse_iterator |
Public Member Functions | |
| JKatoomba (const JDetector &detector, const JSoundVelocity &velocity) | |
| Constructor. More... | |
| template<class JPDF_t > | |
| double | operator() (const JModel &model, const JHit< JPDF_t > &hit) const |
| Fit function. More... | |
| template<class T > | |
| double | operator() (T __begin, T __end) |
| Fit. More... | |
| template<class JFunction_t , class T > | |
| double | operator() (const JFunction_t &fit, T __begin, T __end) |
| Multi-dimensional fit. More... | |
| template<class JFunction_t , class T > | |
| double | operator() (const JFunction_t &fit, T __begin, T __end, const JModel_t &step) |
| 1D fit. More... | |
| template<class JPDF_t > | |
| double | getToA (const JModel &model, const JHit< JPDF_t > &hit) const |
| Get estimated time-of-arrival for given hit. More... | |
| bool | hasString (int string) const |
| Check if this detector has given string. More... | |
| bool | hasLocation (const JLocation &location) const |
| Check if this detector has given location. More... | |
| virtual void | clear () override |
| Clear. More... | |
| virtual mapped_type & | get (typename JClass< key_type >::argument_type key) override |
| Get mapped value. More... | |
| virtual const mapped_type & | get (typename JClass< key_type >::argument_type key) const override |
| Get mapped value. More... | |
| value_type & | get (const T &value) |
| Get element with given value. More... | |
| const value_type & | get (const T &value) const |
| Get element with given value. More... | |
| void | swap (JHashCollection &collection) |
| Swap hash collection. More... | |
| const_iterator | find (const T &value) const |
| Find element with given value. More... | |
| iterator | find (const T &value) |
| Find element with given value. More... | |
| virtual bool | insert (const value_type &element) |
| Insert element. More... | |
| void | insert (T __begin, T __end) |
| Insert values. More... | |
| void | erase (iterator pos) |
| Erase element at given position. More... | |
| void | erase (iterator __begin, iterator __end) |
| Erase elements in given range. More... | |
| bool | erase (const T &value) |
| Erase element with given value. More... | |
| bool | has (const T &value) const |
| Test whether given value is present. More... | |
| int | getIndex (const T &value) const |
| Get index of given value. More... | |
| const mapped_type & | operator[] (typename JClass< key_type >::argument_type key) const |
| Get mapped value. More... | |
| mapped_type & | operator[] (typename JClass< key_type >::argument_type key) |
| Get mapped value. More... | |
| void | put (typename JClass< key_type >::argument_type key, typename JClass< mapped_type >::argument_type value) |
| Put pair-wise element (key,value) into collection. More... | |
Static Public Member Functions | |
| static bool | getOption () |
| Get fit option. More... | |
| static void | setOption (const bool option) |
| Set fit option. More... | |
Public Attributes | |
| JModel_t | value |
| std::vector< JModel_t > | step |
| int | numberOfIterations |
| const JDetector & | detector |
| JSoundVelocity | velocity |
| JLANG::JSharedPointer < JMEstimator > | estimator |
| M-Estimator function. More... | |
| JHashMapEvaluator< JEvaluator_t > | getValue |
| Function object for evaluation of element. More... | |
Static Public Attributes | |
| static int | MAXIMUM_ITERATIONS = 1000 |
| maximal number of iterations More... | |
| static double | EPSILON = 1.0e-4 |
| maximal distance to minimum More... | |
| static int | debug = 0 |
| debug level (default is off). More... | |
Static Protected Member Functions | |
| static bool & | get_option () |
| Get reference to fit option. More... | |
Protected Attributes | |
| JTOOLS::JHashCollection::router_type | router |
Template specialisation of fit function of acoustic model based on JSimplex minimiser.
Definition at line 385 of file JKatoomba.hh.
|
inherited |
Definition at line 47 of file JSimplex.hh.
|
inherited |
Definition at line 78 of file JHashMap.hh.
|
inherited |
Definition at line 79 of file JHashMap.hh.
|
inherited |
Definition at line 80 of file JHashMap.hh.
|
inherited |
Definition at line 81 of file JHashMap.hh.
|
inherited |
Definition at line 83 of file JHashMap.hh.
|
inherited |
Definition at line 84 of file JHashMap.hh.
|
inherited |
Definition at line 86 of file JHashMap.hh.
|
inherited |
Definition at line 87 of file JHashMap.hh.
|
inherited |
Definition at line 88 of file JHashMap.hh.
|
inherited |
Definition at line 89 of file JHashMap.hh.
|
inline |
Constructor.
| detector | detector |
| velocity | sound velocity |
Definition at line 395 of file JKatoomba.hh.
|
inline |
Fit function.
This method is used to determine the chi2 of given hit with respect to actual model.
| model | model |
| hit | hit |
Definition at line 410 of file JKatoomba.hh.
|
inline |
Fit.
| __begin | begin of hits |
| __end | end of hits |
Definition at line 427 of file JKatoomba.hh.
|
inlineinherited |
Multi-dimensional fit.
The given fit function should return the equivalent of chi2 for the current value of the given model and a given data point.
| fit | fit function |
| __begin | begin of data |
| __end | end of data |
Definition at line 71 of file JSimplex.hh.
|
inlineinherited |
1D fit.
The given fit function should return the equivalent of chi2 for the current value of the given model and a given data point.
| fit | fit function |
| __begin | begin of data |
| __end | end of data |
| step | step direction |
Definition at line 178 of file JSimplex.hh.
|
inlineinherited |
Get estimated time-of-arrival for given hit.
| model | model |
| hit | hit |
Definition at line 78 of file JKatoomba.hh.
|
inlinestaticinherited |
Get fit option.
Definition at line 102 of file JKatoomba.hh.
|
inlinestaticinherited |
Set fit option.
| option | option |
Definition at line 113 of file JKatoomba.hh.
|
inlinestaticprotectedinherited |
|
inlineinherited |
Check if this detector has given string.
| string | string |
Definition at line 468 of file JGeometry.hh.
|
inlineinherited |
Check if this detector has given location.
| location | location |
Definition at line 480 of file JGeometry.hh.
|
inlineoverridevirtualinherited |
Clear.
Implements JTOOLS::JMappableCollection< JKey_t, JValue_t >.
Definition at line 107 of file JHashMap.hh.
|
inlineoverridevirtualinherited |
Get mapped value.
| key | key |
Implements JTOOLS::JMappableCollection< JKey_t, JValue_t >.
Definition at line 119 of file JHashMap.hh.
|
inlineoverridevirtualinherited |
Get mapped value.
This method will throw an exception if given key is not present following the prerequisite of constness.
| key | key |
Implements JTOOLS::JMappableCollection< JKey_t, JValue_t >.
Definition at line 139 of file JHashMap.hh.
|
inlineinherited |
Get element with given value.
This method will throw an exception if given value is not present following the prerequisite of constness.
| value | value |
Definition at line 176 of file JHashCollection.hh.
|
inlineinherited |
Get element with given value.
This method will throw an exception if given value is not present following the prerequisite of constness.
| value | value |
Definition at line 197 of file JHashCollection.hh.
|
inlineinherited |
Swap hash collection.
| collection | hash collection |
Definition at line 123 of file JHashCollection.hh.
|
inlineinherited |
Find element with given value.
| value | value |
Definition at line 138 of file JHashCollection.hh.
|
inlineinherited |
Find element with given value.
| value | value |
Definition at line 156 of file JHashCollection.hh.
|
inlinevirtualinherited |
Insert element.
| element | element |
Definition at line 215 of file JHashCollection.hh.
|
inlineinherited |
Insert values.
| __begin | begin of values |
| __end | end of values |
Definition at line 239 of file JHashCollection.hh.
|
inlineinherited |
Erase element at given position.
| pos | valid position |
Definition at line 252 of file JHashCollection.hh.
|
inlineinherited |
Erase elements in given range.
| __begin | begin position (included) |
| __end | end position (excluded) |
Definition at line 268 of file JHashCollection.hh.
|
inlineinherited |
Erase element with given value.
| value | value |
Definition at line 287 of file JHashCollection.hh.
|
inlineinherited |
Test whether given value is present.
| value | value |
Definition at line 309 of file JHashCollection.hh.
|
inlineinherited |
Get index of given value.
| value | value |
Definition at line 322 of file JHashCollection.hh.
|
inlineinherited |
Get mapped value.
| key | key |
Definition at line 73 of file JMappableCollection.hh.
|
inlineinherited |
Get mapped value.
| key | key |
Definition at line 85 of file JMappableCollection.hh.
|
inlineinherited |
Put pair-wise element (key,value) into collection.
| key | key |
| value | value |
Definition at line 97 of file JMappableCollection.hh.
|
staticinherited |
maximal number of iterations
maximal number of iterations.
Definition at line 237 of file JSimplex.hh.
|
staticinherited |
maximal distance to minimum
maximal distance to minimum.
Definition at line 238 of file JSimplex.hh.
|
inherited |
Definition at line 240 of file JSimplex.hh.
|
inherited |
Definition at line 241 of file JSimplex.hh.
|
inherited |
Definition at line 242 of file JSimplex.hh.
|
staticinherited |
debug level (default is off).
Definition at line 45 of file JMessage.hh.
|
inherited |
Definition at line 91 of file JKatoomba.hh.
|
inherited |
Definition at line 92 of file JKatoomba.hh.
|
inherited |
M-Estimator function.
Definition at line 94 of file JKatoomba.hh.
|
inherited |
Function object for evaluation of element.
Definition at line 331 of file JHashCollection.hh.
|
protectedinherited |
1.8.5