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 <Rtypes.h>
12
13#include "HepMC3/Data/GenEventData.h"
14#include "HepMC3/GenEvent.h"
15
16namespace ldmx {
17
18class HepMC3GenEvent : public HepMC3::GenEventData {
19 public:
20 virtual ~HepMC3GenEvent() = default;
21
22 void clear();
23 void print() const;
24
25 HepMC3::GenEvent getHepMCGenEvent() const;
26
27 std::string getAsString() const;
28
29 public:
30 ClassDef(HepMC3GenEvent, 1);
31};
32
33} // namespace ldmx
34
35#endif // SIMCORE_HEPMC3GENEVENT_H