ATLAS Offline Software
Database
AthenaRoot
AthenaRootComps
AthenaRootComps
TransferTree.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRANSFERTREE_H
6
#define TRANSFERTREE_H
7
#include "TTree.h"
8
#include "
AthenaKernel/CLASS_DEF.h
"
9
10
class
TransferTree
11
{
12
public
:
13
TransferTree
() :
m_tree
(0) {}
14
TransferTree
(
const
TTree*
t
) :
m_tree
(
t
) {}
15
virtual
~TransferTree
() {
m_tree
=0;}
16
void
setTree
(
const
TTree*
t
) {
m_tree
=
t
;}
17
const
TTree*
tree
()
const
{
return
m_tree
;}
18
private
:
19
const
TTree*
m_tree
;
20
};
21
22
CLASS_DEF
(
TransferTree
,777000777,1)
23
24
#endif
TransferTree::tree
const TTree * tree() const
Definition:
TransferTree.h:17
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
TransferTree::m_tree
const TTree * m_tree
Definition:
TransferTree.h:19
TransferTree
Definition:
TransferTree.h:11
TransferTree::~TransferTree
virtual ~TransferTree()
Definition:
TransferTree.h:15
TransferTree::TransferTree
TransferTree(const TTree *t)
Definition:
TransferTree.h:14
TransferTree::setTree
void setTree(const TTree *t)
Definition:
TransferTree.h:16
TransferTree::TransferTree
TransferTree()
Definition:
TransferTree.h:13
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition:
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
CLASS_DEF.h
macros to associate a CLID to a type
Generated on Mon Dec 23 2024 21:20:54 for ATLAS Offline Software by
1.8.18