|
GET library
|
#include <GETCoBo.hh>
Public Member Functions | |
Constructors, affectation, destructor | |
| GETCoBo (u_int n_asad=4, u_int n=0, double dt=0.01L) | |
| virtual | ~GETCoBo () |
GET configuration | |
| virtual int | ResetConfig () |
| const GETCfgCoBo * | GetConfig () const |
| GETCfgCoBo * | GetConfig () |
Initialization functions | |
| virtual void | Reset () |
| virtual void | Init (u_int n_asad, u_int n, double dt) |
| virtual void | ClearEvent () |
GET system core objects functions | |
| virtual string | GetObjectId () const |
| virtual u_int | GetChildrenNumber () const |
| virtual const GETObject * | GetChild (u_int i) const |
| virtual GETObject * | GetChild (u_int i) |
| const GETAsAd & | operator[] (u_int n) const |
| GETAsAd & | operator[] (u_int n) |
| u_int | GetAsAdNumber () const |
ROOT related functions | |
| ClassDef (GETCoBo, 0) | |
Public Member Functions inherited from GETObject | |
| GETObject () | |
| virtual | ~GETObject () |
| int | GetId () const |
| virtual string | GetFullId () const |
| virtual u_int | GetSignalChannelCount () const |
| virtual u_int | GetTotalChannelCount () const |
| virtual u_int | GetChannelCount () const |
| virtual GETChannel * | GetSignalChannel (u_int n) |
| virtual GETChannel * | GetTotalChannel (u_int n) |
| virtual GETChannel * | GetChannel (u_int n) |
| const GETObject * | GetParent () const |
| GETObject * | GetParent () |
| virtual void | SetTimeStep (double dt) |
| u_int | GetSampleDim () |
| double | GetTimeStep () |
| virtual void | SetReadoutFlag (bool b=true) |
| bool | GetReadoutFlag () const |
| virtual u_int | GetReadoutMultiplicity (bool fpn=true) const |
| virtual double | GetSignalSum (u_short info=GET::signalOut) |
| virtual void | InitLocalData (u_int n, double dt) |
| virtual void | ValidDataSet () |
| virtual void | ValidSimulSet () |
| virtual void | SetResponse (GETResponse *ptr, bool recur=true, bool fpn=false) |
| virtual void | SetResponse (GETResponse &obj, bool recur=true, bool fpn=false) |
| virtual void | SetFilter (GETFilter *ptr, bool recur=true, bool fpn=false) |
| virtual void | SetFilter (GETFilter &obj, bool recur=true, bool fpn=false) |
| virtual void | SetNoiseIn (GETSignalModifier *ptr, bool recur=true, bool fpn=false) |
| virtual void | SetNoiseIn (GETSignalModifier &obj, bool recur=true, bool fpn=false) |
| virtual void | SetNoiseOut (GETSignalModifier *ptr, bool recur=true, bool fpn=false) |
| virtual void | SetNoiseOut (GETSignalModifier &obj, bool recur=true, bool fpn=false) |
| virtual void | SetOutputCorrection (GETProcess *ptr, bool recur=true, bool fpn=false) |
| virtual void | SetOutputCorrection (GETProcess &obj, bool recur=true, bool fpn=false) |
| virtual void | RemoveOutputCorrection () |
| virtual void | SetOutputCorrectionList (bool warn=true) |
| virtual void | AddOutputCorrection (GETProcess *ptr, bool recur=true, bool fpn=false) |
| virtual void | AddOutputCorrection (GETProcess &obj, bool recur=true, bool fpn=false) |
| GETResponse * | GetResponse (bool force=true) |
| GETFilter * | GetFilter (bool force=true) |
| GETSignalModifier * | GetNoiseIn (bool force=true) |
| GETSignalModifier * | GetNoiseOut (bool force=true) |
| GETProcess * | GetOutputCorrection (bool force=true) |
| virtual int | ProcessData (bool in_noise=true) |
| virtual int | ProcessOutFromTst (bool in_noise=true, bool out_noise=true) |
| virtual int | ProcessRecFromOut (bool out_corr=true) |
| virtual int | ProcessOutputCorrection () |
| ClassDef (GETObject, 0) | |
Protected Attributes | |
| GETAsAd * | asad |
| Array of AsAd boards. | |
| u_int | asad_number |
| Number of AsAd boards controlled. | |
| GETCfgCoBo * | config |
| Configuration data. | |
Protected Attributes inherited from GETObject | |
| GETProcessLink | filter |
| Signal processing filter. | |
| int | id |
| Object identifier number (set by the parent, in filiation) | |
| bool | is_read |
| Flag indicating some data was read for the object (from exp. raw data) | |
| GETProcessLink | noise_in |
| Simulation input noise generator. | |
| GETProcessLink | noise_out |
| Simulation output noise generator. | |
| GETProcessLink | output_corr |
| Output signal correction before reconstruction of input. | |
| GETObject * | parent |
| Parent AGet chip. | |
| GETProcessLink | response |
| Signal response function. | |
Private Member Functions | |
| GObject (GETCoBo) | |
Friends | |
| class | GETAsAd |
| class | GETCfgCoBo |
| class | GETSystem |
This class describes the CoBo module, controlling up to 4 AsAd boards.
| GETCoBo::GETCoBo | ( | u_int | n_asad = 4, |
| u_int | n = 0, |
||
| double | dt = 0.01L |
||
| ) |
Constructor.
| n_asad | number of AsAd boards |
| n | dimension of data samples |
| dt | sampling period (us) |
References asad, asad_number, config, and Init().
|
virtual |
Destructor.
References asad, asad_number, and config.
| GETCoBo::ClassDef | ( | GETCoBo | , |
| 0 | |||
| ) |
for use within ROOT.
|
virtual |
Clears all data from all AsAd boards.
Reimplemented from GETObject.
References asad, asad_number, and GETObject::is_read.
|
inline |
Return the number of AsAd boards controlled by the module.
References asad_number.
Referenced by GETCfgCoBo::GETCfgCoBo().
|
inlinevirtual |
Return a GET core child object (NULL since channels have no children).
| i | child number |
Implements GETObject.
References asad, and asad_number.
Referenced by GETCfgCoBo::GETCfgCoBo().
|
inlinevirtual |
Return a GET core child object (NULL since channels have no children).
| i | child number |
Implements GETObject.
References asad, and asad_number.
|
inlinevirtual |
Return the number of GET core children objects.
Implements GETObject.
References asad_number.
Referenced by GETSystemAnalyser::BadChannelsWarning(), GETSystem::CalcMultiplicity(), GETHitMask::CreateThresholdXML(), and GETActarTpc::Init().
|
inline |
|
inline |
|
inlinevirtual |
Return the object string identifier.
Implements GETObject.
|
private |
Macro from GCpp library that defines the following functions:
|
virtual |
Initialize the CoBo module and its AsAd boards. If the number of AsAd boards is modified, they are recreated. In any case, they are resetted.
| n_asad | number of AsAd boards |
| n | dimension of data samples |
| dt | sampling period (us) |
References asad, asad_number, GETObject::id, GETAsAd::Init(), GETObject::InitLocalData(), GETObject::parent, and Reset().
Referenced by GETCoBo(), GETRCoBo::Init(), and GETSystem::Init().
|
inline |
Access to one of the AsAd board. There is no index verification.
| n | AsAd number |
References asad.
|
inline |
Access to one of the AsAd board. There is no index verification.
| n | AsAd number |
References asad.
|
virtual |
Function resetting all AsAd boards (see GETAsAd::Reset function). The array of AsAd boards is not deleted, and the number of AsAd borads is not modified.
References asad, asad_number, and GETAsAd::Reset().
Referenced by Init(), and GETSystem::Reset().
|
virtual |
Removes the configuration architecture.
References asad_number, and config.