Auxiliary class for OM cluster parameters.
More...
|
| | OM_cluster (std::istream &in) |
| | 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.
|
| |
|
| int | string_id |
| | string identifier
|
| |
| double | z |
| | z position
|
| |
Auxiliary class for OM cluster parameters.
Definition at line 73 of file JMonteCarloDetector.hh.
◆ OM_cluster()
| JDETECTOR::JMonteCarloDetector::OM_cluster::OM_cluster |
( |
std::istream & | in | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 83 of file JMonteCarloDetector.hh.
84 {
86
87 in >>
static_cast<JObjectID<OM_cluster>&
>(*this) >>
string_id >>
z >>
n;
88
89 this->resize(n);
90
91 iterator p = this->begin();
92
93 for ( ;
n != 0; --
n, ++p)
94 in >> *p;
95 }
int string_id
string identifier
◆ 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 }
◆ string_id
| int JDETECTOR::JMonteCarloDetector::OM_cluster::string_id |
| double JDETECTOR::JMonteCarloDetector::OM_cluster::z |
◆ _id_
The documentation for this class was generated from the following file: