3D match criterion for acoustic signals.
More...
3D match criterion for acoustic signals.
Definition at line 85 of file JAcousticsTriggerProcessor.cc.
◆ clone_type
template<class JClonable_t , class JDerived_t >
◆ JMatch3D() [1/2]
JACOUSTICS::JMatch3D::JMatch3D |
( |
const JSoundVelocity & |
V, |
|
|
const double |
Tmax_s = 0.0 |
|
) |
| |
|
inline |
◆ JMatch3D() [2/2]
JACOUSTICS::JMatch3D::JMatch3D |
( |
const double |
V, |
|
|
const double |
Dmax_m, |
|
|
const double |
Tmax_s |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
V | sound velocity [m/s] |
Dmax_m | maximal distance [m] |
Tmax_s | maximal extra time [s] |
Definition at line 105 of file JBillabong.cc.
◆ operator()() [1/2]
virtual bool JACOUSTICS::JMatch3D::operator() |
( |
const hit_type & |
first, |
|
|
const hit_type & |
second |
|
) |
| const |
|
inlineoverridevirtual |
Match operator.
- Parameters
-
- Returns
- match result
Definition at line 108 of file JAcousticsTriggerProcessor.cc.
116 const double dt = fabs(first.
getToA() - second.
getToA());
const JPosition3D & getPosition() const
Get position.
double getZ() const
Get z position.
double getDistance(const JFirst_t &first, const JSecond_t &second)
Get distance between objects.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
virtual double getTime(const double D_m, const double z1, const double z2) const override
Get propagation time of sound.
double getToA() const
Get calibrated time of arrival.
◆ operator()() [2/2]
virtual bool JACOUSTICS::JMatch3D::operator() |
( |
const hit_type & |
first, |
|
|
const hit_type & |
second |
|
) |
| const |
|
inlineoverridevirtual |
Match operator.
- Parameters
-
- Returns
- match result
Definition at line 119 of file JBillabong.cc.
◆ clone()
template<class JClonable_t , class JDerived_t >
|
inlineoverridevirtualinherited |
Get clone of this object.
- Returns
- pointer to newly created object
Reimplemented in JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, JPHYSICS::JPD0Transformer_t< JArgument_t >, and JPHYSICS::JPDFTransformer_t< JArgument_t >.
Definition at line 69 of file JClonable.hh.
71 return new JDerived_t(
static_cast<const JDerived_t&
>(*
this));
◆ V [1/2]
◆ Tmax_s
const double JACOUSTICS::JMatch3D::Tmax_s |
◆ V [2/2]
const double JACOUSTICS::JMatch3D::V |
|
private |
◆ Dmax_m
const double JACOUSTICS::JMatch3D::Dmax_m |
|
private |
The documentation for this class was generated from the following files: