#include <OutputTool.h>
Public Member Functions | |
OutputCopyTool (const std::string &name, const std::string &contName="") | |
Standard constructor. | |
virtual StatusCode | initialize () override |
Initialize the tool. | |
virtual StatusCode | write (xAOD::TEvent *outputStore, const std::string &suffixNotUsed="") override |
Protected Attributes | |
std::string | m_contName |
Name of the container to write out. |
Simple tool for copying an object from the input persistent store to the output persistent store in ROOT. This actually doesn't require any type or aux details because TEvent can do it all with just the string key.
The copying of objects to the output will be necessary for the current mode of operation in QuickAna, where shallow copies are made from the input containers.
Note: this won't compile in Athena due to the dependence on xAODRootAccess via TEvent.
THIS TOOL IS DEPRECATED. Please use the OutputToolXAOD and MasterOutputToolXAOD instead.
virtual StatusCode ana::OutputCopyTool::write | ( | xAOD::TEvent * | outputStore, | |
const std::string & | suffixNotUsed = "" | |||
) | [override, virtual] |
Copy the container(s) from the input store to the output store with eventstore key "basename". Suffix is not applied.
Implements ana::IOutputToolOld.