ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/TAM/src/TAMTreeLoader.cxx
(Generate patch)

Comparing UserCode/MitAna/TAM/src/TAMTreeLoader.cxx (file contents):
Revision 1.1 by loizides, Tue May 27 19:13:21 2008 UTC vs.
Revision 1.3 by loizides, Thu Jul 16 21:02:05 2009 UTC

# Line 2 | Line 2
2   // $Id$
3   //
4  
5 < #include "TAMTreeLoader.h"
5 > #include "MitAna/TAM/interface/TAMTreeLoader.h"
6  
7  
8   #ifndef ROOT_TTree
9   #include "TTree.h"
10   #endif
11   #ifndef ROOT_TAMTreeBranchLoader
12 < #include "TAMTreeBranchLoader.h"
12 > #include "MitAna/TAM/interface/TAMTreeBranchLoader.h"
13   #endif
14  
15  
# Line 35 | Line 35 | TAMTreeLoader::TAMTreeLoader()
35  
36  
37   //______________________________________________________________________________
38 < TAMVirtualBranchLoader *TAMTreeLoader::CreateBranchLoader(TTree *tree, TAMBranchInfo* brInfo)
38 > TAMVirtualBranchLoader *TAMTreeLoader::CreateBranchLoader(TTree *tree,
39 >                                                          TAMBranchInfo* brInfo)
40   {
41     // Create branch loader if the requested branch name is found in the tree.
42    
# Line 45 | Line 46 | TAMVirtualBranchLoader *TAMTreeLoader::C
46     }
47    
48     if(tree->GetBranch(brname.Data()) == 0) {
49 <      Warning("CreateBranchLoader","Could not find branch with name [%s] in tree [%s].",
50 <              (brInfo->GetName()!=0) ? (brInfo->GetName()) : "null", tree->GetName());
49 >      Warning("CreateBranchLoader",
50 >              "Could not find branch with name [%s] in tree [%s].",
51 >              (brInfo->GetName()!=0) ? (brInfo->GetName()) :
52 >              "null", tree->GetName());
53  
54        return 0;
55     }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines