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 :
225 JObjectID<LCM_reverse_logic>(),
228 {}
int pmt_id
PMT identifier.
int lcm_id
LCM identifier.
◆ 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.
240 :
244 {}
JObjectID()
Default constructor.
◆ getID() [1/2]
Get identifier.
- Returns
- identifier
Definition at line 63 of file JObjectID.hh.
◆ getID() [2/2]
Get identifier.
- Returns
- identifier
Definition at line 74 of file JObjectID.hh.
◆ setID()
Set identifier.
- Parameters
-
Definition at line 85 of file JObjectID.hh.
◆ less() [1/2]
Less than method.
- Parameters
-
- Returns
- true if this identifier less than given identifier; else false
Definition at line 97 of file JObjectID.hh.
98 {
99 return this->
getID() <
object.getID();
100 }
int getID() const
Get identifier.
◆ less() [2/2]
Less than method.
- Parameters
-
- Returns
- true if this identifier less than given identifier; else false
Definition at line 109 of file JObjectID.hh.
110 {
111 return this->
getID() < id;
112 }
◆ more()
More than method.
- Parameters
-
- Returns
- true if this identifier greater than given identifier; else false
Definition at line 121 of file JObjectID.hh.
122 {
123 return this->
getID() > id;
124 }
◆ lcm_id
| int JDETECTOR::JMonteCarloDetector::LCM_reverse_logic::lcm_id |
◆ pmt_id
| int JDETECTOR::JMonteCarloDetector::LCM_reverse_logic::pmt_id |
◆ _id_
The documentation for this class was generated from the following file: