Stores fitting parameters for all neutrino types from a single time bin in a "fit"-format spectrum file. More...
Public Member Functions | |
TimeFit (double time, double Emean_nue, double alpha_nue, double lum_nue, double Emean_nuebar, double alpha_nuebar, double lum_nuebar, double Emean_nux, double alpha_nux, double lum_nux) | |
double | Time () const |
Returns the low edge (in s) of the time bin that uses these fit parameters. More... | |
const FitParameters & | GetFitParameters (int pdg_code) const |
Retrieves fit parameters for a specific neutrino type for this time bin. More... | |
Static Public Member Functions | |
template<typename It > | |
static marley::IteratorToMember< It, FitParameters > | make_FitParameters_iterator (int pdg_code, It iterator) |
Converts an iterator that points to a TimeFit object into an iterator that points to the appropriate (based on the neutrino PDG code) FitParameters member owned by the TimeFit object. More... | |
Static Protected Member Functions | |
static FitParameters TimeFit::* | GetFitParametersMemberPointer (int pdg_code) |
Helper function that returns a pointer-to-member for the FitParameters object appropriate for a given neutrino type. More... | |
Protected Attributes | |
double | fTime |
Time bin low edge (s) More... | |
FitParameters | fNueFitParams |
Fitting parameters for electron neutrinos in this time bin. More... | |
FitParameters | fNuebarFitParams |
Fitting parameters for electron antineutrinos in this time bin. More... | |
FitParameters | fNuxFitParams |
Fitting parameters for non-electron-flavor neutrinos in this time bin. More... | |
Stores fitting parameters for all neutrino types from a single time bin in a "fit"-format spectrum file.
Definition at line 282 of file MARLEYTimeGen_module.cc.
|
inline |
Definition at line 284 of file MARLEYTimeGen_module.cc.
|
inline |
Retrieves fit parameters for a specific neutrino type for this time bin.
pdg_code | The PDG code for the desired neutrino type |
Definition at line 327 of file MARLEYTimeGen_module.cc.
|
inlinestaticprotected |
Helper function that returns a pointer-to-member for the FitParameters object appropriate for a given neutrino type.
pdg_code | PDG code for the neutrino type of interest |
Definition at line 302 of file MARLEYTimeGen_module.cc.
|
inlinestatic |
Converts an iterator that points to a TimeFit object into an iterator that points to the appropriate (based on the neutrino PDG code) FitParameters member owned by the TimeFit object.
This function helps us to be able to sample time bins with a std::discrete_distribution using the bin luminosities without redundnant storage.
pdg_code | PDG code for the neutrino type of interest |
iterator | An iterator to a TimeFit object that will be converted |
Definition at line 342 of file MARLEYTimeGen_module.cc.
|
inline |
Returns the low edge (in s) of the time bin that uses these fit parameters.
Time zero is defined to be the core bounce
Definition at line 295 of file MARLEYTimeGen_module.cc.
|
protected |
Fitting parameters for electron antineutrinos in this time bin.
Definition at line 358 of file MARLEYTimeGen_module.cc.
|
protected |
Fitting parameters for electron neutrinos in this time bin.
Definition at line 354 of file MARLEYTimeGen_module.cc.
|
protected |
Fitting parameters for non-electron-flavor neutrinos in this time bin.
Definition at line 362 of file MARLEYTimeGen_module.cc.
|
protected |
Time bin low edge (s)
Definition at line 351 of file MARLEYTimeGen_module.cc.