1#ifndef __JTRIGGER__JPMTSELECTOR__
2#define __JTRIGGER__JPMTSELECTOR__
51 for (const_iterator i = this->begin(); i != this->end(); ++i) {
73 object.push_back(pmt);
89 for (JPMTSelector::const_iterator i =
object.begin(); i !=
object.end(); ++i) {
90 out <<
' ' << i->getModuleID() <<
' ' << i->getPMTAddress();
static bool compare(const JPMTIdentifier_t &first, const JPMTIdentifier_t &second)
Compare PMT identifiers.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.
Auxiliary data structure for set of PMT identifiers.
ClassDef(JPMTSelector, 1)
friend std::ostream & operator<<(std::ostream &out, const JPMTSelector &object)
Write vector of PMT identifiers to output.
JPMTSelector()
Default constructor.
bool operator()(const JPMTIdentifier_t &pmt) const
Test match with given PMT.
friend std::istream & operator>>(std::istream &in, JPMTSelector &object)
Read vector of PMT identifiers from input.
virtual ~JPMTSelector()
Virtual destructor.