{ \
if (!
tree.GetBranch(#branchName)) { \
ATH_MSG_FATAL("The branch "<<#branchName<<" does not exist."); \
return StatusCode::FAILURE; \
} \
if (
tree.SetBranchAddress(#branchName,&branchName) != 0){ \
ATH_MSG_FATAL("Failed to connect branch "<<#branchName<<"."); \
return StatusCode::FAILURE; \
} \
}
41#define SET_BRANCHADDRESS(tree, branchName) \
42 { \
43 if (!tree.GetBranch(#branchName)) { \
44 ATH_MSG_FATAL("The branch "<<#branchName<<" does not exist."); \
45 return StatusCode::FAILURE; \
46 } \
47 if (tree.SetBranchAddress(#branchName,&branchName) != 0){ \
48 ATH_MSG_FATAL("Failed to connect branch "<<#branchName<<"."); \
49 return StatusCode::FAILURE; \
50 } \
51 }