LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
evgen::MARLEYHelper::Source_Config Struct Reference

#include "MARLEYHelper.h"

Public Attributes

fhicl::Atom< std::string > type_
 
fhicl::Atom< std::string > neutrino_
 
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::string > rule_
 
fhicl::Atom< std::string > tfile_
 
fhicl::Atom< std::string > namecycle_
 

Detailed Description

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

Definition at line 58 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 129 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 138 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 80 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 119 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 70 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 156 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 109 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 100 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 195 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 64 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 165 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 174 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 91 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 185 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 59 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 147 of file MARLEYHelper.h.


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