ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/TreeMod/interface/TreeBranchLoader.h
Revision: 1.2
Committed: Wed Sep 10 03:33:28 2008 UTC (16 years, 7 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_006, Mit_005, Mit_004
Changes since 1.1: +3 -3 lines
Log Message:
Cleanup

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.2 // $Id: TreeBranchLoader.h,v 1.1 2008/07/02 16:34:06 loizides Exp $
3 loizides 1.1 //
4     // TreeBranchLoader
5     //
6     // TAM plugin that loads data from single tree branches
7     // into memory. We use our customed tree data loader in order
8     // to reset the contents of the collections and cached pointers
9     // properly on each entry.
10     //
11     // Authors: C.Loizides
12     //--------------------------------------------------------------------------------------------------
13    
14 loizides 1.2 #ifndef MITANA_TREEMOD_TREEBRANCHLOADER_H
15     #define MITANA_TREEMOD_TREEBRANCHLOADER_H
16 loizides 1.1
17     #include "MitAna/TAM/interface/TAMTreeBranchLoader.h"
18    
19     namespace mithep {
20     class TreeBranchLoader : public TAMTreeBranchLoader {
21     protected:
22     Bool_t fDoReset; //=true if Collection::Reset() must be called
23    
24     public:
25     TreeBranchLoader(TAMBranchInfo *binfo);
26     ~TreeBranchLoader() {};
27    
28     void Clear(Option_t *option="");
29     Bool_t Notify(TTree *tree);
30    
31     ClassDef(TreeBranchLoader,0) // TAM plugin to load data from a single branch
32     };
33     }
34     #endif