#include <cassert>#include <cstdlib>#include "TSystem.h"#include "TFile.h"#include "TTree.h"#include "TH1D.h"#include "TF1.h"#include "Framework/Conventions/GBuild.h"#include "Framework/Algorithm/AlgFactory.h"#include "Framework/Conventions/Controls.h"#include "Framework/EventGen/EventRecord.h"#include "Framework/EventGen/GMCJMonitor.h"#include "Framework/EventGen/EventRecordVisitorI.h"#include "Framework/GHEP/GHepParticle.h"#include "Framework/GHEP/GHepRecord.h"#include "Framework/GHEP/GHepStatus.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/PDGLibrary.h"#include "Framework/Utils/AppInit.h"#include "Framework/Utils/StringUtils.h"#include "Framework/Utils/PrintUtils.h"#include "Framework/Utils/XSecSplineList.h"#include "Framework/Utils/RunOpt.h"#include "Framework/Utils/CmdLnArgParser.h"#include "Physics/HadronTransport/INukeHadroFates.h"#include "Physics/HadronTransport/INukeUtils.h"Go to the source code of this file.
Functions | |
| void | GetCommandLineArgs (int argc, char **argv) |
| const EventRecordVisitorI * | GetIntranuke (void) |
| double | GenProbeKineticEnergy (void) |
| EventRecord * | InitializeEvent (void) |
| void | BuildSpectrum (void) |
| void | PrintSyntax (void) |
| int | main (int argc, char **argv) |
Variables | |
| int | kDefOptNevents = 10000 |
| Long_t | kDefOptRunNu = 0 |
| string | kDefOptEvFilePrefix = "gntp.inuke" |
| string | kDefOptMode = "hA" |
| string | gOptMode |
| Long_t | gOptRunNu |
| int | gOptNevents |
| int | gOptProbePdgCode |
| int | gOptTgtPdgCode |
| double | gOptProbeKE |
| double | gOptProbeKEmin |
| double | gOptProbeKEmax |
| string | gOptFlux |
| string | gOptEvFilePrefix |
| bool | gOptUsingFlux =false |
| long int | gOptRanSeed |
| TH1D * | gSpectrum = 0 |
| void BuildSpectrum | ( | void | ) |
Definition at line 323 of file gEvGenHadronNucleus.cxx.
| double GenProbeKineticEnergy | ( | void | ) |
Definition at line 317 of file gEvGenHadronNucleus.cxx.
| void GetCommandLineArgs | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 397 of file gEvGenHadronNucleus.cxx.
| const EventRecordVisitorI * GetIntranuke | ( | void | ) |
Definition at line 235 of file gEvGenHadronNucleus.cxx.
| EventRecord * InitializeEvent | ( | void | ) |
Definition at line 284 of file gEvGenHadronNucleus.cxx.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 159 of file gEvGenHadronNucleus.cxx.
| void PrintSyntax | ( | void | ) |
Definition at line 562 of file gEvGenHadronNucleus.cxx.
| string gOptEvFilePrefix |
Definition at line 152 of file gEvGenHadronNucleus.cxx.
| string gOptFlux |
Definition at line 151 of file gEvGenHadronNucleus.cxx.
| string gOptMode |
Definition at line 143 of file gEvGenHadronNucleus.cxx.
| int gOptNevents |
Definition at line 145 of file gEvGenHadronNucleus.cxx.
| double gOptProbeKE |
Definition at line 148 of file gEvGenHadronNucleus.cxx.
| double gOptProbeKEmax |
Definition at line 150 of file gEvGenHadronNucleus.cxx.
| double gOptProbeKEmin |
Definition at line 149 of file gEvGenHadronNucleus.cxx.
| int gOptProbePdgCode |
Definition at line 146 of file gEvGenHadronNucleus.cxx.
| long int gOptRanSeed |
Definition at line 154 of file gEvGenHadronNucleus.cxx.
| Long_t gOptRunNu |
Definition at line 144 of file gEvGenHadronNucleus.cxx.
| int gOptTgtPdgCode |
Definition at line 147 of file gEvGenHadronNucleus.cxx.
| bool gOptUsingFlux =false |
Definition at line 153 of file gEvGenHadronNucleus.cxx.
| TH1D* gSpectrum = 0 |
Definition at line 156 of file gEvGenHadronNucleus.cxx.
| string kDefOptEvFilePrefix = "gntp.inuke" |
Definition at line 139 of file gEvGenHadronNucleus.cxx.
| string kDefOptMode = "hA" |
Definition at line 140 of file gEvGenHadronNucleus.cxx.
| int kDefOptNevents = 10000 |
Definition at line 137 of file gEvGenHadronNucleus.cxx.
| Long_t kDefOptRunNu = 0 |
Definition at line 138 of file gEvGenHadronNucleus.cxx.
1.8.11