aegir
Phlex-based simulation framework for the SHiP experiment.
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
pythia_common.hpp File Reference
#include <Pythia8/Pythia.h>
#include <SHiP/Units.hpp>
#include <cstdint>
#include <stdexcept>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for pythia_common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  aegir
 

Typedefs

using aegir::PythiaTime = mp_units::quantity< ship::units::mm_per_c, double >
 

Functions

int aegir::pythia_seed (std::uint32_t base, int extra_streams=0)
 
template<typename Pythia >
void aegir::configure_beams (Pythia &pythia, int idA, int idB, ship::Energy beam_energy)
 
template<typename Pythia >
void aegir::stabilise_long_lived (Pythia &pythia, PythiaTime tau0_threshold)
 
template<typename Pythia >
void aegir::next_event (Pythia &pythia, std::string_view source_name, int max_attempts=10)
 
template<typename MCParticle >
std::vector< MCParticle > aegir::extract_particles (Pythia8::Event const &event, ship::Length z_offset=ship::Length::zero())