PMT identifier.
More...
#include <JDAQPMTIdentifier.hh>
PMT identifier.
Definition at line 20 of file JDAQPMTIdentifier.hh.
◆ JDAQPMTIdentifier() [1/2]
KM3NETDAQ::JDAQPMTIdentifier::JDAQPMTIdentifier |
( |
| ) |
|
|
inline |
◆ JDAQPMTIdentifier() [2/2]
KM3NETDAQ::JDAQPMTIdentifier::JDAQPMTIdentifier |
( |
const JDAQModuleIdentifier & |
id, |
|
|
const int |
pmt_address |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
id | module identifier |
pmt_address | PMT address |
Definition at line 44 of file JDAQPMTIdentifier.hh.
◆ getPMTIdentifier()
◆ setPMTIdentifier()
◆ getPMTAddress()
int KM3NETDAQ::JDAQPMTIdentifier::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 | PMT identifier |
second | PMT identifier |
- Returns
- true if first PMT equal second PMT; else false
Definition at line 126 of file JDAQPMTIdentifier.hh.
◆ ClassDefNV() [1/2]
◆ getModuleIdentifier()
◆ setModuleIdentifier()
◆ getModuleID()
int KM3NETDAQ::JDAQModuleIdentifier::getModuleID |
( |
| ) |
const |
|
inlineinherited |
◆ ClassDefNV() [2/2]
◆ getSizeof
Definition of method to get size of data type.
This method should be specialised for each desired data type with fixed length.
- Returns
- number of bytes
◆ operator>> [1/2]
Read PMT identifier from input.
- Parameters
-
in | reader |
pmt | PMT identifier |
- Returns
- reader
Definition at line 35 of file JDAQPMTIdentifierIO.hh.
37 in >> static_cast<JDAQModuleIdentifier&>(pmt);
◆ operator<< [1/2]
Write PMT identifier to output.
- Parameters
-
out | writer |
pmt | PMT identifier |
- Returns
- writer
Definition at line 51 of file JDAQPMTIdentifierIO.hh.
53 out << static_cast<const JDAQModuleIdentifier&>(pmt);
◆ operator>> [2/2]
Read PMT identifier from input.
- Parameters
-
in | input stream |
pmt | PMT identifier |
- Returns
- input stream
Definition at line 91 of file JDAQPMTIdentifier.hh.
93 in >> static_cast<JDAQModuleIdentifier&>(pmt);
◆ operator<< [2/2]
Write PMT identifier to output.
- Parameters
-
out | output stream |
pmt | PMT identifier |
- Returns
- output stream
Definition at line 107 of file JDAQPMTIdentifier.hh.
109 out << static_cast<const JDAQModuleIdentifier&>(pmt) <<
' ';
◆ address
int KM3NETDAQ::JDAQPMTIdentifier::address |
|
protected |
◆ id
int KM3NETDAQ::JDAQModuleIdentifier::id |
|
protectedinherited |
The documentation for this class was generated from the following file: