SHiP Data Model
Event data model for the SHiP experiment: C++ data classes with ROOT dictionary support.
Loading...
Searching...
No Matches
EventHeader.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
5namespace SHiP {
6
8struct EventHeader {
9 double weight{1.0};
10 std::int64_t original_event_id{
11 -1};
16
17 bool operator==(EventHeader const&) const = default;
18};
19
20} // namespace SHiP
Definition CaloHit.hpp:4
Per-event metadata — one record per event.
Definition EventHeader.hpp:8
bool operator==(EventHeader const &) const =default
double weight
Event weight (e.g. P_DIS / nReplicas)
Definition EventHeader.hpp:9
std::int64_t original_event_id
Originating event id, e.g.
Definition EventHeader.hpp:10