1 #ifndef HEPMC_WRITERROOTTREEOPAL_H
2 #define HEPMC_WRITERROOTTREEOPAL_H
4 #include "HepMC/GenEvent.h"
5 #include "HepMC/GenParticle.h"
6 #include "HepMC/Data/GenEventData.h"
12 WriterRootTreeOPAL(
const std::string &filename,shared_ptr<GenRunInfo> run = shared_ptr<GenRunInfo>());
15 void set_run_number(
const int nr);
Definition of class WriterRootTree.
void write_event(const GenEvent &evt)
Write event evt to output target.
Stores event-related information.
GenEvent I/O serialization for root files based on root TTree.