52 const Int_t maxResponseCounter = 15;
53 const char *
next = &path[0];
54 while( ( *next && *next !=
' ') && counter < maxResponseCounter ) {
56 for (
int j=0; j<4 && (next[j] !=
' ');j++) elName += next[j];
68 const Int_t maxResponseCounter = 15;
69 const char *
next = &chit[0];
70 while( ( *next !=
' ' ) && counter < maxResponseCounter ) {
72 for (
int j=0; j<4 && (next[j] !=
' ');j++) elName += next[j];
89 memset(&row,0,
sizeof(row));
91 if (nRow) row.
fOffset = dsc[nRow-1].fOffset + dsc[nRow-1].
fSize;
119 nvlBuffer[0] = track; row++;
120 for (
int i=1;i<nRow;i++,row++) {
122 responseBuffer[i] = response[jResponse++];
124 nvlBuffer[i] = nvl[jNvl++];
128 delete [] charBuffer;
147 Int_t responseLocation = -1;
150 for (
int i=0;i<nRow;i++,row++) {
153 responseLocation = i;
157 return responseLocation;
void SetResponse(int track, int *nvl, float *response)
Add one extra his/digit to the table Reallocate the table if needed.
void AddResponse(const char *chit)
to be documented
#define TableClassStreamerImp(className)
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
tableDescriptor_st * GetTable(Int_t i=0) const
void AddElement(const char *path, EColumnType type)
to be documented
virtual void SetDescriptorPointer(TTableDescriptor *list)
to be documented
virtual Long_t GetRowSize() const
Returns the size (in bytes) of one table row.
virtual TTableDescriptor * GetDescriptorPointer() const
to be documented
ClassImp(TResponseTable) TableClassStreamerImp(TResponseTable) TResponseTable
to be documented
ClassImp(TTable) TTableDescriptor *TTable return new TTableDescriptor(this)
protected: create a new TTableDescriptor descriptor for this table
Int_t Sizeof() const
to be documented
void AddVolumePath(const char *path)
to be documented
virtual Int_t AddAt(const void *c)
Append one row pointed by "c" to the descriptor.
static Int_t FindResponseLocation(TTableDescriptor &dsc)
Look up the table descriptor to find the first respnse value location TResponsetable layout: offset +...
virtual void SetType(const char *const type)
to be documented
virtual Long_t GetNRows() const
Returns the number of the used rows for the wrapped table.
virtual Int_t AddAt(const void *c)
Add the "row" at the GetNRows() position, and reallocate the table if neccesary, and return the row i...
TTableDescriptor * GetTableDescriptors() const