PMT identifier.
More...
#include <JDAQPMTIdentifier.hh>
PMT identifier.
Definition at line 20 of file JDAQPMTIdentifier.hh.
KM3NETDAQ::JDAQPMTIdentifier::JDAQPMTIdentifier |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 32 of file JDAQPMTIdentifier.hh.
JDAQModuleIdentifier()
Default constructor.
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.
JDAQModuleIdentifier()
Default constructor.
int KM3NETDAQ::JDAQPMTIdentifier::getPMTAddress |
( |
| ) |
const |
|
inline |
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.
int getPMTAddress() const
Get PMT identifier.
const JDAQModuleIdentifier & getModuleIdentifier() const
Get Module identifier.
int KM3NETDAQ::JDAQModuleIdentifier::getModuleID |
( |
| ) |
const |
|
inlineinherited |
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
Read PMT identifier from input.
- Parameters
-
in | reader |
pmt | PMT identifier |
- Returns
- reader
Definition at line 35 of file JDAQPMTIdentifierIO.hh.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
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);
Read PMT identifier from input.
- Parameters
-
in | input stream |
pmt | PMT identifier |
- Returns
- input stream
Definition at line 91 of file JDAQPMTIdentifier.hh.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
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) <<
' ';
int KM3NETDAQ::JDAQPMTIdentifier::address |
|
protected |
int KM3NETDAQ::JDAQModuleIdentifier::id |
|
protectedinherited |
The documentation for this class was generated from the following file: