SHiP Data Model
Event data model for the SHiP experiment: C++ data classes with ROOT dictionary support.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SHiP::EventHeader Struct Reference

Per-event metadata — one record per event. More...

#include <EventHeader.hpp>

Public Member Functions

bool operator== (EventHeader const &) const =default
 

Public Attributes

double weight {1.0}
 Event weight (e.g. P_DIS / nReplicas)
 
std::int64_t original_event_id
 Originating event id, e.g.
 

Detailed Description

Per-event metadata — one record per event.

Member Function Documentation

◆ operator==()

bool SHiP::EventHeader::operator== ( EventHeader const &  ) const
default

Member Data Documentation

◆ original_event_id

std::int64_t SHiP::EventHeader::original_event_id
Initial value:
{
-1}

Originating event id, e.g.

the muon event that seeded this replica (-1 = none). Event-level provenance, distinct from MCParticle::motherId, which links particles within an event.

◆ weight

double SHiP::EventHeader::weight {1.0}

Event weight (e.g. P_DIS / nReplicas)


The documentation for this struct was generated from the following file: