HackAnalysis
2
|
Class to hold settings, read from the YAML file, such as number of cores, deltaR for the jets, etc. More...
#include <running.h>
Public Member Functions | |
void | SetDefaults () |
SettingsContainer (std::string &YAMLfname) | |
void | ReadYAML (std::string &YAMLfname) |
ReadYAML options. More... | |
template<typename T1 > | |
void | SetValue (T1 &var, const string &varname, YODA_YAML::Node &config) |
template<typename T1 > | |
void | SetValue (T1 &var, YODA_YAML::Node &result) |
Class to hold settings, read from the YAML file, such as number of cores, deltaR for the jets, etc.
void SettingsContainer::ReadYAML | ( | std::string & | YAMLfname | ) |
ReadYAML options.
Add particles from an SLHA file with QNUMBERS with option "QNUMBERS file"
(incomplete) list of options for the YAML file:
cores: number of cores
Config file: cfg file for pythia
LHE file -> .lhe or .lhe.gz file for analysePYTHIA_LHE. For multicore operation they should be numbered by thisname0.lhe.gz, thisname1.lhe.gz, ... up to ncores-1.
HEPMC file name
Name for the output json file
Option to supply a cross-section, either to override the pythia-determined value or for hepmc files
Rjet -> jet radius, defaults to 0.4
nevents -> number of events
void SettingsContainer::SetDefaults | ( | ) |
Default settings are given here
< default to 1 core
< million events should be enough as a default for most files
< default cross-section negative -> will determine from pythia if running
< Rjet set to 0.4 by default
< store event files in HackAnalysis event format ... default is false
< keep hadrons in the written event files ... default is false