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 |
|
} |