1 #ifndef __JTRIGGER__JPMTSELECTOR__
2 #define __JTRIGGER__JPMTSELECTOR__
15 namespace JPP {
using namespace JTRIGGER; }
48 for (const_iterator i = this->begin(); i != this->end(); ++i) {
70 object.push_back(pmt);
86 for (JPMTSelector::const_iterator i =
object.begin(); i !=
object.end(); ++i) {
87 out <<
' ' << i->getModuleID() <<
' ' << i->getPMTAddress();
friend std::ostream & operator<<(std::ostream &out, const JPMTSelector &object)
Write vector of PMT identifiers to output.
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
ClassDef(JPMTSelector, 1)
esac $JPP_DIR examples JDetector JTransitTime o $OUTPUT_FILE n N $NPE T $TTS_NS d $DEBUG for HISTOGRAM in tts tt2 pmt
virtual ~JPMTSelector()
Virtual destructor.
static bool compare(const JPMTIdentifier_t &first, const JPMTIdentifier_t &second)
Compare PMT identifiers.
JPMTSelector()
Default constructor.
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.