Maintains information about known detectors.
More...
#include <DetectorNames.hh>
|
| DetectorNames () |
| Constructor. More...
|
|
const info_type & | Detector (const std::string &Name) const |
| Get information about a detector. More...
|
|
void | Freeze () |
| Prevent any further modifications to the structure. More...
|
|
void | operator() (const std::string &DetectorName, const std::string &Detector, const std::string &Prefix, const std::pair< int, int > DataQualityBits) |
| Add new element to the table. More...
|
|
| DetectorNames () |
| Constructor.
|
|
const info_type & | Detector (const std::string &Name) const |
| Get information about a detector. More...
|
|
void | Freeze () |
| Prevent any further modifications to the structure.
|
|
void | operator() (const std::string &DetectorName, const std::string &Detector, const std::string &Prefix, const std::pair< int, int > DataQualityBits) |
| Add new element to the table. More...
|
|
| DetectorNames () |
| Constructor.
|
|
const info_type & | Detector (const std::string &Name) const |
| Get information about a detector. More...
|
|
void | Freeze () |
| Prevent any further modifications to the structure.
|
|
void | operator() (const std::string &DetectorName, const std::string &Detector, const std::string &Prefix, const std::pair< int, int > DataQualityBits) |
| Add new element to the table. More...
|
|
Maintains information about known detectors.
◆ DetectorNames()
FrameCPP::Common::DetectorNames::DetectorNames |
( |
| ) |
|
Constructor.
The default constructor is used to ensure proper initialization of the data elements.
◆ Detector() [1/3]
Get information about a detector.
This method retrieves information about a detector.
- Parameters
-
[in] | Name | The name of the detector as listed in the FrDetector structure. |
- Returns
- Information associated with the detector.
- Exceptions
-
std::range_error | This exception is thrown if the Name parameter does not reference an entry in the set of detectors. |
◆ Detector() [2/3]
const info_type& FrameCPP::Common::DetectorNames::Detector |
( |
const std::string & |
Name | ) |
const |
Get information about a detector.
- Parameters
-
[in] | Name | The name of the detector as listed in the FrDetector structure. |
- Returns
- Information associated with the detector.
◆ Detector() [3/3]
const info_type& FrameCPP::Common::DetectorNames::Detector |
( |
const std::string & |
Name | ) |
const |
Get information about a detector.
- Parameters
-
[in] | Name | The name of the detector as listed in the FrDetector structure. |
- Returns
- Information associated with the detector.
◆ Freeze()
void FrameCPP::Common::DetectorNames::Freeze |
( |
| ) |
|
|
inline |
Prevent any further modifications to the structure.
Prevent further additions to the set of detectors.
◆ operator()() [1/3]
void FrameCPP::Common::DetectorNames::operator() |
( |
const std::string & |
DetectorName, |
|
|
const std::string & |
Detector, |
|
|
const std::string & |
Prefix, |
|
|
const std::pair< int, int > |
DataQualityBits |
|
) |
| |
Add new element to the table.
- Parameters
-
[in] | DetectorName | The name of the detector as it appears in the FrDetector structure. |
[in] | Detector | Description of the detector. |
[in] | Prefix | The channel prefix used in channel names to identify the detector used. |
[in] | DataQualityBits | Bits used in the data quality flag by this detector. |
This adds detector infomation into the set of known detectors. This routine is intended to be used by the version specific initialization routine.
◆ operator()() [2/3]
void FrameCPP::Common::DetectorNames::operator() |
( |
const std::string & |
DetectorName, |
|
|
const std::string & |
Detector, |
|
|
const std::string & |
Prefix, |
|
|
const std::pair< int, int > |
DataQualityBits |
|
) |
| |
Add new element to the table.
- Parameters
-
[in] | DetectorName | The name of the detector as it appears in the FrDetector structure. |
[in] | Detector | Description of the detector. |
[in] | Prefix | The channel prefix used in channel names to identify the detector used. |
[in] | DataQualityBits | Bits used in the data quality flag by this detector. |
◆ operator()() [3/3]
void FrameCPP::Common::DetectorNames::operator() |
( |
const std::string & |
DetectorName, |
|
|
const std::string & |
Detector, |
|
|
const std::string & |
Prefix, |
|
|
const std::pair< int, int > |
DataQualityBits |
|
) |
| |
Add new element to the table.
- Parameters
-
[in] | DetectorName | The name of the detector as it appears in the FrDetector structure. |
[in] | Detector | Description of the detector. |
[in] | Prefix | The channel prefix used in channel names to identify the detector used. |
[in] | DataQualityBits | Bits used in the data quality flag by this detector. |
The documentation for this class was generated from the following files:
- /build/ldas-tools-framecpp-2.9.3/debian/tmp/usr/include/framecpp/Common/DetectorNames.hh
- /build/ldas-tools-framecpp-2.9.3/src/Common/DetectorNames.cc