Jpp
master_rocky-37-gf0c5bc59d
the software that should make you happy
|
Address of module in detector data structure. More...
#include <JModuleAddress.hh>
Public Member Functions | |
JModuleAddress () | |
Default constructor. More... | |
JModuleAddress (const int index) | |
Constructor. More... | |
bool | equals (const JModuleAddress &address) const |
Equal method. More... | |
Public Attributes | |
int | first |
index of module in detector data structure More... | |
Friends | |
std::istream & | operator>> (std::istream &in, JModuleAddress &object) |
Read module address from input. More... | |
std::ostream & | operator<< (std::ostream &out, const JModuleAddress &object) |
Write module address to output. More... | |
Address of module in detector data structure.
The address of a module consists of a single integer value JModuleAddress::first which refers to the index of the module in the detector data structure.
This class implements the JLANG::JEquals interface.
Definition at line 30 of file JModuleAddress.hh.
|
inline |
Default constructor.
Definition at line 37 of file JModuleAddress.hh.
|
inlineexplicit |
|
inline |
Equal method.
address | module address |
Definition at line 58 of file JModuleAddress.hh.
|
friend |
Read module address from input.
in | input stream |
object | module address |
Definition at line 71 of file JModuleAddress.hh.
|
friend |
Write module address to output.
out | output stream |
object | module address |
Definition at line 84 of file JModuleAddress.hh.
int JDETECTOR::JModuleAddress::first |
index of module in detector data structure
Definition at line 90 of file JModuleAddress.hh.