1#ifndef __JTRIGGER__JDOMTOPMTMASKMAP__
2#define __JTRIGGER__JDOMTOPMTMASKMAP__
30 public std::map<JModuleIdentifier, JPMTMask>,
57 for(; n !=0 && in; --n) {
61 if(!(masks.insert(std::make_pair(
id,mask))).second) {
62 throw JException(
"Key already exists in map.");
78 dommask!=masks.end();++dommask)
80 out << dommask->first <<
' ' << dommask->second << endl;
97 for(; n !=0 && in; --n) {
101 if(!(insert(std::make_pair(
id,mask))).second) {
102 throw JException(
"Key already exists in map.");
115 unsigned int n = size();
120 dommask!=this->end(); ++dommask )
122 out << dommask->first
Interface for binary input.
Forward declaration of binary output.
Interface for binary output.
Auxiliary class for object identification.
friend std::istream & operator>>(std::istream &in, JDOMToPMTMaskMap &masks)
virtual JReader & read(JReader &in) override
Read from input.
virtual JWriter & write(JWriter &out) const override
Write to output.
friend std::ostream & operator<<(std::ostream &out, const JDOMToPMTMaskMap &masks)
const JPMTMask & getPMTMask(const JModuleIdentifier &id)
Auxiliary class for PMT mask.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.