ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
AnaAlgorithm
AnaAlgorithm
IHistogramWorker.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
9
#ifndef ANA_ALGORITHM__I_HISTOGRAM_WORKER_H
10
#define ANA_ALGORITHM__I_HISTOGRAM_WORKER_H
11
12
#include <
AnaAlgorithm/Global.h
>
13
14
#include <string>
15
class
TH1;
16
class
TObject;
17
18
#ifndef XAOD_STANDALONE
19
#error only include this header in AnalysisBase
20
#endif
21
22
namespace
EL
23
{
28
29
class
IHistogramWorker
30
{
34
public
:
35
virtual
~IHistogramWorker
() noexcept = default;
36
37
47
public:
48
virtual
void
addOutput
(TObject *output_swallow) = 0;
49
50
60
public:
61
virtual TObject *
getOutputHist
(
const
std
::
string
& name)
const
= 0;
62
};
63
}
64
65
#endif
Global.h
EL::IHistogramWorker
the interface to histogram storage on the worker
Definition
IHistogramWorker.h:30
EL::IHistogramWorker::addOutput
virtual void addOutput(TObject *output_swallow)=0
effects: add an object to the output.
EL::IHistogramWorker::getOutputHist
virtual TObject * getOutputHist(const std::string &name) const =0
get the output histogram with the given name
EL::IHistogramWorker::~IHistogramWorker
virtual ~IHistogramWorker() noexcept=default
standard (virtual) destructor
const
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0