2 |
|
// $Id$ |
3 |
|
// |
4 |
|
|
5 |
< |
#include "TAMTreeBranchLoader.h" |
5 |
> |
#include "MitAna/TAM/interface/TAMTreeBranchLoader.h" |
6 |
|
|
7 |
|
|
8 |
|
#ifndef ROOT_RVersion |
93 |
|
R__ASSERT(fClass != 0); |
94 |
|
|
95 |
|
if(fBAddr!=0) { |
96 |
< |
Fatal("AllocateMemory", "Address already allocated! Must call DeleteMemory() first!"); |
96 |
> |
Fatal("AllocateMemory", |
97 |
> |
"Address already allocated! Must call DeleteMemory() first!"); |
98 |
|
return; |
99 |
|
} |
100 |
|
|
103 |
|
|
104 |
|
|
105 |
|
//______________________________________________________________________________ |
106 |
< |
Bool_t TAMTreeBranchLoader::CheckBrClass(const type_info& ptrtype, const TClass& cls) |
106 |
> |
Bool_t TAMTreeBranchLoader::CheckBrClass(const type_info& ptrtype, |
107 |
> |
const TClass& cls) |
108 |
|
{ |
109 |
|
// Check if the tree stores a class of the specified type |
110 |
|
// ptrtype is user type and cls is type found in branch. |
265 |
|
if (ca!=0) { |
266 |
|
ca->Clear("C"); |
267 |
|
} else { |
268 |
< |
Error("Clear", "Could not clear the clones array for branch %s", |
268 |
> |
Error("Clear", "Could not clear the clones array for branch %s", |
269 |
|
fBranch->GetName()); |
270 |
|
} |
271 |
|
} |