NuOscillator
Loading...
Searching...
No Matches
OscillatorUnbinned.h
Go to the documentation of this file.
1#ifndef __OSCILLATOR_UNBINNED_BASE_H__
2#define __OSCILLATOR_UNBINNED_BASE_H__
3
4#include "OscillatorBase.h"
5
17 public:
18
26 OscillatorUnbinned(std::string ConfigName_);
27
28 OscillatorUnbinned(YAML::Node Config_);
29
33 virtual ~OscillatorUnbinned();
34
35 // ========================================================================================================================================================================
36 // Public functions which are calculation implementation agnostic
37
52 const FLOAT_T* ReturnWeightPointer(int InitNuFlav, int FinalNuFlav, FLOAT_T EnergyVal, FLOAT_T CosineZVal=DUMMYVAL) final;
53
64 std::vector<FLOAT_T> ReturnBinEdgesForPlotting(bool ReturnEnergy) final;
65
66 // ========================================================================================================================================================================
67 // Public virtual functions which need calculater specific implementations
68
69 protected:
70
71 // ========================================================================================================================================================================
72 // Protected functions which are calculation implementation agnostic
73
74 // ========================================================================================================================================================================
75 // Protected virtual functions which are calculation implementation agnostic
76
77 // ========================================================================================================================================================================
78 // Basic protected variables required for oscillation probability calculation
79
80 private:
81
82 void Initialise();
83
84 // ========================================================================================================================================================================
85 // Basic private variables required for oscillation probability calculation
86
87};
88
89#endif
float FLOAT_T
Definition OscillatorConstants.h:16
#define DUMMYVAL
Definition OscillatorConstants.h:4
Oscillation calculation (binned, unbinned, etc.) implementation agnostic base class.
Definition OscillatorBase.h:20
Unbinned Oscillation calculation implementation class.
Definition OscillatorUnbinned.h:16
OscillatorUnbinned(std::string ConfigName_)
Default constructor.
Definition OscillatorUnbinned.cpp:5
virtual ~OscillatorUnbinned()
Destructor.
Definition OscillatorUnbinned.cpp:17
std::vector< FLOAT_T > ReturnBinEdgesForPlotting(bool ReturnEnergy) final
Return a vector of bin edges used for oscillation probability plotting.
Definition OscillatorUnbinned.cpp:26
void Initialise()
Definition OscillatorUnbinned.cpp:13
const FLOAT_T * ReturnWeightPointer(int InitNuFlav, int FinalNuFlav, FLOAT_T EnergyVal, FLOAT_T CosineZVal=DUMMYVAL) final
Return a pointer to the oscillation probability for the requested event attributes.
Definition OscillatorUnbinned.cpp:21