1 #ifndef __JTRIGGEROUTPUT__
2 #define __JTRIGGEROUTPUT__
15 namespace JPP {
using namespace JTRIGGER; }
40 template<
class JMatch_t>
43 std::sort(this->begin(), this->end());
45 iterator out = this->begin();
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.
Auxiliary class to check whether two consecutive hits should be joined.