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