ATLAS Offline Software
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 ROOTCORE
19 #error only include this header in AnalysisBase
20 #endif
21 
22 namespace 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
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.
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
EL::IHistogramWorker::~IHistogramWorker
virtual ~IHistogramWorker() noexcept=default
standard (virtual) destructor
EL::IHistogramWorker::getOutputHist
virtual TObject * getOutputHist(const std::string &name) const =0
get the output histogram with the given name
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
Global.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TH1
Definition: rootspy.cxx:268
python.CaloScaleNoiseConfig.default
default
Definition: CaloScaleNoiseConfig.py:79