SHiP Data Model
Event data model for the SHiP experiment: C++ data classes with ROOT dictionary support.
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
MCParticle.hpp File Reference
#include <algorithm>
#include <array>
#include <cstdint>
#include <vector>
Include dependency graph for MCParticle.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SHiP::MCParticle
 Monte Carlo particle — input to simulation. More...
 

Namespaces

namespace  SHiP
 Canonical ShipSoft unit vocabulary.
 

Functions

bool SHiP::mothers_are_consistent (std::vector< MCParticle > const &particles)
 True when the mother indices of a whole collection are self-consistent, i.e.
 
bool SHiP::mothers_are_populated (std::vector< MCParticle > const &particles)
 True when, on top of mothers_are_consistent(), every entry that has a mother carries the full list — mother_id >= 0 implies a non-empty mothers.