1 #ifndef __JACOUSTICS__JACOUSTICSTOOLKIT__ 
    2 #define __JACOUSTICS__JACOUSTICSTOOLKIT__ 
   21 namespace JACOUSTICS {}
 
   22 namespace JPP { 
using namespace JACOUSTICS; }
 
   24 namespace JACOUSTICS {
 
   47       min(std::numeric_limits<size_t>::max())
 
   49       for (
T i = __begin; 
i != __end; ++
i) {
 
   50         (*this)[
i->getID()] += 1;
 
   53       for (const_iterator 
i = this->begin(); 
i != this->end(); ++
i) {
 
   54         if (
i->second < 
min) {
 
   93         const_iterator p = this->find(
id);
 
   96           return (
double) 
min / (double) p->second;
 
  114       static bool unify = 
true;
 
  131   template<
class T, 
class JTypename_t, 
class JComparator_t>
 
  136     T p = std::find_if(__begin, __end, predicate);
 
  139       return p->getPosition();
 
  154   template<
class T, 
class JTypename_t, 
class JComparator_t>
 
  163     catch(
const std::exception&) {
 
double getUNIXTime(const KM3NETDAQ::JDAQChronometer &chronometer)
Get UNIX time of given DAQ object. 
 
JDAQUTCExtended getTimesliceStart() const 
Get start of timeslice. 
 
double operator()(const int id) const 
Get weight. 
 
Template definition of auxiliary class to select objects. 
 
Auxiliary data structure to unify weights of acoustics data according to the number of pings per emit...
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message. 
 
JWeight(T __begin, T __end)
Constructor. 
 
Data structure for vector in three dimensions. 
 
static void setUnify(const bool unify)
Set option to unify weights. 
 
do set_variable OUTPUT_DIRECTORY $WORKDIR T
 
JPosition3D getPosition(const Vec &pos)
Get position. 
 
static bool & get_unify()
Get option to unify weights. 
 
Exception for accessing a value in a collection that is outside of its range. 
 
static bool getUnify()
Get option to unify weights. 
 
double getTimeNanoSecond() const 
Get time (limited to 16 ns cycles).