ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataCont/src/ProcIDRef.cc
(Generate patch)

Comparing UserCode/MitAna/DataCont/src/ProcIDRef.cc (file contents):
Revision 1.1 by bendavid, Fri Oct 31 18:56:14 2008 UTC vs.
Revision 1.2 by loizides, Thu Nov 20 17:49:16 2008 UTC

# Line 7 | Line 7 | ClassImp(mithep::ProcIDRef)
7   //--------------------------------------------------------------------------------------------------
8   void mithep::ProcIDRef::Streamer(TBuffer &b)
9   {
10 <   // Stream all objects in the array to or from the I/O buffer.
10 >   // Custom streamer for the process id.
11  
12    if (b.IsReading()) {
13    //UInt_t sv, cv;
14    //b.ReadVersion(&sv, &cv);
15    //TObject::Streamer(b);
13      UShort_t pidf;
14      b >> pidf;
15      pidf += b.GetPidOffset();
16      fProcID = b.ReadProcessID(pidf);
20    //b.CheckByteCount(sv, cv, ProcIDRef::IsA());
17    } else { /*writing*/
22    //UInt_t cv;
23    //cv = b.WriteVersion(ProcIDRef::IsA(), kTRUE);
24    //TObject::Streamer(b);
18      UShort_t pidf;
19      pidf = b.WriteProcessID(fProcID);
20      b << pidf;
28    //b.SetByteCount(cv, kTRUE);
21    }
22   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines