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

Monte Carlo particle — input to simulation. More...

#include <MCParticle.hpp>

Public Attributes

std::int32_t pdgCode {0}
 
std::array< double, 3 > vertex {0, 0, 0}
 Production vertex [mm].
 
std::array< double, 3 > momentum {0, 0, 0}
 Momentum (px, py, pz) [GeV/c].
 
double energy {0}
 Total energy [GeV].
 
double time {0}
 Production time [ns].
 
std::int32_t motherId {-1}
 Index of mother (-1 = primary)
 
std::int32_t status {1}
 Status code (1 = stable)
 

Detailed Description

Monte Carlo particle — input to simulation.

Member Data Documentation

◆ energy

double SHiP::MCParticle::energy {0}

Total energy [GeV].

◆ momentum

std::array<double, 3> SHiP::MCParticle::momentum {0, 0, 0}

Momentum (px, py, pz) [GeV/c].

◆ motherId

std::int32_t SHiP::MCParticle::motherId {-1}

Index of mother (-1 = primary)

◆ pdgCode

std::int32_t SHiP::MCParticle::pdgCode {0}

◆ status

std::int32_t SHiP::MCParticle::status {1}

Status code (1 = stable)

◆ time

double SHiP::MCParticle::time {0}

Production time [ns].

◆ vertex

std::array<double, 3> SHiP::MCParticle::vertex {0, 0, 0}

Production vertex [mm].


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