Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NuclearInteractionParametrisation.cpp File Reference
#include "ActsExamples/Io/NuclearInteractions/detail/NuclearInteractionParametrisation.hpp"
#include "Acts/Definitions/Common.hpp"
#include "ActsFatras/EventData/Particle.hpp"
#include <cmath>
#include <complex>
#include <iterator>
#include <limits>
#include <memory>
#include <Eigen/Eigenvalues>
#include <TMath.h>
#include <TVectorF.h>
#include <TVectorT.h>
+ Include dependency graph for NuclearInteractionParametrisation.cpp:

Go to the source code of this file.

Namespaces

namespace  ActsExamples
 
namespace  ActsExamples::detail
 
namespace  ActsExamples::detail::NuclearInteractionParametrisation
 

Functions

std::pair< Vector, Matrix > ActsExamples::detail::NuclearInteractionParametrisation::calculateMeanAndCovariance (unsigned int multiplicity, const EventProperties &events)
 Calculate the mean and the covariance matrix of a final state property.
 
EigenspaceComponents ActsExamples::detail::NuclearInteractionParametrisation::calculateEigenspace (const Vector &mean, const Matrix &covariance)
 Calculate the eigenvalues, eigenvectors and the mean in eigenspace.
 
Parametrisation ActsExamples::detail::NuclearInteractionParametrisation::buildMomentumParameters (const EventCollection &events, unsigned int multiplicity, bool soft, unsigned int nBins)
 This function calculates all components required for simulating final state momenta.
 
EventProperties ActsExamples::detail::NuclearInteractionParametrisation::prepareMomenta (const EventCollection &events, unsigned int multiplicity, bool soft)
 This method scales the final state momenta by the initial momentum.
 
ProbabilityDistributions ActsExamples::detail::NuclearInteractionParametrisation::buildMomPerMult (const EventProperties &events, unsigned int nBins)
 This method builds the distributions of each generation of a final state.
 
EventProperties ActsExamples::detail::NuclearInteractionParametrisation::convertEventToGaussian (const ProbabilityDistributions &histos, const EventProperties &events)
 Transform probability distribution entries to standard normal distribution entries.
 
EventProperties ActsExamples::detail::NuclearInteractionParametrisation::prepareInvariantMasses (const EventCollection &events, unsigned int multiplicity, bool soft)
 This method calculates the final state particles invariant masses.
 
Parametrisation ActsExamples::detail::NuclearInteractionParametrisation::buildInvariantMassParameters (const EventCollection &events, unsigned int multiplicity, bool soft, unsigned int nBins)
 This function calculates all components required for simulating final state invariant masses.
 
std::unordered_map< int,
std::unordered_map< int, float > > 
ActsExamples::detail::NuclearInteractionParametrisation::cumulativePDGprobability (const EventCollection &events)
 This method evaluates the cumulative probabilities for a given particle type to produce a particle type.
 
std::pair
< CumulativeDistribution,
CumulativeDistribution > 
ActsExamples::detail::NuclearInteractionParametrisation::cumulativeMultiplicityProbability (const EventCollection &events, unsigned int multiplicityMax)
 Evaluates the cumulative probabilities for a certain multiplicity of in a soft or hard process.
 
TVectorF ActsExamples::detail::NuclearInteractionParametrisation::softProbability (const EventCollection &events)
 This method evaluates the probability that a nuclear interaction is a soft interaction.
 
CumulativeDistribution ActsExamples::detail::NuclearInteractionParametrisation::cumulativeNuclearInteractionProbability (const EventCollection &events, unsigned int interactionProbabilityBins)
 This method calculates the cumulative probability for a nuclear interaction as a function of L0.