ATLAS Offline Software
Loading...
Searching...
No Matches
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"
9
11{
12public:
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;}
18private:
19 const TTree* m_tree;
20};
21
22CLASS_DEF(TransferTree,777000777,1)
23
24#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
virtual ~TransferTree()
TransferTree(const TTree *t)
const TTree * m_tree
const TTree * tree() const
void setTree(const TTree *t)