#include <JPMTIdentifier_t.hh>
Definition at line 21 of file JPMTIdentifier_t.hh.
◆ JPMTIdentifier_t() [1/3]
JTRIGGER::JPMTIdentifier_t::JPMTIdentifier_t |
( |
| ) |
|
|
inline |
◆ JPMTIdentifier_t() [2/3]
JTRIGGER::JPMTIdentifier_t::JPMTIdentifier_t |
( |
int |
id, |
|
|
int |
tdc |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
id | module identifier |
tdc | PMT readout channel |
Definition at line 40 of file JPMTIdentifier_t.hh.
◆ JPMTIdentifier_t() [3/3]
◆ ~JPMTIdentifier_t()
virtual JTRIGGER::JPMTIdentifier_t::~JPMTIdentifier_t |
( |
| ) |
|
|
inlinevirtual |
◆ getModuleID()
int JTRIGGER::JPMTIdentifier_t::getModuleID |
( |
| ) |
const |
|
inline |
◆ getPMTAddress()
int JTRIGGER::JPMTIdentifier_t::getPMTAddress |
( |
| ) |
const |
|
inline |
◆ compare()
Compare PMT identifiers.
The comparison is applied to the module identifer and to the PMT address. If the module identifier or PMT address is -1
, the corresponding comparison evaluates to true
.
- Parameters
-
first | first PMT identifier |
second | second PMT identifier |
- Returns
- true if first and second PMT identifier are equal; else false
Definition at line 98 of file JPMTIdentifier_t.hh.
◆ operator JDAQPMTIdentifier()
◆ ClassDef()
◆ operator>>
Read PMT identifier from input.
- Parameters
-
in | input stream |
id | PMT identifier |
- Returns
- input stream
Definition at line 119 of file JPMTIdentifier_t.hh.
◆ operator<<
Write PMT identifier to output.
- Parameters
-
out | output stream |
id | PMT identifier |
- Returns
- output stream
Definition at line 135 of file JPMTIdentifier_t.hh.
137 out <<
id.moduleID <<
' ';
138 out <<
id.pmtAddress;
◆ moduleID
int JTRIGGER::JPMTIdentifier_t::moduleID |
|
protected |
◆ pmtAddress
int JTRIGGER::JPMTIdentifier_t::pmtAddress |
|
protected |
The documentation for this class was generated from the following file: