|
GET library
|
#include <GETCfgAsAd.hh>
Public Member Functions | |
Constructors, affectation, destructor | |
| GETCfgAsAd (GETAsAd *p=NULL) | |
| virtual | ~GETCfgAsAd () |
GET architecture related functions | |
| virtual string | GetFullId () const |
| GETAsAd * | GetParentAsAd () const |
| GETCfgAGet * | GetAGetConfig (u_int i) const |
XML configuration functions | |
| int | GetXMLConfig (DOMNode *node) |
| int | GetXMLConfigGenerator (DOMNode *node) |
ROOT related functions | |
| ClassDef (GETCfgAsAd, 0) | |
Public Member Functions inherited from GETCfgAsAdGenerator | |
| GETCfgAsAdGenerator () | |
| virtual | ~GETCfgAsAdGenerator () |
| ClassDef (GETCfgAsAdGenerator, 0) | |
Public Attributes | |
| GETCfgAGet ** | cfg_aget |
| Array of pointers to AGet configurations. | |
| u_int | cfg_aget_num |
| Number of AGet chips configurations. | |
| bool | is_active |
| Whether the AsAd board is active and should be configured. | |
| GETAsAd * | parent |
| GET object the configuration is related to. | |
Public Attributes inherited from GETCfgAsAdGenerator | |
| double | amplitude |
| Initial amplitude, in mV, of internal AsAd pulser. | |
| double | amplitude_incr |
| Step, in mV, between amplitude increments. | |
| double | amplitude_stop |
| Final amplitude, in mV, of internal AsAd pulser, when using calibration ramp. | |
| bool | calib_mode |
| Switches between modes where the pulser signal goes directly to the AGET test input or goes through a calibrated external capacitor emulating a charge. TCM0 register Calib. | |
| u_short | inject_value |
| FIXME Switches between two external capacitor values (1pF and 11pF). TCM0 register Rg. | |
Private Member Functions | |
| GObject (GETCfgAsAd) | |
Setup configuration information:
| GETCfgAsAd::GETCfgAsAd | ( | GETAsAd * | p = NULL | ) |
Constructor.
References cfg_aget, cfg_aget_num, GETAsAd::GetChild(), GETAsAd::GetChildrenNumber(), and parent.
|
virtual |
Destructor. The configuration from children objects are deleted only if they are not connected to a GET object.
References cfg_aget, cfg_aget_num, GETAsAd::config, and parent.
| GETCfgAsAd::ClassDef | ( | GETCfgAsAd | , |
| 0 | |||
| ) |
for use within ROOT.
|
inline |
|
virtual |
Return the identifier of the parent GET object, if defined.
References GETObject::GetFullId(), and parent.
Referenced by GetXMLConfig(), and GetXMLConfigGenerator().
|
inline |
Return the AsAd board the configuration is related to.
References parent.
| int GETCfgAsAd::GetXMLConfig | ( | DOMNode * | node | ) |
Read the AsAd board configuration from DOM tree node. The function returns an error value.
| node | configuration DOM tree node |
References cfg_aget, cfg_aget_num, GETCfgSetLogic(), GetFullId(), GETCfgAGet::GetXMLConfig(), GetXMLConfigGenerator(), and is_active.
Referenced by GETCfgCoBo::GetXMLConfig().
| int GETCfgAsAd::GetXMLConfigGenerator | ( | DOMNode * | node | ) |
Read the AsAd board Generator configuration from DOM tree node. The function returns an error value.
| node | configuration DOM tree node |
References GETCfgAsAdGenerator::amplitude, GETCfgAsAdGenerator::amplitude_incr, GETCfgAsAdGenerator::amplitude_stop, GETCfgAsAdGenerator::calib_mode, GETCfgSetData(), GETCfgSetLogic(), GetFullId(), and GETCfgAsAdGenerator::inject_value.
Referenced by GetXMLConfig().
|
private |
Macro from GCpp library that defines the following functions: