ATLAS Offline Software
Loading...
Searching...
No Matches
xAODTMetaTree.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2//
3// Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4//
5#ifndef XAODROOTACCESS_TOOLS_XAODTMETATREE_H
6#define XAODROOTACCESS_TOOLS_XAODTMETATREE_H
7
8// Local include(s).
10
11// ROOT include(s).
12#include <TTree.h>
13
14// System include(s).
15#include <memory>
16
17// Forward declaration(s).
18namespace xAOD {
19 class TEvent;
20}
21
37class xAODTMetaTree : public ::TTree {
38
39public:
41 xAODTMetaTree( xAOD::TEvent& event, const char* name = "MetaData",
42 const char* title = "xAOD metadata transient tree" );
43
45 virtual ::Int_t GetEntry( ::Long64_t entry, ::Int_t getall = 0 );
46
48 void AddBranch( std::unique_ptr< xAODTMetaBranch > br );
49
50private:
53
55 ClassDef( xAODTMetaTree, 0 )
56
57}; // class xAODTMetaTree
58
59#endif // XAODROOTACCESS_TOOLS_XAODTMETATREE_H
void AddBranch(std::unique_ptr< xAODTMetaBranch > br)
Function adding a new xAOD::TBranch to the tree.
xAODTMetaTree(xAOD::TEvent &event, const char *name="MetaData", const char *title="xAOD metadata transient tree")
Constructor with all the necessary parameters.
xAOD::TEvent * m_event
Pointer to the TEvent reading the persistent metadata tree.
virtual::Int_t GetEntry(::Long64_t entry, ::Int_t getall=0)
Function overriding the base class's GetEntry(...)
Tool for accessing xAOD files outside of Athena.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.