Auxiliary class for OM position.
More...
|
| | OM_position (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.
|
| |
|
| double | x |
| | x position
|
| |
| double | y |
| | y position
|
| |
| double | z |
| | z position
|
| |
| double | theta |
| | zenit angle of orientation
|
| |
| double | phi |
| | azimuth angle of orientation
|
| |
Auxiliary class for OM position.
Definition at line 132 of file JMonteCarloDetector.hh.
◆ OM_position()
| JDETECTOR::JMonteCarloDetector::OM_position::OM_position |
( |
std::istream & | in | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 141 of file JMonteCarloDetector.hh.
142 {
143 in >>
static_cast<JObjectID<OM_position>&
>(*this) >>
x >>
y >>
z >>
theta >>
phi;
144 }
double theta
zenit angle of orientation
double phi
azimuth angle of orientation
◆ 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 }
| double JDETECTOR::JMonteCarloDetector::OM_position::x |
| double JDETECTOR::JMonteCarloDetector::OM_position::y |
| double JDETECTOR::JMonteCarloDetector::OM_position::z |
◆ theta
| double JDETECTOR::JMonteCarloDetector::OM_position::theta |
◆ phi
| double JDETECTOR::JMonteCarloDetector::OM_position::phi |
◆ _id_
The documentation for this class was generated from the following file: