|
GENIEGenerator
|
#include <cassert>#include <cstdlib>#include <string>#include <vector>#include <TSystem.h>#include "Framework/Conventions/GBuild.h"#include "Framework/EventGen/GEVGDriver.h"#include "Framework/Interaction/Interaction.h"#include "Framework/Messenger/Messenger.h"#include "Framework/Numerical/RandomGen.h"#include "Framework/ParticleData/PDGCodeList.h"#include "Framework/Utils/RunOpt.h"#include "Framework/Utils/AppInit.h"#include "Framework/Utils/StringUtils.h"#include "Framework/Utils/PrintUtils.h"#include "Framework/Utils/XSecSplineList.h"#include "Framework/Utils/CmdLnArgParser.h"Go to the source code of this file.
Functions | |
| void | GetCommandLineArgs (int argc, char **argv) |
| void | PrintSyntax (void) |
| PDGCodeList * | GetNeutrinoCodes (void) |
| PDGCodeList * | GetTargetCodes (void) |
| int | main (int argc, char **argv) |
Variables | |
| string | gOptNuPdgCodeList = "" |
| string | gOptTgtPdgCodeList = "" |
| string | gOptGeomFilename = "" |
| int | gOptNKnots = -1 |
| double | gOptMaxE = -1. |
| bool | gOptNoCopy = false |
| long int | gOptRanSeed = -1 |
| string | gOptInpXSecFile = "" |
| string | gOptOutXSecFile = "" |
| void GetCommandLineArgs | ( | int | argc, |
| char ** | argv ) |
Definition at line 214 of file gMakeSplines.cxx.
References genie::CmdLnArgParser::ArgAsDouble(), genie::CmdLnArgParser::ArgAsInt(), genie::CmdLnArgParser::ArgAsLong(), genie::CmdLnArgParser::ArgAsString(), genie::RunOpt::EnableBareXSecPreCalc(), gOptGeomFilename, gOptInpXSecFile, gOptMaxE, gOptNKnots, gOptNoCopy, gOptNuPdgCodeList, gOptOutXSecFile, gOptRanSeed, gOptTgtPdgCodeList, genie::RunOpt::Instance(), LOG, genie::CmdLnArgParser::OptionExists(), pFATAL, pINFO, pNOTICE, genie::utils::print::PrintFramedMesg(), PrintSyntax(), and genie::RunOpt::ReadFromCommandLine().
Referenced by main().
| PDGCodeList * GetNeutrinoCodes | ( | void | ) |
Definition at line 366 of file gMakeSplines.cxx.
References gOptNuPdgCodeList, genie::PDGCodeList::push_back(), and genie::utils::str::Split().
Referenced by main().
| PDGCodeList * GetTargetCodes | ( | void | ) |
Definition at line 380 of file gMakeSplines.cxx.
References genie::gAbortingInErr, geom, gOptGeomFilename, gOptTgtPdgCodeList, LOG, pFATAL, pINFO, genie::PDGCodeList::push_back(), and genie::utils::str::Split().
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 145 of file gMakeSplines.cxx.
References genie::RunOpt::BuildTune(), genie::GEVGDriver::Configure(), genie::GEVGDriver::CreateSplines(), GetCommandLineArgs(), GetNeutrinoCodes(), GetTargetCodes(), gOptInpXSecFile, gOptMaxE, gOptNKnots, gOptNoCopy, gOptOutXSecFile, gOptRanSeed, genie::RunOpt::Instance(), genie::XSecSplineList::Instance(), LOG, genie::utils::app_init::MesgThresholds(), pFATAL, pINFO, PrintSyntax(), genie::utils::app_init::RandGen(), genie::XSecSplineList::SaveAsXml(), genie::GEVGDriver::SetEventGeneratorList(), and genie::utils::app_init::XSecTable().
| void PrintSyntax | ( | void | ) |
Definition at line 349 of file gMakeSplines.cxx.
References LOG, pNOTICE, and genie::RunOpt::RunOptSyntaxString().
Referenced by GetCommandLineArgs(), and main().
| string gOptGeomFilename = "" |
Definition at line 136 of file gMakeSplines.cxx.
Referenced by GetCommandLineArgs(), GetTargetCodes(), and main().
| string gOptInpXSecFile = "" |
Definition at line 141 of file gMakeSplines.cxx.
| double gOptMaxE = -1. |
Definition at line 138 of file gMakeSplines.cxx.
Referenced by GetCommandLineArgs(), and main().
| int gOptNKnots = -1 |
Definition at line 137 of file gMakeSplines.cxx.
Referenced by GetCommandLineArgs(), and main().
| bool gOptNoCopy = false |
Definition at line 139 of file gMakeSplines.cxx.
Referenced by GetCommandLineArgs(), and main().
| string gOptNuPdgCodeList = "" |
Definition at line 134 of file gMakeSplines.cxx.
Referenced by GetCommandLineArgs(), and GetNeutrinoCodes().
| string gOptOutXSecFile = "" |
Definition at line 142 of file gMakeSplines.cxx.
Referenced by GetCommandLineArgs(), and main().
| long int gOptRanSeed = -1 |
Definition at line 140 of file gMakeSplines.cxx.
| string gOptTgtPdgCodeList = "" |
Definition at line 135 of file gMakeSplines.cxx.
Referenced by GetCommandLineArgs(), and GetTargetCodes().