|
Jpp
|
Auxiliary class to uniquely identify PMT readout channel. More...
#include <JPMTChannel.hh>
Public Member Functions | |
| JPMTChannel () | |
| Default constructor. More... | |
| JPMTChannel (const JObjectID &id, const JModuleLocation &location, const JPMTReadoutAddress &tdc) | |
| Constructor. More... | |
| std::string | toString () const |
| Convert PMT channel to string. More... | |
| int | getID () const |
| Get identifier. More... | |
| void | setID (const int id) |
| Set identifier. More... | |
| bool | less (const JObjectID &object) const |
| Less than method. More... | |
| bool | less (const int id) const |
| Less than method. More... | |
| bool | more (const int id) const |
| More than method. More... | |
| const JModuleLocation & | getLocation () const |
| Get location. More... | |
| JModuleLocation & | getLocation () |
| Get location. More... | |
| void | setLocation (const JModuleLocation &location) |
| Set location. 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 JModuleLocation &location) const |
| Less than method. More... | |
| int | getTDC () const |
| Get TDC. More... | |
Public Attributes | |
| int | tdc |
| TDC channel. More... | |
Protected Attributes | |
| int | __id |
| 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 28 of file JPMTChannel.hh.
|
inline |
Default constructor.
Definition at line 37 of file JPMTChannel.hh.
|
inline |
Constructor.
| id | detector identifier |
| location | module location |
| tdc | PMT readout address |
Definition at line 51 of file JPMTChannel.hh.
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Less than method.
| object | object identifier |
Definition at line 77 of file JObjectID.hh.
|
inlineinherited |
Less than method.
| id | identifier |
Definition at line 89 of file JObjectID.hh.
|
inlineinherited |
More than method.
| id | identifier |
Definition at line 101 of file JObjectID.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
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 117 of file JModuleLocation.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Less than method.
| location | module location |
Definition at line 156 of file JModuleLocation.hh.
|
inlineinherited |
|
friend |
Read PMT channel.
| in | input stream |
| object | PMT channel |
Definition at line 82 of file JPMTChannel.hh.
|
friend |
Write PMT channel.
| out | output stream |
| object | PMT channel |
Definition at line 99 of file JPMTChannel.hh.
|
protectedinherited |
Definition at line 159 of file JObjectID.hh.
|
protectedinherited |
Definition at line 233 of file JModuleLocation.hh.
|
protectedinherited |
Definition at line 234 of file JModuleLocation.hh.
|
inherited |
TDC channel.
Definition at line 113 of file JPMTReadoutAddress.hh.
1.8.5