ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
AnaAlgorithm
AnaAlgorithm
ITreeWorker.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
//
3
// Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
4
//
5
#ifndef ANAALGORITHM_ITREEWORKER_H
6
#define ANAALGORITHM_ITREEWORKER_H
7
8
// Bail right away if somebody tries to use this from the wrong environment:
9
#ifndef XAOD_STANDALONE
10
# error only include this header in AnalysisBase
11
#endif
12
13
// System include(s):
14
#include <string>
15
16
// Framework include(s):
17
#include "
AsgMessaging/StatusCode.h
"
18
19
// Local include(s):
20
#include "
AnaAlgorithm/Global.h
"
21
22
// Forward declaration(s):
23
class
TTree;
24
25
namespace
EL
{
26
32
class
ITreeWorker
{
33
34
public
:
36
virtual
~ITreeWorker
() noexcept = default;
37
43
virtual ::
StatusCode
addTree
(
const
TTree&
tree
,
44
const
std
::
string
& stream ) = 0;
45
52
virtual TTree*
getOutputTree
(
const
std
::
string
& name,
53
const
std
::
string
& stream )
const
= 0;
54
55
};
// class ITreeWorker
56
57
}
// namespace EL
58
59
#endif
// ANAALGORITHM_ITREEWORKER_H
StatusCode.h
Global.h
EL::ITreeWorker
The interface to TTree storage on the worker.
Definition
ITreeWorker.h:32
EL::ITreeWorker::addTree
virtual::StatusCode addTree(const TTree &tree, const std::string &stream)=0
Add a tree to the output, into an output stream/file.
EL::ITreeWorker::~ITreeWorker
virtual ~ITreeWorker() noexcept=default
Virtual destructor, to make vtable happy...
EL::ITreeWorker::getOutputTree
virtual TTree * getOutputTree(const std::string &name, const std::string &stream) const =0
Get the pointer to an output tree with a given name/stream.
const
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
std
STL namespace.
tree
TChain * tree
Definition
tile_monitor.h:30
Generated on
for ATLAS Offline Software by
1.17.0