ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/TAM/src/TAMVirtualBranchLoader.cxx
Revision: 1.2
Committed: Thu Jul 16 21:02:05 2009 UTC (15 years, 9 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_032, Mit_031, Mit_025c_branch2, Mit_025c_branch1, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_025c_branch0, Mit_028, Mit_027a, Mit_027, Mit_026, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, Mit_025pre2, Mit_024b, Mit_025pre1, Mit_024a, Mit_024, Mit_023, Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, Mit_020pre1, Mit_018, Mit_017, Mit_017pre3, Mit_017pre2, Mit_017pre1, Mit_016, Mit_015b, Mit_015a, Mit_015, Mit_014e, Mit_014d, Mit_014c, Mit_014b, Mit_014a, Mit_014, Mit_014pre3, Mit_014pre2, Mit_014pre1, Mit_013d, Mit_013c, Mit_013b, Mit_013a, Mit_013, Mit_013pre1, Mit_012i, Mit_012h, Mit_012g, Mit_012f, Mit_012e, Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012, Mit_011a, Mit_011, Mit_010a, Mit_010, HEAD
Branch point for: Mit_025c_branch
Changes since 1.1: +2 -2 lines
Log Message:
use same include paths as rest of code. Remember to always remove this when committing to the svn version.

File Contents

# User Rev Content
1 loizides 1.1 //
2 loizides 1.2 // $Id: TAMVirtualBranchLoader.cxx,v 1.1 2008/05/27 19:13:21 loizides Exp $
3 loizides 1.1 //
4    
5 loizides 1.2 #include "MitAna/TAM/interface/TAMVirtualBranchLoader.h"
6 loizides 1.1
7    
8     #ifndef ROOT_TTree
9     #include "TTree.h"
10     #endif
11     #ifndef ROOT_TError
12     #include "TError.h"
13     #endif
14    
15    
16     //////////////////////////////////////////////////////////////////////////
17     // //
18     // TAMVirtualBranchLoader //
19     // //
20     // Abstract base class for loading data into TAM. Every TAM plugin //
21     // (data loader) needs to derive from this class. //
22     // //
23     // Author : Maarten Ballintijn 12/06/2005 //
24     // Constantin Loizides 12/22/2005 //
25     // //
26     //////////////////////////////////////////////////////////////////////////
27    
28     ClassImp(TAMVirtualBranchLoader)
29    
30    
31     //______________________________________________________________________________
32     TAMVirtualBranchLoader::TAMVirtualBranchLoader(TAMBranchInfo *binfo)
33     : fBInfo(binfo)
34     {
35     // Default constructor.
36     }
37    
38    
39     //______________________________________________________________________________
40     void TAMVirtualBranchLoader::Clear(Option_t */*option*/)
41     {
42     // Clear branch loader before processing the next event,
43     // eg. use this function to clear objects or arrays that
44     // use heap memory.
45    
46     MayNotUse("Clear");
47     }
48    
49     //______________________________________________________________________________
50     void* TAMVirtualBranchLoader::GetAddress() const
51     {
52     // Returns the address to which the user pointer will
53     // be set.
54    
55     MayNotUse("NewBrAddress");
56     return 0;
57     }
58    
59    
60     //______________________________________________________________________________
61     Int_t TAMVirtualBranchLoader::GetEntry(Long64_t /*entry*/)
62     {
63     // Load the data for this branch.
64    
65     MayNotUse("GetEntry");
66    
67     return 0;
68     }
69    
70    
71     //______________________________________________________________________________
72     Bool_t TAMVirtualBranchLoader::Notify(TTree * /*tree*/)
73     {
74     // Notify on opening of a new file.
75     // Can be used to setup data structures (eg. allocate
76     // underlying memory if necessary) and to do the type
77     // checking (see TAMTreeBranchLoader::Notify()).
78    
79     MayNotUse("Notify");
80    
81     return kFALSE;
82     }