MARLEY (Model of Argon Reaction Low Energy Yields)  v1.1.0
A Monte Carlo event generator for tens-of-MeV neutrino-nucleus interactions in liquid argon
 All Classes Functions Variables Enumerations Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
marley::JSONConfig Class Reference
Inheritance diagram for marley::JSONConfig:
marley::RootJSONConfig

Public Types

using InterpMethod = marley::InterpolationGrid< double >::InterpolationMethod
 

Public Member Functions

 JSONConfig (const marley::JSON &object)
 
marley::Generator create_generator () const
 
InterpMethod get_interpolation_method (const std::string &rule) const
 
const marley::JSONget_json () const
 
int neutrino_pdg (const std::string &nu) const
 
void prepare_direction (marley::Generator &gen) const
 
void prepare_neutrino_source (marley::Generator &gen) const
 
void prepare_reactions (marley::Generator &gen) const
 
void prepare_structure (marley::Generator &gen) const
 
virtual bool process_extra_source_types (const std::string &, const marley::JSON &, int, std::unique_ptr< marley::NeutrinoSource > &) const
 
void set_json (const marley::JSON &json)
 
void update_logger_settings () const
 

Protected Member Functions

std::string source_get (const char *name, const marley::JSON &source_spec, const char *description, const char *default_str) const
 Helper function for loading strings from the JSON configuration.
 

Protected Attributes

marley::JSON json_
 JSON object describing this configuration.
 

Member Function Documentation

void marley::JSONConfig::prepare_structure ( marley::Generator gen) const

\todo Rewrite this in a better way


The documentation for this class was generated from the following files: