1 #ifndef __JTRIGGER__JPMTSELECTOR__
2 #define __JTRIGGER__JPMTSELECTOR__
18 namespace JPP {
using namespace JTRIGGER; }
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();
friend std::ostream & operator<<(std::ostream &out, const JPMTSelector &object)
Write vector of PMT identifiers to output.
ClassDef(JPMTSelector, 1)
virtual ~JPMTSelector()
Virtual destructor.
static bool compare(const JPMTIdentifier_t &first, const JPMTIdentifier_t &second)
Compare PMT identifiers.
JPMTSelector()
Default constructor.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
friend std::istream & operator>>(std::istream &in, JPMTSelector &object)
Read vector of PMT identifiers from input.
bool operator()(const JPMTIdentifier_t &pmt) const
Test match with given PMT.
Auxiliary data structure for set of PMT identifiers.