![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef EVENTSAVERXAOD_H_
6 #define EVENTSAVERXAOD_H_
48 const std::vector<std::string>& extraBranches);
TopConfig A simple configuration that is NOT a singleton.
TFile * m_outputFile
We need to hold on to the output file.
EventSaverxAOD()
Kept simple, set the output container prefix (so they have a different name to the input containers).
virtual void finalize()
xAOD needs to write some more stuff to the file at the end of a job
Write out the selected events in xAOD format.
POOL::TEvent event(POOL::TEvent::kClassAccess)
::StatusCode StatusCode
StatusCode definition for legacy code.
A base class so users can write their own event saving stuff.
virtual void saveEvent(const top::Event &event)
Save an event.
std::shared_ptr< top::TopConfig > m_config
We need access to the configuration file to get the container names.
virtual ~EventSaverxAOD()
ClassDef(top::EventSaverxAOD, 0)
Very simple class to hold event data after reading from a file.
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
const std::string m_prefix
Name to prepend to the output containers.