LDMX Software
HepMC3GenEvent.h
1//
2// Created by Wesley Ketchum on 4/26/24.
3//
4// This is just a simple extension of the HepMC3::GenEvent
5// for use on the ldmx Event Bus.
6//
7
8#ifndef SIMCORE_HEPMC3GENEVENT_H
9#define SIMCORE_HEPMC3GENEVENT_H
10
11#include "HepMC3/Data/GenEventData.h"
12#include "HepMC3/GenEvent.h"
13#include "TObject.h"
14
15namespace ldmx {
16
17class HepMC3GenEvent : public HepMC3::GenEventData {
18 public:
19 virtual ~HepMC3GenEvent() = default;
20
21 void clear();
22 void print() const;
23
24 HepMC3::GenEvent getHepMCGenEvent() const;
25
26 std::string getAsString() const;
27
28 public:
29 ClassDef(HepMC3GenEvent, 1);
30};
31
32} // namespace ldmx
33
34#endif // SIMCORE_HEPMC3GENEVENT_H