Inscoper::NBO::GenericDetectorSettings¶
Represents the XML element GenericDetectorSettings. More...
#include <GenericDetectorSettings.h>
Inherits from Inscoper::NBO::DetectorSettings_Type, Inscoper::NBO::Settings_Type, Inscoper::NBO::Reference_Type, NBOBaseClass
Public Functions¶
| Name | |
|---|---|
| GenericDetectorSettings() | |
| ~GenericDetectorSettings() | |
| virtual std::string | getTypeName() const override Returns the class type name. |
| std::string | getXMLName() const override Returns the XML element name corresponding to this class. |
| ENBOType | getNBOType() const override Returns the NBO Type corresponding to this class. |
| std::vector< NBOBaseClassPtr > | getChildren() const override Returns a list of all classes derived from this class. |
| std::vector< NBOBaseClassPtr > | getSubElements() const override Returns a list of all child elements contained in this class. |
| void | fromJsonFile(const std::string & path, bool validate =true) Populates this object from a JSON file. |
| void | fromJsonString(const std::string & json_string, bool validate =true) Populates this object from a JSON string. |
| void | fromXmlFile(const std::string & path, bool validate =true) Populates this object from a XML file. |
| void | fromXmlString(const std::string & xml_string, bool validate =true) Populates this object from a XML string. |
| void | toXmlFile(const std::string & filename, bool validate =true) const Serializes this object to an XML file. |
| std::string | toXmlString(bool validate =true) const Serializes this object to an XML string. |
| std::shared_ptr< GenericDetectorSettings > | fromBase(NBOBaseClassPtr base) Cast a NBOBaseClass to a GenericDetectorSettings. |
Additional inherited members¶
Public Functions inherited from Inscoper::NBO::DetectorSettings_Type
| Name | |
|---|---|
| DetectorSettings_Type() | |
| ~DetectorSettings_Type() | |
| void | setID(const Inscoper::NBO::DetectorID_TypePtr & value, bool validate =true) Sets the value of the ID attribute. |
| DetectorID_TypePtr | getID() const Returns the value of the ID attribute. |
| void | resetID() Resets the ID attribute to an unset state. |
| bool | hasID() const Checks whether the optional ID attribute is present. |
| void | setEffectiveBitDepth(const Inscoper::NBO::DigitizerType_TypePtr & value, bool validate =true) Sets the value of the EffectiveBitDepth attribute. |
| DigitizerType_TypePtr | getEffectiveBitDepth() const Returns the value of the EffectiveBitDepth attribute. |
| void | resetEffectiveBitDepth() Resets the EffectiveBitDepth attribute to an unset state. |
| bool | hasEffectiveBitDepth() const Checks whether the optional EffectiveBitDepth attribute is present. |
| void | setAnalogGain(const float & value, bool validate =true) Sets the value of the AnalogGain attribute. |
| float | getAnalogGain() const Returns the value of the AnalogGain attribute. |
| void | resetAnalogGain() Resets the AnalogGain attribute to an unset state. |
| bool | hasAnalogGain() const Checks whether the AnalogGain attribute is present. |
| void | setAmplificationGain(const float & value, bool validate =true) Sets the value of the AmplificationGain attribute. |
| float | getAmplificationGain() const Returns the value of the AmplificationGain attribute. |
| void | resetAmplificationGain() Resets the AmplificationGain attribute to an unset state. |
| bool | hasAmplificationGain() const Checks whether the AmplificationGain attribute is present. |
| void | setOffset(const float & value, bool validate =true) Sets the value of the Offset attribute. |
| float | getOffset() const Returns the value of the Offset attribute. |
| void | resetOffset() Resets the Offset attribute to an unset state. |
| bool | hasOffset() const Checks whether the Offset attribute is present. |
| void | setOffsetMode(const Inscoper::NBO::DetectorOffsetMode_TypePtr & value, bool validate =true) Sets the value of the OffsetMode attribute. |
| DetectorOffsetMode_TypePtr | getOffsetMode() const Returns the value of the OffsetMode attribute. |
| void | resetOffsetMode() Resets the OffsetMode attribute to an unset state. |
| bool | hasOffsetMode() const Checks whether the optional OffsetMode attribute is present. |
Public Functions inherited from Inscoper::NBO::Settings_Type
Public Functions inherited from Inscoper::NBO::Reference_Type
| Name | |
|---|---|
| Reference_Type() | |
| ~Reference_Type() |
Detailed Description¶
Represents the XML element GenericDetectorSettings.
This element refers to the Generic Detector that was used to Acquire this Channel and it holds the Settings that were applied to the Detector during this Acquisition.