|
OscProb
|
Some useful general definitions. More...
Classes | |
| class | Absorption |
| struct | EarthBin |
| class | EarthModelBase |
| Base class for implementing an earth model. More... | |
| class | EarthModelBinned |
| Implements an earth model with depth/latitude/longitude bins. More... | |
| struct | EigenPoint |
| Struct to organise eigensystems for caching. More... | |
| struct | IdxCompare |
| An index sorting comparator. More... | |
| struct | NuPath |
| A struct representing a neutrino path segment. More... | |
| class | PMNS_Avg |
| OBSOLETE: Exactly the same as PMNS_Fast. More... | |
| class | PMNS_Base |
| Base class implementing general functions for computing neutrino oscillations. More... | |
| class | PMNS_Decay |
| Implementation of neutrino decay in a three-neutrino framework. More... | |
| class | PMNS_Deco |
| Implementation of oscillations of neutrinos in matter in a three-neutrino framework with decoherence. More... | |
| class | PMNS_DensityMatrix |
| Base class for methods based on density matrices. More... | |
| class | PMNS_Fast |
| Implementation of oscillations of neutrinos in matter in a three-neutrino framework. More... | |
| class | PMNS_Iter |
| Implementation of oscillations of neutrinos in matter in a three-neutrino framework. More... | |
| class | PMNS_LIV |
| Implements oscillations with LIV as modelled by SME. More... | |
| class | PMNS_Maltoni |
| Implementation of oscillations of neutrinos in matter in a framework with a Taylor expansion. More... | |
| class | PMNS_NSI |
| Implementation of oscillations of neutrinos in matter in a three-neutrino framework with NSI. More... | |
| class | PMNS_NUNM |
| Implementation of oscillations of neutrinos in matter in a three-neutrino framework with Non unitary Neutrino Mixing (NUNM). More... | |
| class | PMNS_OQS |
| Implements neutrino oscillations using an open quantum system approach. More... | |
| class | PMNS_SNSI |
| Implementation of oscillations of neutrinos in matter in a three-neutrino framework with scalar NSI. More... | |
| class | PMNS_Sterile |
| Implementation of oscillations of neutrinos in matter in a N-neutrino framework. More... | |
| struct | PremLayer |
| A struct representing a spherical shell of matter for earth models. More... | |
| class | PremModel |
| Implements an earth model with spherical shells. More... | |
| struct | TrajConstants |
| A struct holding useful combinations of trajectory variables. More... | |
Typedefs | |
| typedef std::vector< int > | vectorI |
| typedef std::vector< double > | vectorD |
| typedef std::vector< vectorD > | matrixD |
| typedef std::complex< double > | complexD |
| typedef std::vector< complexD > | vectorC |
| typedef std::vector< vectorC > | matrixC |
Functions | |
| NuPath | AvgPath (NuPath &p1, NuPath &p2) |
| Get the average of two paths. More... | |
| NuPath | AvgPath (std::vector< NuPath > &pv) |
| Get the average of a vector of paths. More... | |
| std::vector< NuPath > | MergePaths (std::vector< NuPath > &inputPath, int j, int k) |
| Merge paths j and k in vector. More... | |
| std::vector< std::string > | split (const std::string &s, char delimiter) |
| Helper function to split a string by a delimiter. More... | |
| template<typename... Args> | |
| std::string | format_args (const std::string &names, const Args &... args) |
| The main variadic template function to log the arguments. More... | |
| typedef std::complex<double> OscProb::complexD |
Definition at line 21 of file Definitions.h.
| typedef std::vector<vectorC> OscProb::matrixC |
Definition at line 23 of file Definitions.h.
| typedef std::vector<vectorD> OscProb::matrixD |
Definition at line 19 of file Definitions.h.
| typedef std::vector<complexD> OscProb::vectorC |
Definition at line 22 of file Definitions.h.
| typedef std::vector<double> OscProb::vectorD |
Definition at line 18 of file Definitions.h.
| typedef std::vector<int> OscProb::vectorI |
Definition at line 16 of file Definitions.h.
Get the merged average of two paths
This method will merge two paths and take their average density weighted by Z/A and path length.
The Z/A will be the average weighted by path length
| p1 | - The first path to merge |
| p2 | - The second path to merge |
Definition at line 27 of file NuPath.cxx.
References OscProb::NuPath::density, OscProb::NuPath::length, and OscProb::NuPath::zoa.
Referenced by AvgPath(), OscProb::PMNS_Base::AvgProbLoE(), OscProb::PMNS_Base::AvgProbMatrixLoE(), OscProb::PMNS_Base::AvgProbVectorLoE(), OscProb::PMNS_Base::ConvertEtoLoE(), OscProb::PMNS_Maltoni::ExtrapolationProbLoE(), OscProb::EarthModelBase::GetMergedPaths(), and MergePaths().
Get the merged average of a vector of paths
This method will merge a set of paths and take their average density weighted by Z/A and path length.
The Z/A will be the average weighted by path length
| pv | - vector of paths to merge |
Definition at line 60 of file NuPath.cxx.
References AvgPath().
| std::string OscProb::format_args | ( | const std::string & | names, |
| const Args &... | args | ||
| ) |
It unpacks the names and values from the macro call and returns a string of name = value pairs.
| Args | The types of the arguments. |
| names | - The comma-separated string of argument names. |
| args | - The actual argument values. |
Definition at line 55 of file exceptions.h.
References split().
Merge two specific paths by their indices in a path vector
| inputPath | - The original vector of paths to merge |
| j,k | - The indices of the two paths to merge |
Definition at line 89 of file NuPath.cxx.
References AvgPath().
Referenced by OscProb::EarthModelBase::GetMergedPaths().
|
inline |
This is used to parse the comma-separated argument names.
| s | - The string to split. |
| delimiter | - The character delimiter. |
Definition at line 21 of file exceptions.h.
Referenced by format_args().