diff --git a/table/src/TIndexTable.cxx b/table/src/TIndexTable.cxx index 1dde59eb2df9f42cf6a39f979b4ea1ba3960f10e..1171054d861b077456c15290efe9e4f9997165e1 100644 --- a/table/src/TIndexTable.cxx +++ b/table/src/TIndexTable.cxx @@ -1,9 +1,21 @@ +// @(#)root/table:$Name:$:$Id:$ +// Author: Valery Fine(fine@bnl.gov) 01/03/2001 + +/************************************************************************* + * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. * + * Copyright (C) 2001 [BNL] Brookhaven National Laboratory. * + * All rights reserved. * + * * + * For the licensing terms see $ROOTSYS/LICENSE. * + * For the list of contributors see $ROOTSYS/README/CREDITS. * + *************************************************************************/ + #include "TIndexTable.h" ////////////////////////////////////////////////////////////////////////////// // TIndexTable class is helper class to keep the list of the referencs to the // TTable rows and iterate over it. -// TIndexTable is a persistent class. +// TIndexTable is a persistent class. // The pointer to the TIndexTable object may be used as an element // of the TTable row and saved with the table all together. // @@ -25,7 +37,7 @@ // // Find all hits of this track // LArHitTable::iterator hit = hits->begin(); // LArHitTable::iterator lastHit = hits->end(); -// Long_t hitIndx = 0; +// Long_t hitIndx = 0; // // Create an empty list of this track hits // (*track).hits = new TIndexTable(hits); // for(;hit != lastHit;hit++,hitIndx) { @@ -39,7 +51,7 @@ // TableClassImpl(TIndexTable,int); TTableDescriptor *TIndexTable::fgColDescriptors = TIndexTable::CreateDescriptor(); ClassImp(TIndexTable) -#if 0 +#if 0 void TIndexTable::Dictionary() { TClass *c = CreateClass(_QUOTE_(className), Class_Version(), @@ -65,7 +77,7 @@ if (!fgColDescriptors) CreateDescriptor(); fSize = fgColDescriptors->Sizeof(); // Add refered table to this index. - // yf if (table) Add((TDataSet *)table); + // yf if (table) Add((TDataSet *)table); } //___________________________________________________________________ TTableDescriptor *TIndexTable::CreateDescriptor() @@ -81,7 +93,7 @@ TTableDescriptor *TIndexTable::CreateDescriptor() memset(&row,0,sizeof(row)); strncpy(row.fColumnName,"index",sizeof(row.fColumnName)); - row.fType = kInt; + row.fType = kInt; row.fTypeSize = sizeof(Int_t); row.fSize = row.fTypeSize; dsc.AddAt(&row);