ana::OutputCopyTool Class Reference

#include <OutputTool.h>

Inheritance diagram for ana::OutputCopyTool:
ana::IOutputToolOld asg::AsgTool asg::IAsgTool asg::IAsgTool

List of all members.

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.

Detailed Description

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1