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 GETCfgAsAdGetConfig () const
 
GETCfgAsAdGetConfig ()
 
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 GETObjectGetChild (u_int i) const
 
virtual GETObjectGetChild (u_int i)
 
const GETAGetoperator[] (u_int n) const
 
GETAGetoperator[] (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 GETChannelGetSignalChannel (u_int n)
 
virtual GETChannelGetTotalChannel (u_int n)
 
virtual GETChannelGetChannel (u_int n)
 
const GETObjectGetParent () const
 
GETObjectGetParent ()
 
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)
 
GETResponseGetResponse (bool force=true)
 
GETFilterGetFilter (bool force=true)
 
GETSignalModifierGetNoiseIn (bool force=true)
 
GETSignalModifierGetNoiseOut (bool force=true)
 
GETProcessGetOutputCorrection (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.
 
GETCfgAsAdconfig
 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.
 
GETObjectparent
 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  ,
 
)

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: