]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Added a few more explaining lines in class description.
authorvestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Oct 2002 14:02:39 +0000 (14:02 +0000)
committervestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Oct 2002 14:02:39 +0000 (14:02 +0000)
HLT/src/AliL3FileHandler.cxx
HLT/src/AliL3MemHandler.cxx

index 88459bb54befe094e7dd7d3ac15fe29dfb27cd3d..632e8641b72797da787a8c39a8e902b2de522013 100644 (file)
@@ -40,6 +40,7 @@
 // For reading a AliROOT file into HLT format in memory, do the following:
 //
 // AliL3FileHandler file;
+// file.Init(slice,patch);
 // file.SetAliInput("galice.root");
 // AliL3DigitRowData *dataPt = (AliL3DigitRowData*)file.AliDigits2Memory(nrows,eventnr);
 // 
@@ -49,6 +50,7 @@
 // For converting the data back, and writing it to a new AliROOT file do:
 //
 // AliL3FileHandler file;
+// file.Init(slice,patch);
 // file.SetAliInput("galice.root");
 // file.Init(slice,patch,NumberOfRowsInPatch);
 // file.AliDigits2RootFile(dataPt,"new_galice.root");
index f04aafc0ae3c0a750012e1461badcee43cc71063..c1a871264d7ade85b3fedf95dee2c5264292c427 100644 (file)
@@ -29,7 +29,8 @@
 //  
 //  AliL3MemHandler file;
 //  file.SetBinaryInput(filename);
-//  
+//  file.Init(slice,patch);
+//
 //  UInt_t nrowss;
 //  AliL3DigitRowData *data = file.CompBinary2Memory(nrowss);
 //  
 //    AliL3DigitData *dataPt = (AliL3DigitData*)data->fDigitData;
 //    for(int j=0; j<data->fNDigit; j++) 
 //      {
-//      pad = dataPt[j].fPad;
-//      time = dataPt[j].fTime;
-//      charge = dataPt[j].fCharge;
-//     }
+//        pad = dataPt[j].fPad;
+//        time = dataPt[j].fTime;
+//        charge = dataPt[j].fCharge;
+//      }
 //     
 //    file.UpdateRowPointer(data);
 //  
@@ -58,6 +59,7 @@
 //  //into a new file, you can do the following:
 //  
 //  AliL3MemHandler newfile;
+//  newfile.Init(slice,patch);
 //  newfile.SetBinaryOutput(newfilename);
 //  newfile.Memory2CompBinary((UInt_t)NumberOfRowsInPatch,(AliL3DigitRowData*)data);
 //  newfile.CloseBinaryOutput();