GENIEGenerator
|
#include <sstream>
#include <cassert>
#include <cstdlib>
#include <string>
#include <vector>
#include <RVersion.h>
#include <TFile.h>
#include <TDirectory.h>
#include <TTree.h>
#include <TH1F.h>
#include <TLorentzVector.h>
#include <TMath.h>
#include <TClonesArray.h>
#include <TIterator.h>
#include "Framework/Algorithm/Algorithm.h"
#include "Framework/Algorithm/AlgFactory.h"
#include "Physics/Hadronization/HadronizationModelI.h"
#include "Framework/GHEP/GHepStatus.h"
#include "Framework/GHEP/GHepParticle.h"
#include "Framework/GHEP/GHepRecord.h"
#include "Framework/Interaction/ProcessInfo.h"
#include "Framework/Interaction/InitialState.h"
#include "Framework/Interaction/Interaction.h"
#include "Framework/Messenger/Messenger.h"
#include "Framework/ParticleData/PDGCodes.h"
#include "Framework/ParticleData/PDGUtils.h"
#include "Physics/Hadronization/FragmRecUtils.h"
#include "Framework/Utils/CmdLnArgParser.h"
Go to the source code of this file.
Functions | |
void | pysphe_ (double *, double *) |
void | pythru_ (double *, double *) |
void | PrintSyntax (void) |
void | GetCommandLineArgs (int argc, char **argv) |
void | FillQrkArray (InteractionType_t it, int nu, int *QrkCode, bool *SeaQrk, int nmax, int &nqrk) |
int | main (int argc, char **argv) |
hadnt | Write ("hadnt") |
gOutFile | Close () |
Variables | |
TFile * | gOutFile = 0 |
int | gNEvents = -1 |
bool | gSetHitQrk = false |
string | gHadAlg = "" |
string | gHadConfig = "" |
return | |
gOutFile Close | ( | ) |
void FillQrkArray | ( | InteractionType_t | it, |
int | nu, | ||
int * | QrkCode, | ||
bool * | SeaQrk, | ||
int | nmax, | ||
int & | nqrk | ||
) |
Definition at line 338 of file gtestHadronization.cxx.
References genie::pdg::IsAntiNeutrino(), genie::pdg::IsNeutrino(), genie::kIntWeakCC, genie::kIntWeakNC, genie::kPdgDQuark, and genie::kPdgUQuark.
Referenced by main().
void GetCommandLineArgs | ( | int | argc, |
char ** | argv | ||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 81 of file gtestHadronization.cxx.
References genie::Interaction::AsString(), genie::GHepParticle::Energy(), FillQrkArray(), genie::GHepParticle::FirstDaughter(), genie::AlgFactory::GetAlgorithm(), GetCommandLineArgs(), gHadAlg, gHadConfig, gNEvents, gOutFile, gSetHitQrk, genie::Interaction::InitStatePtr(), genie::AlgFactory::Instance(), genie::Interaction::KinePtr(), genie::kIntWeakCC, genie::kIntWeakNC, genie::kPdgCluster, genie::kPdgIndep, genie::kPdgK0, genie::kPdgKM, genie::kPdgKP, genie::kPdgNeutron, genie::kPdgNuMu, genie::kPdgPi0, genie::kPdgPiM, genie::kPdgPiP, genie::kPdgProton, genie::kPdgString, genie::kScDeepInelastic, genie::GHepParticle::LastDaughter(), LOG, genie::GHepParticle::Mass(), genie::GHepParticle::Pdg(), pINFO, pNOTICE, genie::GHepParticle::Px(), genie::GHepParticle::Py(), pysphe_(), pythru_(), genie::GHepParticle::Pz(), genie::Target::SetHitNucPdg(), genie::Target::SetHitQrkPdg(), genie::Target::SetHitSeaQrk(), genie::Kinematics::SetW(), genie::GHepParticle::Status(), genie::InitialState::TgtPtr(), and genie::utils::kinematics::W().
void PrintSyntax | ( | void | ) |
void pysphe_ | ( | double * | , |
double * | |||
) |
Referenced by main().
void pythru_ | ( | double * | , |
double * | |||
) |
Referenced by main().
hadnt Write | ( | "hadnt" | ) |
string gHadAlg = "" |
Definition at line 78 of file gtestHadronization.cxx.
Referenced by main().
string gHadConfig = "" |
Definition at line 79 of file gtestHadronization.cxx.
Referenced by main().
int gNEvents = -1 |
Definition at line 76 of file gtestHadronization.cxx.
Referenced by main().
TFile* gOutFile = 0 |
Definition at line 75 of file gtestHadronization.cxx.
bool gSetHitQrk = false |
Definition at line 77 of file gtestHadronization.cxx.
Referenced by main().
return |
Definition at line 335 of file gtestHadronization.cxx.
Referenced by genie::HadronTransporter::ProcessEventRecord(), genie::BaryonResonanceDecayer::ProcessEventRecord(), and genie::SpectralFunction2p2h::ProcessEventRecord().