Go to the documentation of this file. 1 #ifndef __JDETECTOR__JDETECTORVERSION__
2 #define __JDETECTOR__JDETECTORVERSION__
71 public std::map<std::string, JDetectorVersion::JVersion_t>
80 #define MAKE_ENTRY(A) std::make_pair(to_upper(getClassname(#A)), A)
100 const_iterator i = this->find(
to_upper(variant));
102 if (i != this->end()) {
127 public std::map<JDetectorVersion::JVersion_t, std::string>
138 for (JGetDetectorVersion::const_iterator i = input.begin(); i != input.end(); ++i) {
139 this->insert(make_pair(i->second, i->first));
152 const_iterator i = this->find(version);
154 if (i != this->end()) {
Version with UTC time and UTM position data.
Auxiliary class to map detector variant to detector version.
Auxiliary class for a type holder.
static const JPutDetectorVersion putDetectorVersion(getDetectorVersion)
Function object to map detector version to detector variant.
Version with PMT status field and comments.
std::string to_upper(const std::string &value)
Convert all character to upper case.
JDetectorVersion::JVersion_t operator()(const std::string &variant) const
Get detector version.
static const JGetDetectorVersion getDetectorVersion
Function object to map detector variant to detector version.
JPutDetectorVersion(const JGetDetectorVersion &input)
Constructor.
Auxiliary class to map detector version to detector variant.
JVersion_t
Enumeration of version types.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
JGetDetectorVersion()
Default constructor.
JDetectorVersion(const JVersion &version)
Constructor.
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
std::vector< T > getDetectorVersions()
Get detector versions.
const std::string & operator()(const JDetectorVersion::JVersion_t &version) const
Put detector version.
Auxiliary class for version identifier.
JDetectorVersion()
Default constructor.
const std::string & getVariant() const
Get variant.
const std::vector< JValue_t > make_array(const JValue_t(&array)[N])
Method to create array of values.
Auxiliary classes and methods for detector calibration.
JDetectorVersion::JVersion_t operator()(const JDetectorVersion &version) const
Get detector version.