Auxiliary class for LCM logic parameters.
More...
|
| LCM_reverse_logic () |
| Default constructor.
|
|
| LCM_reverse_logic (const int __id, const int __lcm_id, const int __pmt_id) |
| Constructor.
|
|
int | getID () const |
| Get identifier.
|
|
int & | getID () |
| Get identifier.
|
|
void | setID (const int id) |
| Set identifier.
|
|
bool | less (const JObjectID &object) const |
| Less than method.
|
|
bool | less (const int id) const |
| Less than method.
|
|
bool | more (const int id) const |
| More than method.
|
|
Auxiliary class for LCM logic parameters.
Definition at line 217 of file JMonteCarloDetector.hh.
◆ LCM_reverse_logic() [1/2]
JDETECTOR::JMonteCarloDetector::LCM_reverse_logic::LCM_reverse_logic |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 224 of file JMonteCarloDetector.hh.
224 :
228 {}
int pmt_id
PMT identifier.
int lcm_id
LCM identifier.
JObjectID()
Default constructor.
◆ LCM_reverse_logic() [2/2]
JDETECTOR::JMonteCarloDetector::LCM_reverse_logic::LCM_reverse_logic |
( |
const int | __id, |
|
|
const int | __lcm_id, |
|
|
const int | __pmt_id ) |
|
inline |
Constructor.
- Parameters
-
__id | identifier |
__lcm_id | LCM identifier |
__pmt_id | PMT identifier |
Definition at line 238 of file JMonteCarloDetector.hh.
◆ getID() [1/2]
int JLANG::JObjectID::getID |
( |
| ) |
const |
|
inlineinherited |
Get identifier.
- Returns
- identifier
Definition at line 50 of file JObjectID.hh.
◆ getID() [2/2]
int & JLANG::JObjectID::getID |
( |
| ) |
|
|
inlineinherited |
Get identifier.
- Returns
- identifier
Definition at line 61 of file JObjectID.hh.
◆ setID()
void JLANG::JObjectID::setID |
( |
const int | id | ) |
|
|
inlineinherited |
Set identifier.
- Parameters
-
Definition at line 72 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 84 of file JObjectID.hh.
85 {
86 return this->
getID() <
object.getID();
87 }
int getID() const
Get identifier.
◆ 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 96 of file JObjectID.hh.
97 {
98 return this->
getID() < id;
99 }
◆ 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 108 of file JObjectID.hh.
109 {
110 return this->
getID() > id;
111 }
◆ lcm_id
int JDETECTOR::JMonteCarloDetector::LCM_reverse_logic::lcm_id |
◆ pmt_id
int JDETECTOR::JMonteCarloDetector::LCM_reverse_logic::pmt_id |
◆ __id
int JLANG::JObjectID::__id |
|
protectedinherited |
The documentation for this class was generated from the following file: