ATLAS Offline Software
Loading...
Searching...
No Matches
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>
15class TH1;
16class TObject;
17
18#ifndef ROOTCORE
19#error only include this header in AnalysisBase
20#endif
21
22namespace EL
23{
28
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
the interface to histogram storage on the worker
virtual void addOutput(TObject *output_swallow)=0
effects: add an object to the output.
virtual TObject * getOutputHist(const std::string &name) const =0
get the output histogram with the given name
virtual ~IHistogramWorker() noexcept=default
standard (virtual) destructor
This module defines the arguments passed from the BATCH driver to the BATCH worker.
STL namespace.