PMT identifier.
More...
#include <JPMTIdentifier.hh>
PMT identifier.
Definition at line 30 of file JPMTIdentifier.hh.
◆ JPMTIdentifier() [1/2]
JDETECTOR::JPMTIdentifier::JPMTIdentifier |
( |
| ) |
|
|
inline |
◆ JPMTIdentifier() [2/2]
JDETECTOR::JPMTIdentifier::JPMTIdentifier |
( |
const JModuleIdentifier & |
id, |
|
|
const int |
tdc |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
id | module identifier |
tdc | TDC |
Definition at line 50 of file JPMTIdentifier.hh.
◆ getModuleID()
int JDETECTOR::JPMTIdentifier::getModuleID |
( |
| ) |
const |
|
inline |
Get module identifier.
- Returns
- module identifier
Definition at line 62 of file JPMTIdentifier.hh.
◆ getPMTAddress()
int JDETECTOR::JPMTIdentifier::getPMTAddress |
( |
| ) |
const |
|
inline |
Get PMT identifier (= TDC).
- Returns
- PMT identifier
Definition at line 73 of file JPMTIdentifier.hh.
◆ getID()
int JLANG::JObjectID::getID |
( |
| ) |
const |
|
inlineinherited |
Get identifier.
- Returns
- identifier
Definition at line 55 of file JObjectID.hh.
◆ setID()
void JLANG::JObjectID::setID |
( |
const int |
id | ) |
|
|
inlineinherited |
Set identifier.
- Parameters
-
Definition at line 66 of file JObjectID.hh.
◆ less() [1/2]
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 78 of file JObjectID.hh.
80 return this->
getID() <
object.getID();
◆ less() [2/2]
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 90 of file JObjectID.hh.
92 return this->
getID() < id;
◆ more()
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 102 of file JObjectID.hh.
104 return this->
getID() > id;
◆ getTDC()
int JDETECTOR::JPMTReadoutAddress::getTDC |
( |
| ) |
const |
|
inlineinherited |
◆ operator>> [1/2]
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 86 of file JPMTIdentifier.hh.
88 in >> static_cast<JModuleIdentifier&> (
object);
89 in >> static_cast<JPMTReadoutAddress&>(
object);
◆ operator<< [1/2]
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 102 of file JPMTIdentifier.hh.
106 out << setw(10) << static_cast<const JModuleIdentifier&> (
object) <<
' ';
107 out << setw(2) << static_cast<const JPMTReadoutAddress&>(
object);
◆ operator>> [2/2]
Read PMT identifier from input.
- Parameters
-
in | reader |
object | PMT identifier |
- Returns
- reader
Definition at line 120 of file JPMTIdentifier.hh.
122 in >> static_cast<JModuleIdentifier&> (
object);
123 in >> static_cast<JPMTReadoutAddress&>(
object);
◆ operator<< [2/2]
Write PMT identifier to output.
- Parameters
-
out | writer |
object | PMT identifier |
- Returns
- writer
Definition at line 136 of file JPMTIdentifier.hh.
138 out << static_cast<const JModuleIdentifier&> (
object);
139 out << static_cast<const JPMTReadoutAddress&>(
object);
◆ __id
int JLANG::JObjectID::__id |
|
protectedinherited |
◆ tdc
int JDETECTOR::JPMTReadoutAddress::tdc |
|
inherited |
The documentation for this class was generated from the following file: