Auxiliary data structure for PMT status.
More...
#include <JDetectorCalibration.hh>
Auxiliary data structure for PMT status.
Definition at line 239 of file JDetectorCalibration.hh.
JDETECTOR::JPMTStatus_t::JPMTStatus_t |
( |
| ) |
|
|
inline |
JDETECTOR::JPMTStatus_t::JPMTStatus_t |
( |
const JObjectID & |
id, |
|
|
const JStatus & |
status |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
id | PMT identifier |
status | PMT status |
Definition at line 256 of file JDetectorCalibration.hh.
JStatus()
Default constructor.
JObjectID()
Default constructor.
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 JEEP::JStatus::getStatus |
( |
| ) |
const |
|
inlineinherited |
Get status.
- Returns
- status
Definition at line 63 of file JStatus.hh.
JStatus& JEEP::JStatus::getStatus |
( |
| ) |
|
|
inlineinherited |
Get status.
- Returns
- status
Definition at line 74 of file JStatus.hh.
int JEEP::JStatus::getStatus |
( |
const int |
mask | ) |
const |
|
inlineinherited |
Get status.
- Parameters
-
- Returns
- status
Definition at line 86 of file JStatus.hh.
88 return (this->
status & mask);
void JEEP::JStatus::setStatus |
( |
const JStatus & |
status | ) |
|
|
inlineinherited |
Set status.
- Parameters
-
Definition at line 97 of file JStatus.hh.
99 this->status = status.
status;
bool JEEP::JStatus::equals |
( |
const JStatus & |
status | ) |
const |
|
inlineinherited |
Equal method.
- Parameters
-
- Returns
- true if this status equal to given status; else false
Definition at line 109 of file JStatus.hh.
111 return this->status == status.
status;
bool JEEP::JStatus::has |
( |
const int |
bit | ) |
const |
|
inlineinherited |
Test PMT status.
- Parameters
-
Definition at line 120 of file JStatus.hh.
122 return (this->
status & (1<<bit)) != 0;
void JEEP::JStatus::set |
( |
const int |
bit | ) |
|
|
inlineinherited |
Set PMT status.
- Parameters
-
Definition at line 131 of file JStatus.hh.
void JEEP::JStatus::reset |
( |
const int |
bit | ) |
|
|
inlineinherited |
Reset PMT status.
- Parameters
-
Definition at line 142 of file JStatus.hh.
144 this->
status &= ~(1<<bit);
int JLANG::JObjectID::__id |
|
protectedinherited |
int JEEP::JStatus::status |
|
protectedinherited |
The documentation for this struct was generated from the following file: