Represents a unique identifier for a sensitive detector element.
More...
#include <gtouchable.h>
Each identifier consists of a name and an integer value.
Definition at line 53 of file gtouchable.h.
◆ GIdentifier()
GIdentifier::GIdentifier |
( |
const std::string & | n, |
|
|
int | v ) |
|
inline |
- Parameters
-
n | The identifier name. |
v | The identifier value. |
Definition at line 61 of file gtouchable.h.
◆ getName()
std::string GIdentifier::getName |
( |
| ) |
const |
|
inline |
- Returns
- The identifier name.
Definition at line 75 of file gtouchable.h.
◆ getValue()
int GIdentifier::getValue |
( |
| ) |
const |
|
inline |
- Returns
- The identifier value.
Definition at line 81 of file gtouchable.h.
◆ operator==()
bool GIdentifier::operator== |
( |
const GIdentifier & | gid | ) |
const |
|
inline |
- Parameters
-
- Returns
- True if the identifier values are equal.
Definition at line 69 of file gtouchable.h.
The documentation for this struct was generated from the following file: