ATLAS Offline Software
|
The interface to TTree storage on the worker. More...
#include <ITreeWorker.h>
Public Member Functions | |
virtual | ~ITreeWorker () noexcept=default |
Virtual destructor, to make vtable happy... More... | |
virtual ::StatusCode | addTree (const TTree &tree, const std::string &stream)=0 |
Add a tree to the output, into an output stream/file. More... | |
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. More... | |
The interface to TTree storage on the worker.
This interface summarizes the subset of Worker that is needed for handling TTree outputs.
Definition at line 32 of file ITreeWorker.h.
|
virtualdefaultnoexcept |
Virtual destructor, to make vtable happy...
|
pure virtual |
Add a tree to the output, into an output stream/file.
tree | The tree to put into the output stream/file |
stream | The name of the stream/file to put the tree into. |
Implemented in EL::Worker.
|
pure virtual |
Get the pointer to an output tree with a given name/stream.
name | The name of the tree to find |
stream | The stream/file to find the tree in |
nullptr
if not Implemented in EL::Worker.