ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/src/CacheFlag.cc
Revision: 1.3
Committed: Sun Mar 8 12:09:59 2009 UTC (16 years, 2 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
State: FILE REMOVED
Error occurred while calculating annotation data.
Log Message:
Move away generic classes and keep only classes stored in the tree.

File Contents

# Content
1 // $Id: CacheFlag.cc,v 1.2 2009/02/18 15:38:55 loizides Exp $
2
3 #include "MitAna/DataTree/interface/CacheFlag.h"
4
5 ClassImp(mithep::CacheFlag)
6
7 //--------------------------------------------------------------------------------------------------
8 void mithep::CacheFlag::Streamer(TBuffer &b)
9 {
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())
15 fIsValid = kFALSE;
16 }