Jpp
18.0.0
the software that should make you happy
|
Auxiliary class to uniquely identify PMT readout channel. More...
#include <JPMTChannel.hh>
Public Member Functions | |
JPMTChannel () | |
Default constructor. More... | |
JPMTChannel (const JLocation &location, const JPMTReadoutAddress &tdc) | |
Constructor. More... | |
bool | less (const JPMTChannel &channel) const |
Less than method. More... | |
const JLocation & | getLocation () const |
Get location. More... | |
JLocation & | getLocation () |
Get location. More... | |
void | setLocation (const JLocation &location) |
Set location. More... | |
std::string | toString () const |
Convert module location to string. More... | |
std::string | toString (const std::string &fmt, const std::string target="%") const |
Convert module loation to string. More... | |
int | getString () const |
Get string number. More... | |
int | getFloor () const |
Get floor number. More... | |
bool | less (const JLocation &location) const |
Less than method. More... | |
int | getTDC () const |
Get TDC. More... | |
Public Attributes | |
int | tdc |
TDC channel. More... | |
Protected Attributes | |
int | string |
int | floor |
Friends | |
std::istream & | operator>> (std::istream &in, JPMTChannel &object) |
Read PMT channel. More... | |
std::ostream & | operator<< (std::ostream &out, const JPMTChannel &object) |
Write PMT channel. More... | |
Auxiliary class to uniquely identify PMT readout channel.
Definition at line 30 of file JPMTChannel.hh.
|
inline |
Default constructor.
Definition at line 38 of file JPMTChannel.hh.
|
inline |
Constructor.
location | module location |
tdc | PMT readout address |
Definition at line 50 of file JPMTChannel.hh.
|
inline |
Less than method.
channel | PMT channel |
Definition at line 63 of file JPMTChannel.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Convert module location to string.
Definition at line 102 of file JLocation.hh.
|
inlineinherited |
Convert module loation to string.
The targets target
in the format string fmt
are consecutively replaced by floor
and string
.
fmt | format |
target | target |
Definition at line 118 of file JLocation.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Less than method.
location | module location |
Definition at line 157 of file JLocation.hh.
|
inlineinherited |
|
friend |
Read PMT channel.
in | input stream |
object | PMT channel |
Definition at line 79 of file JPMTChannel.hh.
|
friend |
Write PMT channel.
out | output stream |
object | PMT channel |
Definition at line 95 of file JPMTChannel.hh.
|
protectedinherited |
Definition at line 234 of file JLocation.hh.
|
protectedinherited |
Definition at line 235 of file JLocation.hh.
|
inherited |
TDC channel.
Definition at line 113 of file JPMTReadoutAddress.hh.