PMT identifier.
More...
#include <JPMTIdentifier.hh>
PMT identifier.
Definition at line 31 of file JPMTIdentifier.hh.
JDETECTOR::JPMTIdentifier::JPMTIdentifier |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 39 of file JPMTIdentifier.hh.
JLANG::JObjectID JModuleIdentifier
JPMTReadoutAddress()
Default constructor.
JDETECTOR::JPMTIdentifier::JPMTIdentifier |
( |
const JModuleIdentifier & |
id, |
|
|
const int |
tdc |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
id | module identifier |
tdc | TDC |
Definition at line 51 of file JPMTIdentifier.hh.
JLANG::JObjectID JModuleIdentifier
JPMTReadoutAddress()
Default constructor.
const JPMTIdentifier& JDETECTOR::JPMTIdentifier::getPMTIdentifier |
( |
| ) |
const |
|
inline |
void JDETECTOR::JPMTIdentifier::setPMTIdentifier |
( |
const JPMTIdentifier & |
id | ) |
|
|
inline |
int JDETECTOR::JPMTIdentifier::getModuleID |
( |
| ) |
const |
|
inline |
Get module identifier.
- Returns
- module identifier
Definition at line 85 of file JPMTIdentifier.hh.
int getID() const
Get identifier.
int JDETECTOR::JPMTIdentifier::getPMTAddress |
( |
| ) |
const |
|
inline |
bool JDETECTOR::JPMTIdentifier::is_valid |
( |
| ) |
const |
|
inline |
Check validity.
- Returns
- true if PMT identifier is valid; else false
Definition at line 107 of file JPMTIdentifier.hh.
int getID() const
Get identifier.
int JLANG::JObjectID::getID |
( |
| ) |
const |
|
inlineinherited |
Get identifier.
- Returns
- identifier
Definition at line 50 of file JObjectID.hh.
int& JLANG::JObjectID::getID |
( |
| ) |
|
|
inlineinherited |
Get identifier.
- Returns
- identifier
Definition at line 61 of file JObjectID.hh.
void JLANG::JObjectID::setID |
( |
const int |
id | ) |
|
|
inlineinherited |
Set identifier.
- Parameters
-
Definition at line 72 of file JObjectID.hh.
bool JLANG::JObjectID::less |
( |
const JObjectID & |
object | ) |
const |
|
inlineinherited |
Less than method.
- Parameters
-
- Returns
- true if this identifier less than given identifier; else false
Definition at line 84 of file JObjectID.hh.
86 return this->
getID() <
object.getID();
int getID() const
Get identifier.
bool JLANG::JObjectID::less |
( |
const int |
id | ) |
const |
|
inlineinherited |
Less than method.
- Parameters
-
- Returns
- true if this identifier less than given identifier; else false
Definition at line 96 of file JObjectID.hh.
98 return this->
getID() < id;
int getID() const
Get identifier.
bool JLANG::JObjectID::more |
( |
const int |
id | ) |
const |
|
inlineinherited |
More than method.
- Parameters
-
- Returns
- true if this identifier greater than given identifier; else false
Definition at line 108 of file JObjectID.hh.
110 return this->
getID() > id;
int getID() const
Get identifier.
int JDETECTOR::JPMTReadoutAddress::getTDC |
( |
| ) |
const |
|
inlineinherited |
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
JPMTIdentifier & |
object |
|
) |
| |
|
friend |
Read PMT identifier from input.
- Parameters
-
in | input stream |
object | PMT identifier |
- Returns
- input stream
Definition at line 120 of file JPMTIdentifier.hh.
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
Auxiliary class for object identification.
Data structure for PMT readout address.
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JPMTIdentifier & |
object |
|
) |
| |
|
friend |
Write PMT identifier to output.
- Parameters
-
out | output stream |
object | PMT identifier |
- Returns
- output stream
Definition at line 136 of file JPMTIdentifier.hh.
140 out << setw(10) << static_cast<const JModuleIdentifier&> (object) <<
' ';
141 out << setw(2) << static_cast<const JPMTReadoutAddress&>(object);
Read PMT identifier from input.
- Parameters
-
in | reader |
object | PMT identifier |
- Returns
- reader
Definition at line 154 of file JPMTIdentifier.hh.
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
Auxiliary class for object identification.
Data structure for PMT readout address.
Write PMT identifier to output.
- Parameters
-
out | writer |
object | PMT identifier |
- Returns
- writer
Definition at line 170 of file JPMTIdentifier.hh.
172 out << static_cast<const JModuleIdentifier&> (object);
173 out << static_cast<const JPMTReadoutAddress&>(object);
int JLANG::JObjectID::__id |
|
protectedinherited |
int JDETECTOR::JPMTReadoutAddress::tdc |
|
inherited |
The documentation for this class was generated from the following file: