1#ifndef __JACOUSTICS__JACOUSTICSTOOLKIT__ 
    2#define __JACOUSTICS__JACOUSTICSTOOLKIT__ 
   64      min(
std::numeric_limits<size_t>::max())
 
   66      for (T i = __begin; i != __end; ++i) {
 
   67        (*this)[i->getID()] += 1;
 
   70      for (const_iterator i = this->begin(); i != this->end(); ++i) {
 
   71        if (i->second < 
min) {
 
 
  110        const_iterator p = this->find(
id);
 
  112        if (p != this->end())
 
  113          return (
double) 
min / (double) p->second;
 
 
  131      static bool unify = 
true;
 
 
 
  148  template<
class T, 
class JTypename_t, 
class JComparator_t>
 
  153    T p = std::find_if(__begin, __end, predicate);
 
  156      return p->getPosition();
 
 
  171  template<
class T, 
class JTypename_t, 
class JComparator_t>
 
  180    catch(
const std::exception&) {
 
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
 
Data structure for vector in three dimensions.
 
Template definition of auxiliary class to select objects.
 
Exception for accessing a value in a collection that is outside of its range.
 
JDAQUTCExtended getTimesliceStart() const
Get start of timeslice.
 
double getTimeNanoSecond() const
Get time (limited to 16 ns cycles).
 
Auxiliary classes and methods for acoustic position calibration.
 
int getWaveformID(int id)
Get waveform identifier.
 
double getUNIXTime(const KM3NETDAQ::JDAQChronometer &chronometer)
Get UNIX time of given DAQ object.
 
JVector3D getPosition(T __begin, T __end, const JPredicate< JTypename_t, JComparator_t > &predicate)
Get position from element in data which corresponds to given predicate.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Auxiliary data structure to unify weights of acoustics data according to the number of pings per emit...
 
double operator()(const int id) const
Get weight.
 
static bool & get_unify()
Get option to unify weights.
 
static bool getUnify()
Get option to unify weights.
 
JWeight(T __begin, T __end)
Constructor.
 
static void setUnify(const bool unify)
Set option to unify weights.