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 | ||
) |
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, genie::geometry::ROOTGeomAnalyzer::ListOfTargetNuclei(), 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 | ) |
string gOptGeomFilename = "" |
Definition at line 136 of file gMakeSplines.cxx.
Referenced by 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 main().
int gOptNKnots = -1 |
Definition at line 137 of file gMakeSplines.cxx.
Referenced by main().
bool gOptNoCopy = false |
Definition at line 139 of file gMakeSplines.cxx.
Referenced by main().
string gOptNuPdgCodeList = "" |
Definition at line 134 of file gMakeSplines.cxx.
Referenced by GetNeutrinoCodes().
string gOptOutXSecFile = "" |
Definition at line 142 of file gMakeSplines.cxx.
Referenced by 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 GetTargetCodes().