Analysis  version 7.0 - august 2014
GanilParam Class Reference

#include <GanilParam.hh>

Public Member Functions

 GanilParam ()
 
 GanilParam (const u_int p_type, const string &p_name, const u_int p_label, const u_int p_datatype=DATA_TYPE_U_INT2, const u_int p_mask=0)
 
 GanilParam (const GanilParam &)
 
virtual ~GanilParam ()
 
bool operator== (const GanilParam &par)
 
bool operator!= (const GanilParam &par)
 
string Name () const
 
u_int Label () const
 
u_int Mask () const
 
u_int Branch () const
 
 ClassDef (GanilParam, 0)
 

Protected Attributes

u_int type
 Type de paramètre (single, multihit, array)
 
u_int datatype
 Type de données du paramètre (entier/réel, 16/32/64 bits, signé/non signé)
 
string name
 Nom du paramètre brut.
 
u_int label
 Label du paramètre (différent de number en mode EBYEDAT)
 
u_int mask
 Masque binaire associé
 
u_int branch
 Numéro de branche.
 

Private Member Functions

 GObject (GanilParam)
 

Friends

class GanilParamInfo
 
class GanilRun
 

Detailed Description

Classe représentant les paramètres bruts de l'acquisition GANIL. Le champ type contient plusieurs information:

  • bits 0 et 1: mode de fonctionnement du paramètre: single, multihit, ou array (voir la classe Param)
  • bit 4: s'il est à 0, c'est un paramètre de l'acquisition GANIL, et est mis à 1, c'est un paramètre utilisateur.

Constructor & Destructor Documentation

GanilParam::GanilParam ( )

Constructeur par défaut.

References branch, DATA_TYPE_UNDEFINED, datatype, label, mask, name, and type.

GanilParam::GanilParam ( const u_int  p_type,
const string &  p_name,
const u_int  p_label,
const u_int  p_datatype = DATA_TYPE_U_INT2,
const u_int  p_mask = 0 
)

Constructeur à partir des données complètres.

Parameters
p_typetype de paramètre (single, multihit, array)
p_namenom du paramètre
p_labellabel du paramètre (mode EBYEDAT)
p_datatypeType de données (entier/réel, 16/32/64 bits, signé/non signé)
p_maskmasque binaire du paramètre

References branch, datatype, label, mask, name, and type.

GanilParam::GanilParam ( const GanilParam original)

Constructeur de recopie.

Parameters
originalinstance à recopier

References branch, datatype, label, mask, name, and type.

GanilParam::~GanilParam ( )
virtual

Destructeur.

Member Function Documentation

GanilParam::GObject ( GanilParam  )
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.
bool GanilParam::operator== ( const GanilParam par)

Opérateur de comparaison. La comparaison ne porte pas sur le masque binaire qui peut être modifié.

Parameters
parparamètre GANIL à comparer

References branch, datatype, label, and name.

bool GanilParam::operator!= ( const GanilParam par)
inline

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

Parameters
parparamètre GANIL à comparer
string GanilParam::Name ( ) const
inline

Retourne le nom du paramètre.

References name.

u_int GanilParam::Label ( ) const
inline

Retourne le label du paramètre.

References label.

Referenced by GanilParamInfo::SetGanilParamMask().

u_int GanilParam::Mask ( ) const
inline

Retourne le masque binaire du paramètre.

References mask.

Referenced by GanilParamInfo::GetGanilParamMask().

u_int GanilParam::Branch ( ) const
inline

Retourne le numéro de branche du paramètre.

References branch.

GanilParam::ClassDef ( GanilParam  ,
 
)

Définition à usage de ROOT...


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