aegir
Phlex-based simulation framework for the SHiP experiment.
Loading...
Searching...
No Matches
Functions | Variables
aegir::hepmc Namespace Reference

Functions

constexpr bool is_final_state (int status) noexcept
 True for entries the generator left undecayed — the ones a detector simulation is responsible for.
 

Variables

constexpr int empty = 0
 Empty entry — never tracked.
 
constexpr int final_state = 1
 Not decayed by the generator.
 
constexpr int decayed = 2
 Decayed SM hadron, tau or muon.
 
constexpr int documentation = 3
 Documentation entry.
 
constexpr int beam = 4
 Incoming beam particle.
 
constexpr int intermediate_min = 11
 
constexpr int intermediate_max = 200
 

Function Documentation

◆ is_final_state()

constexpr bool aegir::hepmc::is_final_state ( int  status)
constexprnoexcept

True for entries the generator left undecayed — the ones a detector simulation is responsible for.

Note that "final state" does not mean stable: a final-state K_S is status 1 and is expected to decay in the detector. Everything else is either the generator's bookkeeping (0, 3, 4, 11-200) or already handled by the generator (2), and tracking it would double-count the event.

Variable Documentation

◆ beam

constexpr int aegir::hepmc::beam = 4
inlineconstexpr

Incoming beam particle.

◆ decayed

constexpr int aegir::hepmc::decayed = 2
inlineconstexpr

Decayed SM hadron, tau or muon.

◆ documentation

constexpr int aegir::hepmc::documentation = 3
inlineconstexpr

Documentation entry.

◆ empty

constexpr int aegir::hepmc::empty = 0
inlineconstexpr

Empty entry — never tracked.

◆ final_state

constexpr int aegir::hepmc::final_state = 1
inlineconstexpr

Not decayed by the generator.

◆ intermediate_max

constexpr int aegir::hepmc::intermediate_max = 200
inlineconstexpr

◆ intermediate_min

constexpr int aegir::hepmc::intermediate_min = 11
inlineconstexpr