1 #ifndef __JTRIGGEROUTPUT__
2 #define __JTRIGGEROUTPUT__
40 template<
class JMatch_t>
41 inline void merge(
const JMatch_t& match)
43 std::sort(this->begin(), this->end());
47 for (
iterator i = this->begin(); i != this->end(); ++out) {
53 while (++i != this->end() && match(*out,*i)) {
58 this->erase(out, this->end());
JTriggerOutput()
Default constructor.
void merge(const JMatch_t &match)
Merge events.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.