1 #ifndef __JACOUSTICS__JTRIGGEROUTPUT__
2 #define __JACOUSTICS__JTRIGGEROUTPUT__
39 template<
class JMatch_t>
40 inline void merge(
const JMatch_t& match)
42 std::sort(this->begin(), this->end());
44 iterator out = this->begin();
46 for (iterator i = this->begin(); i != this->end(); ++out) {
52 while (++i != this->end() && match(*out,*i)) {
57 this->erase(out, this->end());
void merge(const JMatch_t &match)
Merge events.
JTriggerOutput()
Default constructor.
Auxiliary classes and methods for acoustic position calibration.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).