ATLAS Offline Software
InnerDetector
InDetValidation
InDetPhysValMonitoring
src
InDetPerfNtupleBranch.cxx
Go to the documentation of this file.
1
#include "
InDetPerfNtupleBranch.h
"
2
#include "
InDetPerfNtuple.h
"
3
4
InDetPerfNtupleBranchBase::InDetPerfNtupleBranchBase
(
const
std::string & branchName,
InDetPerfNtuple
&
mgr
):
5
m_branchName(branchName) {
6
mgr
.addBranch(
this
);
7
}
8
9
InDetPerfNtupleBranchBase::attachmentOutcome
InDetPerfNtupleBranchBase::attach
(TTree* targetTree){
10
if
(targetTree) {
11
m_branch
= this->
addPayloadAsBranch
(targetTree);
12
return
(
m_branch
?
attachmentOutcome::Success
:
attachmentOutcome::FailedToBranch
);
13
}
14
else
{
15
return
attachmentOutcome::InvalidTree
;
16
}
17
}
InDetPerfNtupleBranchBase::attachmentOutcome::FailedToBranch
@ FailedToBranch
InDetPerfNtuple
This class is a base class for the actual ntuples used when writing IDPVM ntuples.
Definition:
InDetPerfNtuple.h:11
InDetPerfNtupleBranchBase::attachmentOutcome::InvalidTree
@ InvalidTree
InDetPerfNtupleBranch.h
InDetPerfNtupleBranchBase::attachmentOutcome
attachmentOutcome
Definition:
InDetPerfNtupleBranch.h:36
InDetPerfNtupleBranchBase::attach
attachmentOutcome attach(TTree *targetTree)
Definition:
InDetPerfNtupleBranch.cxx:9
InDetPerfNtupleBranchBase::InDetPerfNtupleBranchBase
InDetPerfNtupleBranchBase(const std::string &branchName, InDetPerfNtuple &mgr)
Definition:
InDetPerfNtupleBranch.cxx:4
InDetPerfNtupleBranchBase::addPayloadAsBranch
virtual TBranch * addPayloadAsBranch(TTree *targetTree)=0
BchCleanup.mgr
mgr
Definition:
BchCleanup.py:294
InDetPerfNtupleBranchBase::m_branch
TBranch * m_branch
Definition:
InDetPerfNtupleBranch.h:54
InDetPerfNtupleBranchBase::attachmentOutcome::Success
@ Success
InDetPerfNtuple.h
Generated on Thu Nov 7 2024 21:16:58 for ATLAS Offline Software by
1.8.18