GET library
GETCoBo Class Reference

#include <GETCoBo.hh>

Inheritance diagram for GETCoBo:
GETObject

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 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)
 
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 GETCfgCoBo
 
class GETSystem
 

Detailed Description

This class describes the CoBo module, controlling up to 4 AsAd boards.

Constructor & Destructor Documentation

GETCoBo::GETCoBo ( u_int  n_asad = 4,
u_int  n = 0,
double  dt = 0.01L 
)

Constructor.

Parameters
n_asadnumber of AsAd boards
ndimension of data samples
dtsampling period (us)

References asad, asad_number, config, and Init().

GETCoBo::~GETCoBo ( )
virtual

Destructor.

References asad, asad_number, and config.

Member Function Documentation

GETCoBo::ClassDef ( GETCoBo  ,
0   
)

for use within ROOT.

void GETCoBo::ClearEvent ( )
virtual

Clears all data from all AsAd boards.

References asad, and asad_number.

u_int GETCoBo::GetAsAdNumber ( ) const
inline

Return the number of AsAd boards controlled by the module.

References asad_number.

Referenced by GETCfgCoBo::GETCfgCoBo().

const GETObject * GETCoBo::GetChild ( u_int  i) const
inlinevirtual

Return a GET core child object (NULL since channels have no children).

Parameters
ichild number

Implements GETObject.

References asad, and asad_number.

Referenced by GETCfgCoBo::GETCfgCoBo().

GETObject * GETCoBo::GetChild ( u_int  i)
inlinevirtual

Return a GET core child object (NULL since channels have no children).

Parameters
ichild number

Implements GETObject.

References asad, and asad_number.

u_int GETCoBo::GetChildrenNumber ( ) const
inlinevirtual

Return the number of GET core children objects.

Implements GETObject.

References asad_number.

Referenced by GETSystemAnalyser::BadChannelsWarning(), GETHitMask::CreateThresholdXML(), and GETActarTpc::Init().

const GETCfgCoBo * GETCoBo::GetConfig ( ) const
inline

Return the pointer to the related GET configuration.

References config.

GETCfgCoBo * GETCoBo::GetConfig ( )
inline

Return the pointer to the related GET configuration.

References config.

string GETCoBo::GetObjectId ( ) const
inlinevirtual

Return the object string identifier.

Implements GETObject.

GETCoBo::GObject ( GETCoBo  )
private

Macro from GCpp library that defines the following functions:

  • ClassName(): return the real class name of the object
  • StaticClassName(): return the used class name of the object (that may be a base class of the real object).
  • IsInstanceOf<T>(): return true if the current object is an instance of the template class name argument
  • Clone(): return an allocated copy of the object.
void GETCoBo::Init ( u_int  n_asad,
u_int  n,
double  dt 
)
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.

Parameters
n_asadnumber of AsAd boards
ndimension of data samples
dtsampling period (us)

References asad, asad_number, GETObject::id, GETAsAd::Init(), GETObject::InitLocalData(), GETObject::parent, and Reset().

Referenced by GETCoBo(), GETRCoBo::Init(), and GETSystem::Init().

const GETAsAd & GETCoBo::operator[] ( u_int  n) const
inline

Access to one of the AsAd board. There is no index verification.

Parameters
nAsAd number

References asad.

GETAsAd & GETCoBo::operator[] ( u_int  n)
inline

Access to one of the AsAd board. There is no index verification.

Parameters
nAsAd number

References asad.

void GETCoBo::Reset ( )
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().

int GETCoBo::ResetConfig ( )
virtual

Removes the configuration architecture.

References asad_number, and config.


The documentation for this class was generated from the following files: