GET library
GETAsAd Class Reference

#include <GETAsAd.hh>

Inheritance diagram for GETAsAd:
GETObject

Public Member Functions

Constructors, affectation, destructor
 GETAsAd (u_int n=0, double dt=0.01L)
 
virtual ~GETAsAd ()
 
GET configuration
virtual int ResetConfig ()
 
const GETCfgAsAd * GetConfig () const
 
GETCfgAsAd * GetConfig ()
 
Initialization functions
virtual void Reset ()
 
virtual void Init (u_int n, double dt)
 
virtual void ClearEvent ()
 
GET system core objects functions
virtual string GetObjectId () const
 
virtual string GetSerialId () const
 
void SetSerialId (const string &ser_id)
 
virtual u_int GetChildrenNumber () const
 
virtual const GETObject * GetChild (u_int i) const
 
virtual GETObject * GetChild (u_int i)
 
const GETAGet & operator[] (u_int n) const
 
GETAGet & operator[] (u_int n)
 
ROOT related functions
 ClassDef (GETAsAd, 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

GETAGet aget [4]
 AGET chips.
 
GETCfgAsAd * config
 Configuration data.
 
string serial_id
 Unique board identifier.
 
- 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 (GETAsAd)
 

Friends

class GETCfgAsAd
 
class GETCoBo
 

Detailed Description

This class describes the AsAd board, that holds 4 Aget chips.

In addition to the GETObject identification in the architecture, the AsAd boards are identified with a serial number, that may be used for calibration files identification. This serial number should be unique, and set by user for each AsAd board.

Constructor & Destructor Documentation

GETAsAd::GETAsAd ( u_int  n = 0,
double  dt = 0.01L 
)

Base constructor.

Parameters
nsampling size of the channels
dtsampling period (us)

References config, Init(), and serial_id.

GETAsAd::~GETAsAd ( )
virtual

Destructor.

References config.

Member Function Documentation

GETAsAd::ClassDef ( GETAsAd  ,
0   
)

for use within ROOT.

void GETAsAd::ClearEvent ( )
virtual

Clears all input/outout signals from each channel of each AGET chip.

References aget, and ASAD_SIZE.

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

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

Parameters
ichild number

Implements GETObject.

References aget, and ASAD_SIZE.

Referenced by GETCfgAsAd::GETCfgAsAd().

GETObject * GETAsAd::GetChild ( u_int  i)
inlinevirtual

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

Parameters
ichild number

Implements GETObject.

References aget, and ASAD_SIZE.

u_int GETAsAd::GetChildrenNumber ( ) const
inlinevirtual

Return the number of GET core children objects.

Implements GETObject.

References ASAD_SIZE.

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

const GETCfgAsAd * GETAsAd::GetConfig ( ) const
inline

Return the pointer to the related GET configuration.

References config.

GETCfgAsAd * GETAsAd::GetConfig ( )
inline

Return the pointer to the related GET configuration.

References config.

string GETAsAd::GetObjectId ( ) const
inlinevirtual

Return the object string identifier.

Implements GETObject.

string GETAsAd::GetSerialId ( ) const
inlinevirtual

Return the (unique) serial identifier (that must be set by user).

References serial_id.

GETAsAd::GObject ( GETAsAd  )
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 GETAsAd::Init ( u_int  n,
double  dt 
)
virtual

Initialisation of all individual channels. The AGET chips are resetted.

Parameters
nsampling size of the channels
dtsampling time step

References aget, ASAD_SIZE, GETObject::id, GETAGet::Init(), GETObject::InitLocalData(), GETObject::parent, and Reset().

Referenced by GETAsAd(), and GETCoBo::Init().

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

Access to one of the AGET chip. There is no index verification.

Parameters
nAGet number

References aget.

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

Access to one of the AGET chip. There is no index verification.

Parameters
nAGet number

References aget.

void GETAsAd::Reset ( )
virtual

Function resetting all AGet chips (see GETAGet::Reset function).

References aget, and ASAD_SIZE.

Referenced by Init(), and GETCoBo::Reset().

int GETAsAd::ResetConfig ( )
virtual

Removes the configuration architecture.

References ASAD_SIZE, and config.

void GETAsAd::SetSerialId ( const string &  ser_id)
inline

Define the (unique) serial identifier.

Parameters
ser_ididentifier

References serial_id.


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