Public Attributes | List of all members
evgen::MARLEYHelper::Source_Config Struct Reference

#include <MARLEYHelper.h>

Public Attributes

fhicl::Atom< std::stringtype_
 
fhicl::Atom< std::stringneutrino_
 
fhicl::Atom< double > Emin_
 
fhicl::Atom< double > Emax_
 
fhicl::Atom< double > temperature_
 
fhicl::OptionalAtom< double > eta_
 
fhicl::Atom< double > energy_
 
fhicl::Atom< double > Emean_
 
fhicl::OptionalAtom< double > beta_
 
fhicl::Sequence< double > E_bin_lefts_
 
fhicl::Sequence< double > weights_
 
fhicl::Sequence< double > energies_
 
fhicl::Sequence< double > prob_densities_
 
fhicl::Atom< std::stringrule_
 
fhicl::Atom< std::stringtfile_
 
fhicl::Atom< std::stringnamecycle_
 
fhicl::Atom< boolweight_flux_
 

Detailed Description

Collection of configuration parameters that will be forwarded to MARLEY and used to define the neutrino source

Definition at line 61 of file MARLEYHelper.h.

Member Data Documentation

fhicl::OptionalAtom<double> evgen::MARLEYHelper::Source_Config::beta_
Initial value:
{
Name("beta"),
Comment("Pinching parameter for a beta-fit source"),
[this]() -> bool {
auto type = type_();
return (type == "beta-fit");
}
}

Definition at line 132 of file MARLEYHelper.h.

fhicl::Sequence<double> evgen::MARLEYHelper::Source_Config::E_bin_lefts_
Initial value:
{
Name("E_bin_lefts"),
Comment("Left edges for each energy bin in the histogram"),
[this]() -> bool {
auto type = type_();
return type == "histogram";
}
}

Definition at line 141 of file MARLEYHelper.h.

fhicl::Atom<double> evgen::MARLEYHelper::Source_Config::Emax_
Initial value:
{
Name("Emax"),
Comment("Maximum energy (MeV) of the neutrinos produced by this"
" source"),
[this]() -> bool {
auto type = type_();
return (type == "fermi-dirac") || (type == "beta-fit" )
|| (type == "histogram");
}
}

Definition at line 83 of file MARLEYHelper.h.

fhicl::Atom<double> evgen::MARLEYHelper::Source_Config::Emean_
Initial value:
{
Name("Emean"),
Comment("Mean energy (MeV) of the neutrinos produced by a beta-fit"
" source"),
[this]() -> bool {
auto type = type_();
return (type == "beta-fit");
}
}

Definition at line 122 of file MARLEYHelper.h.

fhicl::Atom<double> evgen::MARLEYHelper::Source_Config::Emin_
Initial value:
{
Name("Emin"),
Comment("Minimum energy (MeV) of the neutrinos produced by this"
" source"),
[this]() -> bool {
auto type = type_();
return (type == "fermi-dirac") || (type == "beta-fit" );
}
}

Definition at line 73 of file MARLEYHelper.h.

fhicl::Sequence<double> evgen::MARLEYHelper::Source_Config::energies_
Initial value:
{
Name("energies"),
Comment("Energies (MeV) for each grid point"),
[this]() -> bool {
auto type = type_();
return type == "grid";
}
}

Definition at line 159 of file MARLEYHelper.h.

fhicl::Atom<double> evgen::MARLEYHelper::Source_Config::energy_
Initial value:
{
Name("energy"),
Comment("Energy (MeV) of the neutrinos produced by a monoenergetic"
" source"),
[this]() -> bool {
auto type = type_();
return (type == "monoenergetic");
}
}

Definition at line 112 of file MARLEYHelper.h.

fhicl::OptionalAtom<double> evgen::MARLEYHelper::Source_Config::eta_
Initial value:
{
Name("eta"),
Comment("Pinching parameter for the Fermi-Dirac distribution"),
[this]() -> bool {
auto type = type_();
return (type == "fermi-dirac");
}
}

Definition at line 103 of file MARLEYHelper.h.

fhicl::Atom<std::string> evgen::MARLEYHelper::Source_Config::namecycle_
Initial value:
{
Name("namecycle"),
Comment("Namecycle of the ROOT TH1 or TGraph to use"),
[this]() -> bool {
auto type = type_();
return (type == "th1") || (type == "tgraph");
}
}

Definition at line 198 of file MARLEYHelper.h.

fhicl::Atom<std::string> evgen::MARLEYHelper::Source_Config::neutrino_
Initial value:
{
Name("neutrino"),
Comment("Kind of neutrino (flavor, matter/antimatter) that the"
" neutrino source produces")
}

Definition at line 67 of file MARLEYHelper.h.

fhicl::Sequence<double> evgen::MARLEYHelper::Source_Config::prob_densities_
Initial value:
{
Name("prob_densities"),
Comment("Probability densities for each grid point"),
[this]() -> bool {
auto type = type_();
return type == "grid";
}
}

Definition at line 168 of file MARLEYHelper.h.

fhicl::Atom<std::string> evgen::MARLEYHelper::Source_Config::rule_
Initial value:
{
Name("rule"),
Comment("Interpolation rule for computing probability densities"
" between grid points. Allowed values include \"linlin\","
" \"linlog\", \"loglin\", \"loglog\", and \"constant\""),
[this]() -> bool {
auto type = type_();
return type == "grid";
}
}

Definition at line 177 of file MARLEYHelper.h.

fhicl::Atom<double> evgen::MARLEYHelper::Source_Config::temperature_
Initial value:
{
Name("temperature"),
Comment("Effective temperature for the Fermi-Dirac distribution"),
[this]() -> bool {
auto type = type_();
return (type == "fermi-dirac");
}
}

Definition at line 94 of file MARLEYHelper.h.

fhicl::Atom<std::string> evgen::MARLEYHelper::Source_Config::tfile_
Initial value:
{
Name("tfile"),
Comment("Name of the ROOT file that contains a TH1 or TGraph neutrino"
" source spectrum"),
[this]() -> bool {
auto type = type_();
return (type == "th1") || (type == "tgraph");
}
}

Definition at line 188 of file MARLEYHelper.h.

fhicl::Atom<std::string> evgen::MARLEYHelper::Source_Config::type_
Initial value:
{
Name("type"),
Comment("Type of neutrino source for MARLEY to use")
}

Definition at line 62 of file MARLEYHelper.h.

fhicl::Atom<bool> evgen::MARLEYHelper::Source_Config::weight_flux_
Initial value:
{
Name("weight_flux"),
Comment("Whether to weight the input flux by the reaction cross section(s)"),
true
}

Definition at line 207 of file MARLEYHelper.h.

fhicl::Sequence<double> evgen::MARLEYHelper::Source_Config::weights_
Initial value:
{
Name("weights"),
Comment("Weights for each energy bin in the histogram"),
[this]() -> bool {
auto type = type_();
return type == "histogram";
}
}

Definition at line 150 of file MARLEYHelper.h.


The documentation for this struct was generated from the following file: