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