![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef EVENTSAVERBASE_H_
6 #define EVENTSAVERBASE_H_
20 class ParticleLevelEvent;
42 const std::vector<std::string>& extraBranches) = 0;
TopConfig A simple configuration that is NOT a singleton.
virtual void saveUpgradeEvent(const top::ParticleLevelEvent &)
Function to save the upgrade event.
ClassDef(top::EventSaverBase, 0)
virtual void saveEvent(const top::Event &)
I guess you want to save an event sometimes to.
virtual ~EventSaverBase()
virtual void saveTruthEvent()
@breif Run for every event
virtual void initialize(std::shared_ptr< top::TopConfig > config, TFile *file, const std::vector< std::string > &extraBranches)=0
Called once at the start of the job after the file has been opened.
virtual void saveEventToxAOD()
A base class so users can write their own event saving stuff.
EventSaverBase()
Default ctor/dtor - ROOT wants to use these, don't use fancy ctors.
virtual void finalize()
So you can write something at the end of the job (like metadata).
virtual void execute()
Method to execute any calculations common for reco/particle/parton level.
Very simple class to hold event data after reading from a file.
virtual void saveParticleLevelEvent(const top::ParticleLevelEvent &)
Function to save the particle level event.