NuOscillator v1.3.1
|
NuOscillator is a wrapper around oscillation calculators, enabling the computation of oscillation probabilities for various configurations, including beam oscillations, atmospheric oscillations, and sterile neutrinos with NSI effects.
The framework has been adapted to integrate seamlessly with oscillation fitters like MaCh3.
don't forget about
then you can check if everything runs correctly by
Recommended way is to use CPM within you CmakeList.txt
UseCUDAProb3
etc. refers to implemented engines. Engines are loaded via yaml config files. In principle you can compile all of them and select one you want to use via config.
Following neutrino oscillation calculators are available:
Oscillator | Hardware | Source | Reference |
---|---|---|---|
CUDAProb3Linear | CPU/GPU | Beam | |
CUDAProb3 | CPU/GPU | Atm | Ref |
ProbGPULinear | GPU | Beam | Ref |
Prob3++Linear | CPU | Beam | |
NuFastLinear | CPU | Beam | Ref |
OscProb | CPU | Beam/Atm | Ref |
NuSQUIDSLinear | CPU | Beam | Ref |
Some engines requires gpu like ProbGPULinear
other can use both CPU and GPU. To use GPU functionality remember about
You can also pass CUDA architectures via cmake to ensure consistent architectures in multiple packages:
NuOscillator natively doesn't include many c++ compiler flags (this include optimalisation flags). Since package is intended to be used withing other (fitting) frameworks we allow to pass compiler flags via cmake.
This give full freedom to users in how to configure NuOscillator.
First initialise factory to produce engine defined by config. See exmaples of configs here
Now you need specify energy bins for which oscillation are going to be calculated. Energy must be in GeV! It is good practice to sort energy values as NuOscillator expect them in ascending order.
Lastly pass energy vector and finish setup
Beam
Atmospheric Binned
Atmospheric Subsampling
Unbinned
Binned