ATLAS Offline Software
TTransTrees.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: TTransTrees.h 645462 2015-02-10 10:04:54Z krasznaa $
8 #ifndef XAODROOTACCESS_TOOLS_TTRANSTREES_H
9 #define XAODROOTACCESS_TOOLS_TTRANSTREES_H
10 
11 // Forward declaration(s):
12 class TTree;
13 
14 namespace xAOD {
15 
29  class TTransTrees {
30 
31  public:
33  TTransTrees( ::TTree* eventTree, ::TTree* metaTree )
35 
37  ::TTree* eventTree() const { return m_eventTree; }
38 
40  ::TTree* metaTree() const { return m_metaTree; }
41 
42  private:
44  ::TTree* m_eventTree;
46  ::TTree* m_metaTree;
47 
48  }; // class TTransTrees
49 
50 } // namespace xAOD
51 
52 #endif // XAODROOTACCESS_TOOLS_TTRANSTREES_H
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::TTransTrees::m_eventTree
::TTree * m_eventTree
Pointer to the transient event tree.
Definition: TTransTrees.h:44
xAOD::TTransTrees::TTransTrees
TTransTrees(::TTree *eventTree, ::TTree *metaTree)
Constructor with two transient tree pointers.
Definition: TTransTrees.h:33
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
xAOD::TTransTrees
A simple helper class holding both event and metadata transient trees.
Definition: TTransTrees.h:29