Auxiliary data structure for set of PMT identifiers.
More...
#include <JPMTSelector.hh>
Auxiliary data structure for set of PMT identifiers.
Definition at line 25 of file JPMTSelector.hh.
JTRIGGER::JPMTSelector::JPMTSelector |
( |
| ) |
|
|
inline |
virtual JTRIGGER::JPMTSelector::~JPMTSelector |
( |
| ) |
|
|
inlinevirtual |
Test match with given PMT.
- Parameters
-
- Returns
- true if match; else false
Definition at line 49 of file JPMTSelector.hh.
51 for (const_iterator i = this->begin(); i != this->end(); ++i) {
static bool compare(const JPMTIdentifier_t &first, const JPMTIdentifier_t &second)
Compare PMT identifiers.
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
JPMTSelector & |
object |
|
) |
| |
|
friend |
Read vector of PMT identifiers from input.
- Parameters
-
in | input stream |
object | PMT identifiers |
- Returns
- input stream
Definition at line 68 of file JPMTSelector.hh.
73 object.push_back(pmt);
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 source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JPMTSelector & |
object |
|
) |
| |
|
friend |
Write vector of PMT identifiers to output.
- Parameters
-
out | output stream |
object | PMT identifiers |
- Returns
- output stream
Definition at line 87 of file JPMTSelector.hh.
89 for (JPMTSelector::const_iterator i =
object.begin(); i !=
object.end(); ++i) {
90 out <<
' ' << i->getModuleID() <<
' ' << i->getPMTAddress();
The documentation for this struct was generated from the following file: