ATLAS Offline Software
Control
xAODRootAccess
xAODRootAccess
tools
xAODTEventTree.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_XAODTEVENTTREE_H
6
#define XAODROOTACCESS_TOOLS_XAODTEVENTTREE_H
7
8
// Local include(s).
9
#include "
xAODRootAccess/tools/xAODTEventBranch.h
"
10
11
// ROOT include(s):
12
#include <TTree.h>
13
14
// System include(s).
15
#include <memory>
16
17
// Forward declaration(s).
18
namespace
xAOD
{
19
class
TEvent;
20
}
21
37
class
xAODTEventTree
:
public
::TTree {
38
39
public
:
41
xAODTEventTree
(
xAOD::TEvent
&
event
,
const
char
*
name
=
"CollectionTree"
,
42
const
char
*
title
=
"xAOD transient tree"
);
43
45
virtual ::Int_t
GetEntry
( ::Long64_t
entry
, ::Int_t getall = 0 );
46
48
void
AddBranch
( std::unique_ptr< xAODTEventBranch >
br
);
49
50
private
:
52
xAOD::TEvent
*
m_event
;
53
55
ClassDef(
xAODTEventTree
, 0 )
56
57
};
// class xAODTEventTree
58
59
#endif // XAODROOTACCESS_TOOLS_XAODTEVENTTREE_H
xAODTEventTree::m_event
xAOD::TEvent * m_event
Pointer to the TEvent reading the persistent tree.
Definition:
xAODTEventTree.h:52
xAODTEventTree::xAODTEventTree
xAODTEventTree(xAOD::TEvent &event, const char *name="CollectionTree", const char *title="xAOD transient tree")
Constructor with all the necessary parameters.
xAODTEventTree
Transient TTree for interactive xAOD event data access.
Definition:
xAODTEventTree.h:37
TRT::Track::event
@ event
Definition:
InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:74
xAODTEventTree::AddBranch
void AddBranch(std::unique_ptr< xAODTEventBranch > br)
Function adding a new xAODTEventBranch to the tree.
Definition:
xAODTEventTree.cxx:47
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
xAODTEventBranch.h
covarianceTool.title
title
Definition:
covarianceTool.py:542
xAODTEventTree::GetEntry
virtual ::Int_t GetEntry(::Long64_t entry, ::Int_t getall=0)
Function overriding the base class's GetEntry(...)
Definition:
xAODTEventTree.cxx:29
GetAllXsec.entry
list entry
Definition:
GetAllXsec.py:132
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
xAOD::TEvent
Tool for accessing xAOD files outside of Athena.
Definition:
Control/xAODRootAccess/xAODRootAccess/TEvent.h:57
PlotCalibFromCool.br
br
Definition:
PlotCalibFromCool.py:355
Generated on Wed Nov 19 2025 21:23:49 for ATLAS Offline Software by
1.8.18