5#ifndef ANAALGORITHM_ITREEWORKER_H
6#define ANAALGORITHM_ITREEWORKER_H
10# error only include this header in AnalysisBase
The interface to TTree storage on the worker.
virtual::StatusCode addTree(const TTree &tree, const std::string &stream)=0
Add a tree to the output, into an output stream/file.
virtual ~ITreeWorker() noexcept=default
Virtual destructor, to make vtable happy...
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.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.