9 #ifndef GANIL_CODER_INFO_HH
10 #define GANIL_CODER_INFO_HH
19 #define GANIL_CODER_FIX 0
22 #define GANIL_CODER_VAR 1
27 #define GANIL_BRN_DATA " "
30 #define GANIL_TRG_DATA "0000"
33 #define GANIL_FIX_DATA "0001"
36 #define GANIL_VAR_DATA "0002"
39 #define GANIL_COD_DATA "0003"
44 #define GANIL_TRG_FLAG 1
47 #define GANIL_FIX_FLAG 2
50 #define GANIL_VAR_FLAG 4
53 #define GANIL_COD_FLAG 8
56 #define GANIL_PAR_FLAG 16
59 #define GANIL_ALL_FLAG 31
112 u_short
TrigNum (
const u_int b );
113 u_short
ParNum (
const u_int b );
114 u_short
Trig (
const u_int b,
const u_int t );
115 u_short
Fix1 (
const u_int b,
const u_int t );
116 u_short
Fixn (
const u_int b,
const u_int t );
117 string Coder (
const u_int b );
142 {
return ( ! (*
this == data) ); }
string * coder
Table des noms de branches.
Definition: GanilCoderInfo.hh:85
Definition: GanilRun.hh:39
u_short Number()
Definition: GanilCoderInfo.hh:151
int SetCoderInfo(GanilBuffer &)
Definition: GanilCoderInfo.cpp:227
u_short Fix1(const u_int b, const u_int t)
Definition: GanilCoderInfo.hh:177
u_short ParNum(const u_int b)
Definition: GanilCoderInfo.hh:162
u_short ** fixn
Table du nombre de paramètres fixes pour chaque branche.
Definition: GanilCoderInfo.hh:83
u_short ** fix1
Table du premier paramètre fixe pour chaque branche.
Definition: GanilCoderInfo.hh:82
GanilCoderInfo()
Definition: GanilCoderInfo.cpp:15
Definition: GanilCoderInfo.hh:66
void CoderInfo()
Definition: GanilCoderInfo.hh:146
bool operator!=(const GanilCoderInfo &data)
Definition: GanilCoderInfo.hh:141
u_short number
Nombre de branches de codeurs.
Definition: GanilCoderInfo.hh:76
u_short * trignum
Table des numéros de triggers des branches.
Definition: GanilCoderInfo.hh:79
Definition: GanilBuffer.hh:26
string Coder(const u_int b)
Definition: GanilCoderInfo.hh:191
u_short * parnum
Table des nombres de paramètres par branche.
Definition: GanilCoderInfo.hh:80
u_short Fixn(const u_int b, const u_int t)
Definition: GanilCoderInfo.hh:185
GanilCoderInfo & operator=(const GanilCoderInfo &)
Definition: GanilCoderInfo.cpp:100
void Clear()
Definition: GanilCoderInfo.cpp:74
u_short TrigNum(const u_int b)
Definition: GanilCoderInfo.hh:156
virtual ~GanilCoderInfo()
Definition: GanilCoderInfo.cpp:66
u_short Trig(const u_int b, const u_int t)
Definition: GanilCoderInfo.hh:169
bool operator==(const GanilCoderInfo &)
Definition: GanilCoderInfo.cpp:150
u_short ** trig
Table des valeurs de trigger pour chaque branche.
Definition: GanilCoderInfo.hh:81
ClassDef(GanilCoderInfo, 0)