26 #include "GanTape/GEN_TYPE.H"
27 #include "GanTape/gan_acq_buf.h"
69 if ((
c ==
',') || (
c == 0x0d))
94 char NomParam[20], chaine[20];
97 CurrPointer = (
char*)buffParam;
101 while (strncmp(CurrPointer,
" ", 4) != 0 &&
102 strncmp(CurrPointer,
"!!!!", 4) != 0) {
103 CurrPointer = CopyParam(NomParam, CurrPointer);
104 CurrPointer = CopyParam(chaine, CurrPointer);
105 sscanf(chaine,
"%d", &NumPar);
106 CurrPointer = CopyParam(chaine, CurrPointer);
107 sscanf(chaine,
"%d", &NbBits);
125 cout <<
"Parameter " << parName <<
" not found!" << endl;
128 return (par->
Index());
158 if (par->
Index() == index)
return par;
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
Classes handling VME/VXI parameters in GANIL DAQ data.
char * CopyParam(char *Dest, char *Source) const
Small utility routine to copy a char string.
GTDataPar * GetPar(const int index) const
Return the parameter corresponding to the parameter number.
const char * GetParName(const int index) const
Return the text label name corresponding to a parameter number.
int GetIndex(const TString parName) const
Return the index number corresponding to a text label.
GTDataParameters(void)
Default constructor. Don't create anything yet.
int Fill(const char *buffParam)
virtual void SetOwner(Bool_t enable=kTRUE)
virtual const char * GetName() const
virtual TObject * FindObject(const char *name) const
Double_t Max(Double_t a, Double_t b)