11#include <framework/core/Module.h>
12#include <mdst/dataobjects/ECLCluster.h>
13#include <mdst/dataobjects/Track.h>
14#include <framework/datastore/StoreArray.h>
19#include "masterclass/dataobjects/BEvent.h"
44 virtual void event()
override;
The Class for Masterclass event parameters.
Module to write out data in a format for Belle II masterclasses.
TTree * m_tree
output tree
virtual void initialize() override
Register input and output data.
BEvent * m_event
output event object
StoreArray< ECLCluster > m_clusters
Cluster objects.
virtual void event() override
Write out particles.
virtual void terminate() override
Close ntuple.
StoreArray< Track > m_tracks
Track objects.
TFile * m_file
root ntuple file
MasterClassModule()
Constructor: Sets the description, the properties and the parameters of the module.
std::string m_filename
output file name
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.