|
GET library
|
#include <GETCfgAGet.hh>
Public Member Functions | |
Constructors, affectation, destructor | |
| GETCfgAGet (GETAGet *p=NULL) | |
| virtual | ~GETCfgAGet () |
GET architecture related functions | |
| virtual string | GetFullId () const |
| GETAGet * | GetParentAGet () const |
| GETCfgChannel * | GetChannelConfig (u_int i) const |
XML configuration functions | |
| int | GetXMLConfig (DOMNode *node) |
| int | GetXMLConfigGlobal (DOMNode *node) |
| int | GetXMLConfigGlobalReg1 (DOMNode *node) |
| int | GetXMLConfigGlobalReg2 (DOMNode *node) |
ROOT related functions | |
| ClassDef (GETCfgAGet, 0) | |
Public Member Functions inherited from GETCfgAGetGlobal | |
| GETCfgAGetGlobal () | |
| virtual | ~GETCfgAGetGlobal () |
| ClassDef (GETCfgAGetGlobal, 0) | |
Public Member Functions inherited from GETCfgAGetGlobalReg1 | |
| GETCfgAGetGlobalReg1 () | |
| virtual | ~GETCfgAGetGlobalReg1 () |
| double | GetTestModeRangeValue () const |
| double | GetPeakingTimeValue () const |
| double | GetVicmValue () const |
| ClassDef (GETCfgAGetGlobalReg1, 0) | |
Public Member Functions inherited from GETCfgAGetGlobalReg2 | |
| GETCfgAGetGlobalReg2 () | |
| virtual | ~GETCfgAGetGlobalReg2 () |
| ClassDef (GETCfgAGetGlobalReg2, 0) | |
Public Attributes | |
| GETCfgChannel ** | cfg_channel |
| Array of pointers to Channels configurations. | |
| u_int | cfg_channel_num |
| Number of AGet channels configurations. | |
| bool | is_active |
| Whether the AGET chip is active and should be configured. | |
| GETAGet * | parent |
| GET object the configuration is related to. | |
Public Attributes inherited from GETCfgAGetGlobal | |
| u_short | readout_pointer_offset |
| Time bucket offset to start reading from. See AGET register 12. | |
Public Attributes inherited from GETCfgAGetGlobalReg1 | |
| u_short | global_threshold |
| Value of the 3 Most Significant Bits of the DAC threshold (common to all channels). | |
| u_short | peaking_time |
| Peaking time identifier of the shaper. | |
| u_short | sca_pointer |
| Defines the time marker of the SCA pointer pass. This marker defines the memory time of the trigger in the hit register. | |
| u_short | test_mode_range |
| Internal test capacitor value. | |
| u_short | test_mode_selection |
| Select the acquisition mode: nothing (physics mode); test; functional; calibration. | |
| u_short | vicm |
| Input common mode voltage (change offset). | |
Private Member Functions | |
| GObject (GETCfgAGet) | |
Additional Inherited Members | |
Static Public Attributes inherited from GETCfgAGetGlobalReg1 | |
| static double | PeakingTimeValue [16] |
| Peaking time values (us) More... | |
| static double | TestModeRangeValue [4] = { 10.00, 0.12, 1.00, 0.24 } |
| Value of test mode capacitor (pF) | |
| static double | VicmValue [4] = { 1.25, 1.35, 1.55, 1.65 } |
| Value of input common mode voltage (V) | |
Setup configuration information for AGet chip.
| GETCfgAGet::GETCfgAGet | ( | GETAGet * | p = NULL | ) |
Constructor.
References cfg_channel, cfg_channel_num, GETAGet::GetChild(), GETAGet::GetChildrenNumber(), and parent.
|
virtual |
Destructor. The configuration from children objects are deleted only if they are not connected to a GET object.
References cfg_channel, cfg_channel_num, GETAGet::config, and parent.
| GETCfgAGet::ClassDef | ( | GETCfgAGet | , |
| 0 | |||
| ) |
for use within ROOT.
|
inline |
Return the configuration of a GET children object. The range of the child number is not checked.
| i | child number |
References cfg_channel.
|
virtual |
Return the identifier of the parent GET object, if defined.
References GETObject::GetFullId(), and parent.
Referenced by GetXMLConfig(), GetXMLConfigGlobal(), GetXMLConfigGlobalReg1(), and GetXMLConfigGlobalReg2().
|
inline |
Return the AsAd board the configuration is related to.
References parent.
| int GETCfgAGet::GetXMLConfig | ( | DOMNode * | node | ) |
Read the AGet chip configuration from DOM tree node. The function returns an error value.
| node | configuration DOM tree node |
References cfg_channel, cfg_channel_num, GETCfgSetLogic(), GetFullId(), GETCfgChannel::GetXMLConfig(), GetXMLConfigGlobal(), and is_active.
Referenced by GETCfgAsAd::GetXMLConfig().
| int GETCfgAGet::GetXMLConfigGlobal | ( | DOMNode * | node | ) |
Read the AGet chip Global configuration from DOM tree node. The function returns an error value.
| node | configuration DOM tree node |
References GETCfgSetData(), GetFullId(), and GETCfgAGetGlobal::readout_pointer_offset.
Referenced by GetXMLConfig().
| int GETCfgAGet::GetXMLConfigGlobalReg1 | ( | DOMNode * | node | ) |
Read the AGet chip Global/Reg1 configuration from DOM tree node. The function returns an error value.
| node | configuration DOM tree node |
References GETCfgSetData(), GetFullId(), GETCfgAGetGlobalReg1::global_threshold, GETCfgAGetGlobalReg1::peaking_time, GETCfgAGetGlobalReg1::sca_pointer, GETCfgAGetGlobalReg1::test_mode_range, and GETCfgAGetGlobalReg1::test_mode_selection.
| int GETCfgAGet::GetXMLConfigGlobalReg2 | ( | DOMNode * | node | ) |
Read the AGet chip Global/Reg2 configuration from DOM tree node. The function returns an error value.
| node | configuration DOM tree node |
References GetFullId().
|
private |
Macro from GCpp library that defines the following functions: