Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
struct | EventFraction |
Typedefs | |
using | EventCollection = std::vector< EventFraction > |
using | EventProperties = std::vector< std::vector< float >> |
using | ProbabilityDistributions = std::vector< TH1F * > |
using | CumulativeDistribution = TH1F * |
using | Vector = Acts::ActsDynamicVector |
using | Matrix = Acts::ActsDynamicMatrix |
using | EigenspaceComponents = std::tuple< Vector, Matrix, Vector > |
using | Parametrisation = std::pair< EigenspaceComponents, std::vector< CumulativeDistribution >> |
Functions | |
EventProperties | prepareMomenta (const EventCollection &events, unsigned int multiplicity, bool soft) |
This method scales the final state momenta by the initial momentum. | |
ProbabilityDistributions | buildMomPerMult (const EventProperties &events, unsigned int nBins) |
This method builds the distributions of each generation of a final state. | |
EventProperties | convertEventToGaussian (const ProbabilityDistributions &histos, const EventProperties &events) |
Transform probability distribution entries to standard normal distribution entries. | |
std::pair< Vector, Matrix > | calculateMeanAndCovariance (unsigned int multiplicity, const EventProperties &events) |
Calculate the mean and the covariance matrix of a final state property. | |
EigenspaceComponents | calculateEigenspace (const Vector &mean, const Matrix &covariance) |
Calculate the eigenvalues, eigenvectors and the mean in eigenspace. | |
Parametrisation | buildMomentumParameters (const EventCollection &events, unsigned int multiplicity, bool soft, unsigned int nBins) |
This function calculates all components required for simulating final state momenta. | |
EventProperties | prepareInvariantMasses (const EventCollection &events, unsigned int multiplicity, bool soft) |
This method calculates the final state particles invariant masses. | |
Parametrisation | 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 > > | cumulativePDGprobability (const EventCollection &events) |
This method evaluates the cumulative probabilities for a given particle type to produce a particle type. | |
std::pair < CumulativeDistribution, CumulativeDistribution > | cumulativeMultiplicityProbability (const EventCollection &events, unsigned int multiplicityMax) |
Evaluates the cumulative probabilities for a certain multiplicity of in a soft or hard process. | |
TVectorF | softProbability (const EventCollection &events) |
This method evaluates the probability that a nuclear interaction is a soft interaction. | |
CumulativeDistribution | cumulativeNuclearInteractionProbability (const EventCollection &events, unsigned int interactionProbabilityBins) |
This method calculates the cumulative probability for a nuclear interaction as a function of L0. | |
Variables | |
static constexpr uint32_t | s_MaxValue = UINT32_MAX |
using ActsExamples::detail::NuclearInteractionParametrisation::CumulativeDistribution = typedef TH1F* |
Definition at line 62 of file NuclearInteractionParametrisation.hpp.
View newest version in sPHENIX GitHub at line 62 of file NuclearInteractionParametrisation.hpp
using ActsExamples::detail::NuclearInteractionParametrisation::EigenspaceComponents = typedef std::tuple<Vector, Matrix, Vector> |
Definition at line 65 of file NuclearInteractionParametrisation.hpp.
View newest version in sPHENIX GitHub at line 65 of file NuclearInteractionParametrisation.hpp
using ActsExamples::detail::NuclearInteractionParametrisation::EventCollection = typedef std::vector<EventFraction> |
Definition at line 59 of file NuclearInteractionParametrisation.hpp.
View newest version in sPHENIX GitHub at line 59 of file NuclearInteractionParametrisation.hpp
using ActsExamples::detail::NuclearInteractionParametrisation::EventProperties = typedef std::vector<std::vector<float>> |
Definition at line 60 of file NuclearInteractionParametrisation.hpp.
View newest version in sPHENIX GitHub at line 60 of file NuclearInteractionParametrisation.hpp
using ActsExamples::detail::NuclearInteractionParametrisation::Matrix = typedef Acts::ActsDynamicMatrix |
Definition at line 64 of file NuclearInteractionParametrisation.hpp.
View newest version in sPHENIX GitHub at line 64 of file NuclearInteractionParametrisation.hpp
using ActsExamples::detail::NuclearInteractionParametrisation::Parametrisation = typedef std::pair<EigenspaceComponents, std::vector<CumulativeDistribution>> |
Definition at line 67 of file NuclearInteractionParametrisation.hpp.
View newest version in sPHENIX GitHub at line 67 of file NuclearInteractionParametrisation.hpp
using ActsExamples::detail::NuclearInteractionParametrisation::ProbabilityDistributions = typedef std::vector<TH1F*> |
Definition at line 61 of file NuclearInteractionParametrisation.hpp.
View newest version in sPHENIX GitHub at line 61 of file NuclearInteractionParametrisation.hpp
using ActsExamples::detail::NuclearInteractionParametrisation::Vector = typedef Acts::ActsDynamicVector |
Definition at line 63 of file NuclearInteractionParametrisation.hpp.
View newest version in sPHENIX GitHub at line 63 of file NuclearInteractionParametrisation.hpp
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.
[in] | events | The event storage |
[in] | soft | Decision whether soft interactions should be considered |
[in] | nBins | The number of bins in the histograms |
Definition at line 236 of file NuclearInteractionParametrisation.cpp.
View newest version in sPHENIX GitHub at line 236 of file NuclearInteractionParametrisation.cpp
References buildMomPerMult(), calculateEigenspace(), calculateMeanAndCovariance(), convertEventToGaussian(), add_histos::histos, and prepareInvariantMasses().
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.
[in] | events | The event storage |
[in] | soft | Decision whether soft interactions should be considered |
[in] | nBins | The number of bins in the histograms |
Definition at line 104 of file NuclearInteractionParametrisation.cpp.
View newest version in sPHENIX GitHub at line 104 of file NuclearInteractionParametrisation.cpp
References buildMomPerMult(), calculateEigenspace(), calculateMeanAndCovariance(), convertEventToGaussian(), add_histos::histos, and prepareMomenta().
ProbabilityDistributions ActsExamples::detail::NuclearInteractionParametrisation::buildMomPerMult | ( | const EventProperties & | events, |
unsigned int | nBins | ||
) |
This method builds the distributions of each generation of a final state.
[in] | events | The storage of a property with fixed multiplicity and interaction type |
[in] | nBins | Number of bins in the histogram |
Definition at line 153 of file NuclearInteractionParametrisation.cpp.
View newest version in sPHENIX GitHub at line 153 of file NuclearInteractionParametrisation.cpp
References event, add_histos::histos, i, and Acts::UnitConstants::min.
Referenced by buildInvariantMassParameters(), and buildMomentumParameters().
EigenspaceComponents ActsExamples::detail::NuclearInteractionParametrisation::calculateEigenspace | ( | const Vector & | mean, |
const Matrix & | covariance | ||
) |
Calculate the eigenvalues, eigenvectors and the mean in eigenspace.
[in] | mean | The mean of the normal distribution |
[in] | covariance | The covariance matrix of the normal distribution |
Definition at line 92 of file NuclearInteractionParametrisation.cpp.
View newest version in sPHENIX GitHub at line 92 of file NuclearInteractionParametrisation.cpp
References std::tr1::make_tuple(), and mean().
Referenced by buildInvariantMassParameters(), and buildMomentumParameters().
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.
[in] | events | The storage of a property with fixed multiplicity and interaction type |
Definition at line 67 of file NuclearInteractionParametrisation.cpp.
View newest version in sPHENIX GitHub at line 67 of file NuclearInteractionParametrisation.cpp
References covariance(), event, i, j, k, mean(), and full_chain_odd::multiplicity.
Referenced by buildInvariantMassParameters(), and buildMomentumParameters().
EventProperties ActsExamples::detail::NuclearInteractionParametrisation::convertEventToGaussian | ( | const ProbabilityDistributions & | histos, |
const EventProperties & | events | ||
) |
Transform probability distribution entries to standard normal distribution entries.
[in] | histos | The probability distributions |
[in] | events | The storage of a property with fixed multiplicity and interaction type |
events
Definition at line 193 of file NuclearInteractionParametrisation.cpp.
View newest version in sPHENIX GitHub at line 193 of file NuclearInteractionParametrisation.cpp
Referenced by buildInvariantMassParameters(), and buildMomentumParameters().
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.
[in] | events | The event storage |
Definition at line 309 of file NuclearInteractionParametrisation.cpp.
View newest version in sPHENIX GitHub at line 309 of file NuclearInteractionParametrisation.cpp
References event, and Acts::UnitConstants::min.
Referenced by ActsExamples::RootNuclearInteractionParametersWriter::finalize().
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.
[in] | events | The event storage |
[in] | interactionProbabilityBins | Number of bins used for the histogram |
Definition at line 360 of file NuclearInteractionParametrisation.cpp.
View newest version in sPHENIX GitHub at line 360 of file NuclearInteractionParametrisation.cpp
References event, and Acts::UnitConstants::min.
Referenced by ActsExamples::RootNuclearInteractionParametersWriter::finalize().
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.
[in] | events | The event storage |
Definition at line 261 of file NuclearInteractionParametrisation.cpp.
View newest version in sPHENIX GitHub at line 261 of file NuclearInteractionParametrisation.cpp
References fixGDML::element, event, i, next, and sum().
Referenced by ActsExamples::RootNuclearInteractionParametersWriter::finalize().
EventProperties ActsExamples::detail::NuclearInteractionParametrisation::prepareInvariantMasses | ( | const EventCollection & | events, |
unsigned int | multiplicity, | ||
bool | soft | ||
) |
This method calculates the final state particles invariant masses.
[in] | events | The event storage |
[in] | multiplicity | The target multiplicity |
[in] | soft | Decision whether soft interactions should be considered |
Definition at line 215 of file NuclearInteractionParametrisation.cpp.
View newest version in sPHENIX GitHub at line 215 of file NuclearInteractionParametrisation.cpp
References event, ActsFatras::Particle::fourMomentum(), and merge_hashes::p.
Referenced by buildInvariantMassParameters().
EventProperties ActsExamples::detail::NuclearInteractionParametrisation::prepareMomenta | ( | const EventCollection & | events, |
unsigned int | multiplicity, | ||
bool | soft | ||
) |
This method scales the final state momenta by the initial momentum.
[in] | events | The event storage |
[in] | multiplicity | The target multiplicity |
[in] | soft | Decision whether soft interactions should be considered |
Definition at line 127 of file NuclearInteractionParametrisation.cpp.
View newest version in sPHENIX GitHub at line 127 of file NuclearInteractionParametrisation.cpp
References ActsFatras::Particle::absoluteMomentum(), event, testing::internal::move(), merge_hashes::p, and sum().
Referenced by buildMomentumParameters().
TVectorF ActsExamples::detail::NuclearInteractionParametrisation::softProbability | ( | const EventCollection & | events | ) |
This method evaluates the probability that a nuclear interaction is a soft interaction.
[in] | events | The event storage |
Definition at line 346 of file NuclearInteractionParametrisation.cpp.
View newest version in sPHENIX GitHub at line 346 of file NuclearInteractionParametrisation.cpp
References event.
Referenced by ActsExamples::RootNuclearInteractionParametersWriter::finalize().
|
static |
Definition at line 58 of file NuclearInteractionParametrisation.hpp.
View newest version in sPHENIX GitHub at line 58 of file NuclearInteractionParametrisation.hpp