LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
art::RootBranchInfo Class Reference

#include "RootBranchInfo.h"

Public Member Functions

 RootBranchInfo (TBranch *branch=0)
 
std::string const & branchName () const
 
TBranch const * branch () const
 
TBranch * branch ()
 

Private Attributes

TBranch * branch_
 
std::string branchName_
 

Detailed Description

Definition at line 12 of file RootBranchInfo.h.

Constructor & Destructor Documentation

art::RootBranchInfo::RootBranchInfo ( TBranch *  branch = 0)
explicit

Definition at line 3 of file RootBranchInfo.cc.

4  : branch_(branch), branchName_(branch ? branch_->GetName() : "")
5 {}
TBranch const * branch() const
std::string branchName_

Member Function Documentation

TBranch const * art::RootBranchInfo::branch ( ) const
inline

Definition at line 31 of file RootBranchInfo.h.

References branch_.

Referenced by art::MixOp< PROD, OPROD >::readFromFile().

32 {
33  return branch_;
34 }
TBranch * art::RootBranchInfo::branch ( )
inline

Definition at line 37 of file RootBranchInfo.h.

References branch_.

38 {
39  return branch_;
40 }
std::string const & art::RootBranchInfo::branchName ( ) const
inline

Definition at line 25 of file RootBranchInfo.h.

References branchName_.

Referenced by art::MixOp< PROD, OPROD >::incomingProductID().

26 {
27  return branchName_;
28 }
std::string branchName_

Member Data Documentation

TBranch* art::RootBranchInfo::branch_
private

Definition at line 20 of file RootBranchInfo.h.

Referenced by branch().

std::string art::RootBranchInfo::branchName_
private

Definition at line 21 of file RootBranchInfo.h.

Referenced by branchName().


The documentation for this class was generated from the following files: