Auxiliary class to map detector variant to detector version.
More...
#include <JDetectorVersion.hh>
Auxiliary class to map detector variant to detector version.
Definition at line 70 of file JDetectorVersion.hh.
◆ JGetDetectorVersion()
JDETECTOR::JGetDetectorVersion::JGetDetectorVersion |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 76 of file JDetectorVersion.hh.
80 #define MAKE_ENTRY(A) std::make_pair(to_upper(getClassname(#A)), A)
◆ operator()() [1/2]
Get detector version.
- Parameters
-
- Returns
- version
Definition at line 96 of file JDetectorVersion.hh.
100 const_iterator i = this->find(
to_upper(variant));
102 if (i != this->end()) {
105 THROW(JTypeInformationException,
"Invalid variant <" << variant <<
">");
◆ operator()() [2/2]
The documentation for this struct was generated from the following file: