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

Comparing UserCode/MitAna/DataTree/src/CacheFlag.cc (file contents):
Revision 1.1 by bendavid, Tue Feb 17 15:52:52 2009 UTC vs.
Revision 1.2 by loizides, Wed Feb 18 15:38:55 2009 UTC

# Line 7 | Line 7 | ClassImp(mithep::CacheFlag)
7   //--------------------------------------------------------------------------------------------------
8   void mithep::CacheFlag::Streamer(TBuffer &b)
9   {
10 <   // Custom streamer for the cache flag.
11 <   // Nothing is actually read or written from/to the buffer
12 <   // but the bool is set to false in the read part of the streamer to guarantee this default value
13 <   // is set even when an object containing the CacheFlag is read into a TClonesArray
10 >   // Custom streamer for the cache flag. Nothing is actually read or written from/to the buffer,
11 >   // but the cache flag is set to false in the read part of the streamer. This guarantees the
12 >   // default value is set even when an object containing the CacheFlag is read into a TClonesArray.
13  
14 <  if (b.IsReading()) {
14 >  if (b.IsReading())
15      fIsValid = kFALSE;
17  } else { /*writing (do nothing in this case) */
18    ;
19  }
16   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines