ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | Protected Attributes | List of all members
AtTabInfoBranch< T > Class Template Reference

Describes a branch stored a TTree. More...

#include <AtTabInfoTree.h>

Inheritance diagram for AtTabInfoBranch< T >:
Inheritance graph
[legend]
Collaboration diagram for AtTabInfoBranch< T >:
Collaboration graph
[legend]

Public Member Functions

 AtTabInfoBranch (std::shared_ptr< AtTabInfoTree > tree, TString branchName)
 
T * GetInfo ()
 
std::string GetDefaultName () override
 Default name for info type. More...
 
- Public Member Functions inherited from AtTabInfoBase
 AtTabInfoBase ()=default
 
virtual ~AtTabInfoBase ()=default
 

Protected Attributes

TTreeReaderValue< T > fDetector
 
std::shared_ptr< AtTabInfoTreefTree
 

Detailed Description

template<typename T>
class AtTabInfoBranch< T >

Describes a branch stored a TTree.

TTree and entry number themsleves are handled by an AtTabInfoTree object.

Definition at line 55 of file AtTabInfoTree.h.

Constructor & Destructor Documentation

◆ AtTabInfoBranch()

template<typename T >
AtTabInfoBranch< T >::AtTabInfoBranch ( std::shared_ptr< AtTabInfoTree tree,
TString  branchName 
)
inline

Definition at line 61 of file AtTabInfoTree.h.

Member Function Documentation

◆ GetDefaultName()

template<typename T >
std::string AtTabInfoBranch< T >::GetDefaultName ( )
inlineoverridevirtual

Default name for info type.

Implements AtTabInfoBase.

Definition at line 68 of file AtTabInfoTree.h.

◆ GetInfo()

template<typename T >
T* AtTabInfoBranch< T >::GetInfo ( )
inline

Definition at line 66 of file AtTabInfoTree.h.

Member Data Documentation

◆ fDetector

template<typename T >
TTreeReaderValue<T> AtTabInfoBranch< T >::fDetector
protected

Definition at line 57 of file AtTabInfoTree.h.

◆ fTree

template<typename T >
std::shared_ptr<AtTabInfoTree> AtTabInfoBranch< T >::fTree
protected

Definition at line 58 of file AtTabInfoTree.h.


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