Jpp
18.2.0
the software that should make you happy
|
Address of PMT in detector data structure. More...
#include <JPMTAddress.hh>
Public Member Functions | |
JPMTAddress () | |
Default constructor. More... | |
JPMTAddress (const JModuleAddress &module, const int pmt) | |
Constructor. More... | |
bool | less (const JPMTAddress &address) const |
Less than method. More... | |
bool | equals (const JModuleAddress &address) const |
Equal method. More... | |
Public Attributes | |
int | second |
index of PMT in module data structure. More... | |
int | first |
index of module in detector data structure More... | |
Friends | |
std::istream & | operator>> (std::istream &in, JPMTAddress &object) |
Read PMT address from input. More... | |
std::ostream & | operator<< (std::ostream &out, const JPMTAddress &object) |
Write PMT address to output. More... | |
Address of PMT in detector data structure.
The address of a PMT consists of a pair of integer values, where
This class implements the JLANG::JComparable interface.
Definition at line 32 of file JPMTAddress.hh.
|
inline |
Default constructor.
Definition at line 40 of file JPMTAddress.hh.
|
inline |
Constructor.
module | module address |
pmt | PMT index |
Definition at line 52 of file JPMTAddress.hh.
|
inline |
Less than method.
address | PMT address |
Definition at line 65 of file JPMTAddress.hh.
|
inlineinherited |
Equal method.
address | module address |
Definition at line 58 of file JModuleAddress.hh.
|
friend |
Read PMT address from input.
in | input stream |
object | PMT address |
Definition at line 81 of file JPMTAddress.hh.
|
friend |
Write PMT address to output.
out | output stream |
object | PMT address |
Definition at line 94 of file JPMTAddress.hh.
int JDETECTOR::JPMTAddress::second |
index of PMT in module data structure.
Definition at line 100 of file JPMTAddress.hh.
|
inherited |
index of module in detector data structure
Definition at line 90 of file JModuleAddress.hh.