Analysis  version 7.0 - august 2014
GanilParamInfo Class Reference

#include <GanilParamInfo.hh>

Inheritance diagram for GanilParamInfo:
GanilInfo GanilRun GuiGanilRun RGuiGanilRun

Public Member Functions

 GanilParamInfo ()
 
 GanilParamInfo (const GanilParamInfo &)
 
virtual ~GanilParamInfo ()
 
GanilParamInfooperator= (const GanilParamInfo &)
 
bool operator== (const GanilParamInfo &)
 
bool operator!= (const GanilParamInfo &data)
 
int GetGanilParamNumber (const string &par_name)
 
GanilParamGetGanilParamPtr (const string &par_name)
 
GanilParamGetGanilParamPtr (const u_int par_num)
 
u_int GetGanilParamMask (const string &par_name)
 
u_int GetGanilParamMask (const u_int par_num)
 
bool SetGanilParamMask (const string &par_name, const u_int m)
 
bool SetGanilParamMask (const u_int par_num, const u_int m)
 
void ParamInfo ()
 
void ParamInfo (ostream &)
 
void WriteParamList ()
 
void WriteParamList (const string &)
 
void WriteParamList (ostream &)
 
 ClassDef (GanilParamInfo, 0)
 

Protected Member Functions

int SetParamInfo (GanilBuffer &buffer)
 
int SetParamInfo (GanilBuffer &buffer, const GanilCoderInfo *coder)
 

Protected Attributes

GListT< GanilParamparam_list
 Liste des paramètres GANIL.
 
u_int number_table [16384]
 Table de conversion label -> numéro de paramètre (mode EBYEDAT)
 
u_short mask_table [16384]
 Table des masques binaires.
 

Private Member Functions

 GObject (GanilParamInfo)
 

Friends

class GanilRun
 

Detailed Description

Classe traitant les données du buffer Event Header.

Constructor & Destructor Documentation

GanilParamInfo::GanilParamInfo ( )

Constructeur par défaut.

References mask_table, number_table, and param_list.

GanilParamInfo::GanilParamInfo ( const GanilParamInfo original)

Constructeur de recopie.

Parameters
originalinstance à recopier

References mask_table, number_table, and param_list.

GanilParamInfo::~GanilParamInfo ( )
virtual

Destructeur.

References param_list.

Member Function Documentation

GanilParamInfo::GObject ( GanilParamInfo  )
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.
GanilParamInfo & GanilParamInfo::operator= ( const GanilParamInfo original)

Opérateur d'affectation.

Parameters
originalinstance à recopier

References mask_table, number_table, and param_list.

Referenced by GanilRun::ReadHeaders().

bool GanilParamInfo::operator== ( const GanilParamInfo data)

Opérateur de comparaison (équivalence).

Parameters
datadonnée avec laquelle on teste l'équivalence

References param_list.

bool GanilParamInfo::operator!= ( const GanilParamInfo data)
inline

Opérateur de comparaison (non-équivalence).

Parameters
datadonnée avec laquelle on teste l'équivalence
int GanilParamInfo::GetGanilParamNumber ( const string &  par_name)

Retourne le numéro du paramètre GANIL donné par son nom, ou -1 s'il n'existe pas.

Parameters
par_namenom du paramètre de l'acquisition GANIL

References param_list.

Referenced by GetGanilParamMask(), GetGanilParamPtr(), and SetGanilParamMask().

GanilParam * GanilParamInfo::GetGanilParamPtr ( const string &  par_name)

Retourne le pointeur sur un paramètre de l'acquisition GANIL donné par son nom.

Parameters
par_namenom du paramètre de l'acquisition GANIL

References GetGanilParamNumber().

GanilParam * GanilParamInfo::GetGanilParamPtr ( const u_int  par_num)

Retourne le pointeur sur un paramètre de l'acquisition GANIL donné par son numéro.

Parameters
par_numnuméro du paramètre de l'acquisition GANIL

References param_list.

u_int GanilParamInfo::GetGanilParamMask ( const string &  par_name)

Retourne la valeur du masque binaire d'un paramètre de l'acquisition GANIL.

Parameters
par_namenom du paramètre de l'acquisition GANIL

References GetGanilParamNumber().

u_int GanilParamInfo::GetGanilParamMask ( const u_int  par_num)

Retourne la valeur du masque binaire d'un paramètre de l'acquisition GANIL.

Parameters
par_numnuméro du paramètre de l'acquisition GANIL

References GanilParam::Mask(), and param_list.

bool GanilParamInfo::SetGanilParamMask ( const string &  par_name,
const u_int  m 
)

Modifie la valeur du masque binaire d'un paramètre de l'acquisition GANIL.

Parameters
par_namenom du paramètre de l'acquisition GANIL
mnouveau masque binaire

References GetGanilParamNumber().

bool GanilParamInfo::SetGanilParamMask ( const u_int  par_num,
const u_int  m 
)

Modifie la valeur du masque binaire d'un paramètre de l'acquisition GANIL.

Parameters
par_numnuméro du paramètre de l'acquisition GANIL
mnouveau masque binaire

References GanilParam::Label(), GanilParam::mask, mask_table, and param_list.

void GanilParamInfo::ParamInfo ( )
inline

Ecriture des informations sur la sortie standard.

Referenced by RGuiGanilRun::UserEventDefine().

void GanilParamInfo::ParamInfo ( ostream &  os)

Ecriture des informations sur flux de sortie.

Parameters
osflux vers lequel son envoyées les informations

References param_list.

void GanilParamInfo::WriteParamList ( )
inline

Ecriture de la liste des paramètres sur la sortie standard.

Referenced by WriteParamList().

void GanilParamInfo::WriteParamList ( const string &  fname)

Ecriture de la liste des paramètres sur la sortie standard.

Parameters
fnamenom du fichier de sortie

References WriteParamList().

void GanilParamInfo::WriteParamList ( ostream &  os)

Ecriture de la liste des paramètres dans un flux de sortie.

Parameters
osflux vers lequel son envoyées les informations

References param_list.

int GanilParamInfo::SetParamInfo ( GanilBuffer buffer)
inlineprotected

Remplit les données de la liste de paramètres à partir du buffer. Le pointeur sur la donnée GanilCoderInfo sert à récupérer les infos codeur.

Parameters
bufferbuffer où se trouvent les données

Referenced by GanilRun::ReadHeaders().

int GanilParamInfo::SetParamInfo ( GanilBuffer buffer,
const GanilCoderInfo coder 
)
protected

Remplit les données de la liste de paramètres à partir du buffer. Le pointeur sur la donnée GanilCoderInfo sert à récupérer les infos codeur.

Parameters
bufferbuffer où se trouvent les données
coderinstance coder info (qui peut-être l'instance de GanilRun en cours d'utilisation)

References DATA_TYPE_U_INT2, GanilBuffer::ExtractString(), get_int4(), mask_table, number_table, and param_list.

GanilParamInfo::ClassDef ( GanilParamInfo  ,
 
)

Définition à usage de ROOT...


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