Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file. 1 #ifndef INDET__PERF__NTUPLEBRANCH__H
2 #define INDET__PERF__NTUPLEBRANCH__H
80 return (targetTree ? targetTree->Branch(
getName().c_str(), &
m_content) :
nullptr);
105 inline const typename std::vector<branchType>::const_iterator
begin(){
return get().begin(); }
106 inline const typename std::vector<branchType>::const_iterator
end(){
return get().end(); }
109 inline void set(
const std::vector<branchType> & in){ *
m_content = in; }
116 return (targetTree ? targetTree->Branch(
getName().c_str(),
m_content.get()) :
nullptr);
123 #endif // INDET__PERF__NTUPLEBRANCH__H
virtual ~InDetPerfNtupleBranchBase()
This class is a base class for the actual ntuples used when writing IDPVM ntuples.
const std::string m_branchName
InDetPerfNtupleBranch(const std::string &branchName, branchType defaultValue, InDetPerfNtuple &mgr)
void set(const std::vector< branchType > &in)
branchType & operator()()
attachmentOutcome attach(TTree *targetTree)
void set(const branchType &in)
InDetPerfNtupleBranchBase(const std::string &branchName, InDetPerfNtuple &mgr)
std::shared_ptr< std::vector< branchType > > m_content
virtual void setDummy()=0
virtual TBranch * addPayloadAsBranch(TTree *targetTree)=0
const std::vector< branchType >::const_iterator begin()
const std::vector< branchType > & get()
const branchType m_default
void operator=(const branchType &in)
InDetPerfNtupleBranch(const std::string &branchName, InDetPerfNtuple &mgr)
std::vector< branchType > & operator()()
This defines a helper class used for writing output ntuples in IDPVM.
TBranch * getBranch() const
const std::string & getName() const
virtual TBranch * addPayloadAsBranch(TTree *targetTree)
const std::vector< branchType >::const_iterator end()
virtual TBranch * addPayloadAsBranch(TTree *targetTree)
branchType operator()(size_t i)