26#include "GanTape/GEN_TYPE.H"
27#include "GanTape/gan_acq_buf.h"
28#include "GTDataParameters.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());
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
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.
Int_t fMaxIndex
but OK for now.
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)
TObject * FindObject(const char *name) const override
void Add(TObject *obj) override
const char * GetName() const override
Double_t Max(Double_t a, Double_t b)