ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
xAOD::TTransTrees Class Reference

A simple helper class holding both event and metadata transient trees. More...

#include <TTransTrees.h>

Collaboration diagram for xAOD::TTransTrees:

Public Member Functions

 TTransTrees (::TTree *eventTree, ::TTree *metaTree)
 Constructor with two transient tree pointers. More...
 
::TTree * eventTree () const
 Get a pointer to the transient event tree. More...
 
::TTree * metaTree () const
 Get a pointer to the transient metadata tree. More...
 

Private Attributes

::TTree * m_eventTree
 Pointer to the transient event tree. More...
 
::TTree * m_metaTree
 Pointer to the transient metadata tree. More...
 

Detailed Description

A simple helper class holding both event and metadata transient trees.

In order to access both the event and metadata information in PyROOT in a user friendly way, we use this helper class. It's extremely simple, it just points to two transient trees that describe the event- and metadata of the input file(s), without owning those trees. The trees are always owned by the xAOD::MakeTransientTrees functions.

Author
Attila Krasznahorkay Attil.nosp@m.a.Kr.nosp@m.aszna.nosp@m.hork.nosp@m.ay@ce.nosp@m.rn.c.nosp@m.h
Revision
645462
Date
2015-02-10 11:04:54 +0100 (Tue, 10 Feb 2015)

Definition at line 29 of file TTransTrees.h.

Constructor & Destructor Documentation

◆ TTransTrees()

xAOD::TTransTrees::TTransTrees ( ::TTree *  eventTree,
::TTree *  metaTree 
)
inline

Constructor with two transient tree pointers.

Definition at line 33 of file TTransTrees.h.

Member Function Documentation

◆ eventTree()

::TTree* xAOD::TTransTrees::eventTree ( ) const
inline

Get a pointer to the transient event tree.

Definition at line 37 of file TTransTrees.h.

37 { return m_eventTree; }

◆ metaTree()

::TTree* xAOD::TTransTrees::metaTree ( ) const
inline

Get a pointer to the transient metadata tree.

Definition at line 40 of file TTransTrees.h.

40 { return m_metaTree; }

Member Data Documentation

◆ m_eventTree

::TTree* xAOD::TTransTrees::m_eventTree
private

Pointer to the transient event tree.

Definition at line 44 of file TTransTrees.h.

◆ m_metaTree

::TTree* xAOD::TTransTrees::m_metaTree
private

Pointer to the transient metadata tree.

Definition at line 46 of file TTransTrees.h.


The documentation for this class was generated from the following file:
xAOD::TTransTrees::m_eventTree
::TTree * m_eventTree
Pointer to the transient event tree.
Definition: TTransTrees.h:44
xAOD::TTransTrees::metaTree
::TTree * metaTree() const
Get a pointer to the transient metadata tree.
Definition: TTransTrees.h:40
xAOD::TTransTrees::m_metaTree
::TTree * m_metaTree
Pointer to the transient metadata tree.
Definition: TTransTrees.h:46
xAOD::TTransTrees::eventTree
::TTree * eventTree() const
Get a pointer to the transient event tree.
Definition: TTransTrees.h:37