1 #ifndef __JACOUSTICS__JACOUSTICSTOOLKIT__
2 #define __JACOUSTICS__JACOUSTICSTOOLKIT__
18 namespace JACOUSTICS {}
19 namespace JPP {
using namespace JACOUSTICS; }
21 namespace JACOUSTICS {
36 template<
class T,
class JTypename_t,
class JComparator_t>
41 T p = std::find_if(__begin, __end, predicate);
44 return p->getPosition();
59 template<
class T,
class JTypename_t,
class JComparator_t>
68 catch(
const std::exception&) {
double getUNIXTime(const KM3NETDAQ::JDAQChronometer &chronometer)
Get UNIX time of given DAQ object.
JDAQUTCExtended getTimesliceStart() const
Get start of timeslice.
Template definition of auxiliary class to select objects.
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Data structure for vector in three dimensions.
do set_variable OUTPUT_DIRECTORY $WORKDIR T
JPosition3D getPosition(const Vec &pos)
Get position.
Exception for accessing a value in a collection that is outside of its range.
double getTimeNanoSecond() const
Get time (limited to 16 ns cycles).