Inscoper::NBO::PointDetectorSettings¶
Represents the XML element PointDetectorSettings. More...
#include <PointDetectorSettings.h>
Inherits from Inscoper::NBO::DetectorSettings_Type, Inscoper::NBO::Settings_Type, Inscoper::NBO::Reference_Type, NBOBaseClass
Public Functions¶
| Name | |
|---|---|
| PointDetectorSettings() | |
| ~PointDetectorSettings() | |
| 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. |
| void | setVoltage(const float & value, bool validate =true) Sets the value of the Voltage attribute. |
| float | getVoltage() const Returns the value of the Voltage attribute. |
| void | resetVoltage() Resets the Voltage attribute to an unset state. |
| bool | hasVoltage() const Checks whether the Voltage attribute is present. |
| void | setVoltageUnit(const Inscoper::NBO::UnitsElectricPotential_TypePtr & value, bool validate =true) Sets the value of the VoltageUnit attribute. |
| UnitsElectricPotential_TypePtr | getVoltageUnit() const Returns the value of the VoltageUnit attribute. |
| void | resetVoltageUnit() Resets the VoltageUnit attribute to an unset state. |
| bool | hasVoltageUnit() const Checks whether the optional VoltageUnit attribute is present. |
| void | setPhotonCounting(const bool & value, bool validate =true) Sets the value of the PhotonCounting attribute. |
| bool | getPhotonCounting() const Returns the value of the PhotonCounting attribute. |
| void | resetPhotonCounting() Resets the PhotonCounting attribute to an unset state. |
| bool | hasPhotonCounting() const Checks whether the PhotonCounting attribute is present. |
| std::shared_ptr< PointDetectorSettings > | fromBase(NBOBaseClassPtr base) Cast a NBOBaseClass to a PointDetectorSettings. |
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 PointDetectorSettings.
This element refers to the Point Detector used to acquire this Channel and it holds the Settings that were applied to the Point Detector during this Acquisition.