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;
TableClassStreamerImp(TResponseTable) TResponseTable
to be documented
virtual TTableDescriptor * GetDescriptorPointer() const
to be documented
TTableDescriptor * GetTableDescriptors() const
protected: create a new TTableDescriptor descriptor for this table
virtual void SetDescriptorPointer(TTableDescriptor *list)
to be documented
void AddElement(const char *path, EColumnType type)
to be documented
void AddResponse(const char *chit)
to be documented
static Int_t FindResponseLocation(TTableDescriptor &dsc)
Look up the table descriptor to find the first respnse value location TResponsetable layout: offset +...
void AddVolumePath(const char *path)
to be documented
void SetResponse(int track, int *nvl, float *response)
Add one extra his/digit to the table Reallocate the table if needed.
Int_t Sizeof() const
to be documented
tableDescriptor_st * GetTable(Int_t i=0) const
virtual Int_t AddAt(const void *c)
Append one row pointed by "c" to the descriptor.
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...
virtual Long_t GetRowSize() const
Returns the size (in bytes) of one table row.
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.