Analysis
version 7.0 - august 2014
|
#include <GanilParamInfo.hh>
Public Member Functions | |
GanilParamInfo () | |
GanilParamInfo (const GanilParamInfo &) | |
virtual | ~GanilParamInfo () |
GanilParamInfo & | operator= (const GanilParamInfo &) |
bool | operator== (const GanilParamInfo &) |
bool | operator!= (const GanilParamInfo &data) |
int | GetGanilParamNumber (const string &par_name) |
GanilParam * | GetGanilParamPtr (const string &par_name) |
GanilParam * | GetGanilParamPtr (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< GanilParam > | param_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 |
Classe traitant les données du buffer Event Header.
GanilParamInfo::GanilParamInfo | ( | ) |
Constructeur par défaut.
References mask_table, number_table, and param_list.
GanilParamInfo::GanilParamInfo | ( | const GanilParamInfo & | original | ) |
Constructeur de recopie.
original | instance à recopier |
References mask_table, number_table, and param_list.
|
virtual |
Destructeur.
References param_list.
|
private |
Macro from GCpp library that defines the following functions:
GanilParamInfo & GanilParamInfo::operator= | ( | const GanilParamInfo & | original | ) |
Opérateur d'affectation.
original | instance à recopier |
References mask_table, number_table, and param_list.
Referenced by GanilRun::ReadHeaders().
bool GanilParamInfo::operator== | ( | const GanilParamInfo & | data | ) |
Opérateur de comparaison (équivalence).
data | donnée avec laquelle on teste l'équivalence |
References param_list.
|
inline |
Opérateur de comparaison (non-équivalence).
data | donné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.
par_name | nom 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.
par_name | nom 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.
par_num | numé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.
par_name | nom 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.
par_num | numé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.
par_name | nom du paramètre de l'acquisition GANIL |
m | nouveau 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.
par_num | numéro du paramètre de l'acquisition GANIL |
m | nouveau masque binaire |
References GanilParam::Label(), GanilParam::mask, mask_table, and param_list.
|
inline |
Ecriture des informations sur la sortie standard.
Referenced by RGuiGanilRun::UserEventDefine().
void GanilParamInfo::ParamInfo | ( | ostream & | os | ) |
Ecriture des informations sur flux de sortie.
os | flux vers lequel son envoyées les informations |
References param_list.
|
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.
fname | nom du fichier de sortie |
References WriteParamList().
void GanilParamInfo::WriteParamList | ( | ostream & | os | ) |
Ecriture de la liste des paramètres dans un flux de sortie.
os | flux vers lequel son envoyées les informations |
References param_list.
|
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.
buffer | buffer où se trouvent les données |
Referenced by GanilRun::ReadHeaders().
|
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.
buffer | buffer où se trouvent les données |
coder | instance 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 | , |
0 | |||
) |
Définition à usage de ROOT...