GENIEGenerator
|
#include <cstdlib>
#include <cassert>
#include <sstream>
#include <string>
#include <vector>
#include <map>
#include <TFile.h>
#include <TTree.h>
#include <TSystem.h>
#include <TVector3.h>
#include <TH1.h>
#include <TF1.h>
#include "Framework/Conventions/XmlParserStatus.h"
#include "Framework/Conventions/GBuild.h"
#include "Framework/Conventions/Controls.h"
#include "Framework/EventGen/EventRecord.h"
#include "Framework/EventGen/GFluxI.h"
#include "Framework/EventGen/GEVGDriver.h"
#include "Framework/EventGen/GMCJDriver.h"
#include "Framework/EventGen/GMCJMonitor.h"
#include "Framework/Interaction/Interaction.h"
#include "Framework/Messenger/Messenger.h"
#include "Framework/Ntuple/NtpWriter.h"
#include "Framework/Ntuple/NtpMCFormat.h"
#include "Framework/Numerical/RandomGen.h"
#include "Framework/Numerical/Spline.h"
#include "Framework/ParticleData/PDGCodes.h"
#include "Framework/ParticleData/PDGUtils.h"
#include "Framework/Utils/AppInit.h"
#include "Framework/Utils/RunOpt.h"
#include "Framework/Utils/XSecSplineList.h"
#include "Framework/Utils/StringUtils.h"
#include "Framework/Utils/PrintUtils.h"
#include "Framework/Utils/SystemUtils.h"
#include "Framework/Utils/CmdLnArgParser.h"
Go to the source code of this file.
Functions | |
void | GetCommandLineArgs (int argc, char **argv) |
void | Initialize (void) |
void | PrintSyntax (void) |
void | GenerateEventsAtFixedInitState (void) |
int | main (int argc, char **argv) |
Variables | |
int | kDefOptNevents = 0 |
NtpMCFormat_t | kDefOptNtpFormat = kNFGHEP |
Long_t | kDefOptRunNu = 0 |
int | gOptNevents |
double | gOptNuEnergy |
double | gOptNuEnergyRange |
int | gOptNuPdgCode |
map< int, double > | gOptTgtMix |
Long_t | gOptRunNu |
string | gOptFlux |
string | gOptFluxFactors |
bool | gOptWeighted |
bool | gOptForceInt |
bool | gOptUsingFluxOrTgtMix = false |
long int | gOptRanSeed |
string | gOptInpXSecFile |
string | gOptOutFileName |
string | gOptStatFileName |
void GenerateEventsAtFixedInitState | ( | void | ) |
Definition at line 293 of file gEvGen.cxx.
References genie::NtpWriter::AddEventRecord(), genie::GEVGDriver::Configure(), genie::GMCJMonitor::CustomizeFilename(), genie::NtpWriter::CustomizeFilename(), genie::GEVGDriver::GenerateEvent(), gOptNevents, gOptNuEnergy, gOptNuPdgCode, gOptOutFileName, gOptRanSeed, gOptRunNu, gOptStatFileName, gOptTgtMix, genie::NtpWriter::Initialize(), genie::RunOpt::Instance(), kDefOptNtpFormat, LOG, pNOTICE, genie::NtpWriter::Save(), genie::GEVGDriver::SetEventGeneratorList(), genie::GMCJMonitor::SetRefreshRate(), genie::GEVGDriver::SetUnphysEventMask(), and genie::GMCJMonitor::Update().
Referenced by main().
void GetCommandLineArgs | ( | int | argc, |
char ** | argv | ||
) |
void Initialize | ( | void | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 245 of file gEvGen.cxx.
References GenerateEventsAtFixedInitState(), GetCommandLineArgs(), gOptUsingFluxOrTgtMix, Initialize(), LOG, and pERROR.
void PrintSyntax | ( | void | ) |
string gOptFlux |
Definition at line 234 of file gEvGen.cxx.
Referenced by BuildSpectrum().
string gOptFluxFactors |
Definition at line 235 of file gEvGen.cxx.
bool gOptForceInt |
Definition at line 237 of file gEvGen.cxx.
string gOptInpXSecFile |
Definition at line 240 of file gEvGen.cxx.
int gOptNevents |
Definition at line 228 of file gEvGen.cxx.
Referenced by GenerateEventsAtFixedInitState(), and main().
double gOptNuEnergy |
Definition at line 229 of file gEvGen.cxx.
Referenced by GenerateEventsAtFixedInitState().
double gOptNuEnergyRange |
Definition at line 230 of file gEvGen.cxx.
int gOptNuPdgCode |
Definition at line 231 of file gEvGen.cxx.
Referenced by GenerateEventsAtFixedInitState().
string gOptOutFileName |
Definition at line 241 of file gEvGen.cxx.
Referenced by ConvertToGHad(), ConvertToGHepMock(), ConvertToGINuke(), ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), ConvertToGXML(), GenerateEventsAtFixedInitState(), and RunCherryPicker().
long int gOptRanSeed |
Definition at line 239 of file gEvGen.cxx.
Long_t gOptRunNu |
Definition at line 233 of file gEvGen.cxx.
string gOptStatFileName |
Definition at line 242 of file gEvGen.cxx.
Referenced by GenerateEventsAtFixedInitState().
map<int,double> gOptTgtMix |
Definition at line 232 of file gEvGen.cxx.
bool gOptUsingFluxOrTgtMix = false |
Definition at line 238 of file gEvGen.cxx.
Referenced by main().
bool gOptWeighted |
Definition at line 236 of file gEvGen.cxx.
int kDefOptNevents = 0 |
Definition at line 223 of file gEvGen.cxx.
NtpMCFormat_t kDefOptNtpFormat = kNFGHEP |
Definition at line 224 of file gEvGen.cxx.
Long_t kDefOptRunNu = 0 |
Definition at line 225 of file gEvGen.cxx.