GENIEGenerator
|
#include <cassert>
#include <string>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <vector>
#include <algorithm>
#include "libxml/parser.h"
#include "libxml/xmlmemory.h"
#include <TSystem.h>
#include <TFile.h>
#include <TTree.h>
#include <TFolder.h>
#include <TBits.h>
#include <TObjString.h>
#include <TMath.h>
#include "Framework/ParticleData/BaryonResonance.h"
#include "Framework/ParticleData/BaryonResUtils.h"
#include "Framework/Conventions/GBuild.h"
#include "Framework/Conventions/Constants.h"
#include "Framework/Conventions/Units.h"
#include "Framework/EventGen/EventRecord.h"
#include "Framework/GHEP/GHepStatus.h"
#include "Framework/GHEP/GHepParticle.h"
#include "Framework/GHEP/GHepUtils.h"
#include "Framework/Ntuple/NtpMCFormat.h"
#include "Framework/Ntuple/NtpMCTreeHeader.h"
#include "Framework/Ntuple/NtpMCEventRecord.h"
#include "Framework/Ntuple/NtpWriter.h"
#include "Framework/Numerical/RandomGen.h"
#include "Framework/Messenger/Messenger.h"
#include "Framework/ParticleData/PDGCodes.h"
#include "Framework/ParticleData/PDGUtils.h"
#include "Framework/ParticleData/PDGLibrary.h"
#include "Framework/Utils/AppInit.h"
#include "Framework/Utils/RunOpt.h"
#include "Framework/Utils/CmdLnArgParser.h"
#include "Framework/Utils/SystemUtils.h"
#include "Framework/Utils/T2KEvGenMetaData.h"
Go to the source code of this file.
Typedefs | |
typedef enum EGNtpcFmt | GNtpcFmt_t |
Functions | |
void | ConvertToGST (void) |
void | ConvertToGXML (void) |
void | ConvertToGHepMock (void) |
void | ConvertToGTracker (void) |
void | ConvertToGRooTracker (void) |
void | ConvertToGHad (void) |
void | ConvertToGINuke (void) |
void | GetCommandLineArgs (int argc, char **argv) |
void | PrintSyntax (void) |
string | DefaultOutputFile (void) |
int | LatestFormatVersionNumber (void) |
bool | CheckRootFilename (string filename) |
int | HAProbeFSI (int, int, int, double[], int[], int, int, int) |
int | main (int argc, char **argv) |
Variables | |
string | gOptInpFileName |
input file name More... | |
string | gOptOutFileName |
output file name More... | |
GNtpcFmt_t | gOptOutFileFormat |
output file format id More... | |
int | gOptVersion |
output file format version More... | |
Long64_t | gOptN |
number of events to process More... | |
bool | gOptCopyJobMeta = false |
copy MC job metadata (gconfig, genv TFolders) More... | |
long int | gOptRanSeed |
random number seed More... | |
int | gFileMajorVrs = -1 |
int | gFileMinorVrs = -1 |
int | gFileRevisVrs = -1 |
const int | kNPmax = 250 |
typedef enum EGNtpcFmt GNtpcFmt_t |
enum EGNtpcFmt |
Definition at line 206 of file gNtpConv.cxx.
bool CheckRootFilename | ( | string | filename | ) |
Definition at line 2033 of file gEvComp.cxx.
Referenced by CreatePlots().
void ConvertToGHad | ( | void | ) |
Definition at line 2609 of file gNtpConv.cxx.
References genie::units::A, genie::GHepParticle::A(), genie::NtpMCEventRecord::Clear(), genie::NtpMCEventRecord::event, genie::GHepParticle::FirstDaughter(), genie::GHepParticle::FirstMother(), gOptInpFileName, gOptN, gOptOutFileName, genie::NtpMCRecordI::hdr, genie::Interaction::InitState(), genie::ProcessInfo::IsDeepInelastic(), genie::InitialState::IsNuBarN(), genie::InitialState::IsNuBarP(), genie::InitialState::IsNuN(), genie::InitialState::IsNuP(), genie::ProcessInfo::IsResonant(), genie::ProcessInfo::IsWeakCC(), genie::Interaction::Kine(), genie::kIStDecayedState, genie::kIStDISPreFragmHadronicState, genie::kIStStableFinalState, kNPmax, genie::kPdgCluster, genie::kPdgHadronicSyst, genie::kPdgIndep, genie::kPdgPi0, genie::kPdgString, LOG, genie::units::m, genie::GHepParticle::P4(), genie::GHepParticle::Pdg(), pERROR, pINFO, pNOTICE, genie::Interaction::ProcInfo(), genie::GHepParticle::Status(), genie::Kinematics::W(), genie::utils::kinematics::W(), genie::Kinematics::x(), genie::Kinematics::y(), and genie::GHepParticle::Z().
Referenced by main().
void ConvertToGHepMock | ( | void | ) |
Definition at line 1297 of file gNtpConv.cxx.
References genie::NtpWriter::AddEventRecord(), genie::GHepRecord::AddParticle(), genie::NtpMCEventRecord::Clear(), genie::NtpWriter::CustomizeFilename(), genie::NtpMCEventRecord::event, gOptInpFileName, gOptN, gOptOutFileName, genie::NtpMCRecordI::hdr, genie::NtpWriter::Initialize(), genie::kIStStableFinalState, genie::kNFGHEP, LOG, pERROR, pINFO, pNOTICE, and genie::NtpWriter::Save().
Referenced by main().
void ConvertToGINuke | ( | void | ) |
Definition at line 2854 of file gNtpConv.cxx.
References genie::NtpMCEventRecord::Clear(), genie::GHepParticle::E(), genie::NtpMCEventRecord::event, genie::GHepParticle::FirstDaughter(), gOptInpFileName, gOptN, gOptOutFileName, HAProbeFSI(), genie::NtpMCRecordI::hdr, genie::pdg::IonPdgCodeToA(), genie::pdg::IonPdgCodeToZ(), genie::pdg::IsPseudoParticle(), genie::kIStStableFinalState, kNPmax, genie::kPdgNeutron, genie::kPdgPi0, genie::kPdgPiM, genie::kPdgPiP, genie::kPdgProton, LOG, genie::GHepParticle::Mass(), genie::GHepParticle::Pdg(), pERROR, pINFO, pNOTICE, genie::GHepParticle::Px(), genie::GHepParticle::Py(), genie::GHepParticle::Pz(), genie::GHepParticle::Status(), genie::GHepParticle::Vx(), genie::GHepParticle::Vy(), and genie::GHepParticle::Vz().
Referenced by main().
void ConvertToGRooTracker | ( | void | ) |
Definition at line 1822 of file gNtpConv.cxx.
References genie::hnl::FluxContainer::accCorr, genie::flux::GJPARCNuFluxPassThroughInfo::alpha, genie::flux::GJPARCNuFluxPassThroughInfo::anorm, genie::flux::GNuMIFluxPassThroughInfo::beampx, genie::flux::GNuMIFluxPassThroughInfo::beampy, genie::flux::GNuMIFluxPassThroughInfo::beampz, genie::flux::GNuMIFluxPassThroughInfo::beamx, genie::flux::GNuMIFluxPassThroughInfo::beamy, genie::flux::GNuMIFluxPassThroughInfo::beamz, genie::flux::GJPARCNuFluxPassThroughInfo::bpos, genie::flux::GJPARCNuFluxPassThroughInfo::brms, genie::flux::GJPARCNuFluxPassThroughInfo::btilt, genie::NtpMCEventRecord::Clear(), genie::units::cm2, genie::flux::GJPARCNuFluxPassThroughInfo::cospi0bm, genie::flux::GJPARCNuFluxPassThroughInfo::cospibm, genie::flux::GJPARCNuFluxPassThroughInfo::emit, genie::flux::GJPARCNuFluxPassThroughInfo::Enusk, genie::NtpMCEventRecord::event, genie::flux::GNuMIFluxPassThroughInfo::evtno, genie::PDGLibrary::Find(), genie::GHepParticle::FirstDaughter(), genie::GHepParticle::FirstMother(), genie::flux::GJPARCNuFluxPassThroughInfo::fluxentry, genie::flux::GJPARCNuFluxPassThroughInfo::fluxfilename, genie::flux::fNgmax, genie::flux::GJPARCNuFluxPassThroughInfo::gamom0, genie::flux::GJPARCNuFluxPassThroughInfo::gcosbm, genie::flux::GJPARCNuFluxPassThroughInfo::gdistal, genie::flux::GJPARCNuFluxPassThroughInfo::gdistc, genie::flux::GJPARCNuFluxPassThroughInfo::gdistfe, genie::flux::GJPARCNuFluxPassThroughInfo::gdistti, genie::pdg::GeantToPdg(), genie::flux::GJPARCNuFluxPassThroughInfo::gipart, genie::flux::GJPARCNuFluxPassThroughInfo::gmat, genie::flux::GJPARCNuFluxPassThroughInfo::gmec, gOptCopyJobMeta, gOptInpFileName, gOptN, gOptOutFileFormat, gOptOutFileName, genie::flux::GJPARCNuFluxPassThroughInfo::gpid, genie::flux::GJPARCNuFluxPassThroughInfo::gpos0, genie::flux::GJPARCNuFluxPassThroughInfo::gpx, genie::flux::GJPARCNuFluxPassThroughInfo::gpy, genie::flux::GJPARCNuFluxPassThroughInfo::gpz, genie::flux::GJPARCNuFluxPassThroughInfo::gvec0, genie::flux::GJPARCNuFluxPassThroughInfo::gvx, genie::flux::GJPARCNuFluxPassThroughInfo::gvy, genie::flux::GJPARCNuFluxPassThroughInfo::gvz, genie::flux::GJPARCNuFluxPassThroughInfo::hcur, genie::NtpMCRecordI::hdr, genie::flux::GJPARCNuFluxPassThroughInfo::idfd, genie::PDGLibrary::Instance(), kConvFmt_numi_rootracker, kConvFmt_rootracker_mock_data, kConvFmt_t2k_rootracker, genie::kIStStableFinalState, kNPmax, genie::GHepParticle::LastDaughter(), genie::GHepParticle::LastMother(), genie::hnl::FluxContainer::lepPdg, LOG, genie::flux::GJPARCNuFluxPassThroughInfo::mode, genie::flux::GNuMIFluxPassThroughInfo::mupare, genie::flux::GNuMIFluxPassThroughInfo::muparpx, genie::flux::GNuMIFluxPassThroughInfo::muparpy, genie::flux::GNuMIFluxPassThroughInfo::muparpz, genie::flux::GNuMIFluxPassThroughInfo::ndecay, genie::flux::GNuMIFluxPassThroughInfo::ndxdz, genie::flux::GNuMIFluxPassThroughInfo::ndxdzfar, genie::flux::GNuMIFluxPassThroughInfo::ndxdznea, genie::flux::GNuMIFluxPassThroughInfo::ndydz, genie::flux::GNuMIFluxPassThroughInfo::ndydzfar, genie::flux::GNuMIFluxPassThroughInfo::ndydznea, genie::flux::GNuMIFluxPassThroughInfo::necm, genie::flux::GNuMIFluxPassThroughInfo::nenergy, genie::flux::GNuMIFluxPassThroughInfo::nenergyf, genie::flux::GNuMIFluxPassThroughInfo::nenergyn, genie::utils::ghep::NeutReactionCode(), genie::flux::GJPARCNuFluxPassThroughInfo::ng, genie::flux::GNuMIFluxPassThroughInfo::nimpwt, genie::flux::GNuMIFluxPassThroughInfo::norig, genie::flux::GJPARCNuFluxPassThroughInfo::norm, genie::flux::GJPARCNuFluxPassThroughInfo::normsk, genie::flux::GJPARCNuFluxPassThroughInfo::npi, genie::flux::GJPARCNuFluxPassThroughInfo::npi0, genie::flux::GNuMIFluxPassThroughInfo::npz, genie::flux::GJPARCNuFluxPassThroughInfo::ntrig, genie::flux::GNuMIFluxPassThroughInfo::ntype, genie::hnl::FluxContainer::nuEcm, genie::hnl::FluxContainer::nuPdg, genie::flux::GJPARCNuFluxPassThroughInfo::nvtx0, genie::flux::GNuMIFluxPassThroughInfo::nwtfar, genie::flux::GNuMIFluxPassThroughInfo::nwtnear, genie::GHepParticle::P4(), genie::hnl::FluxContainer::p4User, pDEBUG, genie::GHepParticle::Pdg(), genie::flux::GNuMIFluxPassThroughInfo::pdpx, genie::flux::GNuMIFluxPassThroughInfo::pdpy, genie::flux::GNuMIFluxPassThroughInfo::pdpz, pERROR, pINFO, genie::flux::GJPARCNuFluxPassThroughInfo::pint, pNOTICE, genie::GHepParticle::PolzAzimuthAngle(), genie::GHepParticle::PolzIsSet(), genie::GHepParticle::PolzPolarAngle(), genie::flux::GNuMIFluxPassThroughInfo::ppdxdz, genie::flux::GNuMIFluxPassThroughInfo::ppdydz, genie::flux::GNuMIFluxPassThroughInfo::ppenergy, genie::flux::GJPARCNuFluxPassThroughInfo::ppi, genie::flux::GJPARCNuFluxPassThroughInfo::ppi0, genie::flux::GJPARCNuFluxPassThroughInfo::ppid, genie::flux::GNuMIFluxPassThroughInfo::ppmedium, genie::flux::GNuMIFluxPassThroughInfo::pppz, genie::flux::GNuMIFluxPassThroughInfo::ppvx, genie::flux::GNuMIFluxPassThroughInfo::ppvy, genie::flux::GNuMIFluxPassThroughInfo::ppvz, genie::hnl::FluxContainer::prodChan, genie::flux::GNuMIFluxPassThroughInfo::ptype, pWARN, genie::flux::GJPARCNuFluxPassThroughInfo::rand, genie::GHepParticle::RescatterCode(), genie::flux::GJPARCNuFluxPassThroughInfo::rnu, genie::flux::GNuMIFluxPassThroughInfo::run, genie::GHepParticle::Status(), genie::flux::GNuMIFluxPassThroughInfo::tgen, genie::flux::GNuMIFluxPassThroughInfo::tgppx, genie::flux::GNuMIFluxPassThroughInfo::tgppy, genie::flux::GNuMIFluxPassThroughInfo::tgppz, genie::flux::GNuMIFluxPassThroughInfo::tgptype, genie::flux::GNuMIFluxPassThroughInfo::tprivx, genie::flux::GNuMIFluxPassThroughInfo::tprivy, genie::flux::GNuMIFluxPassThroughInfo::tprivz, genie::flux::GNuMIFluxPassThroughInfo::tptype, genie::flux::GNuMIFluxPassThroughInfo::tpx, genie::flux::GNuMIFluxPassThroughInfo::tpy, genie::flux::GNuMIFluxPassThroughInfo::tpz, genie::flux::GJPARCNuFluxPassThroughInfo::tuneid, genie::flux::GNuMIFluxPassThroughInfo::tvx, genie::flux::GNuMIFluxPassThroughInfo::tvy, genie::flux::GNuMIFluxPassThroughInfo::tvz, genie::flux::GJPARCNuFluxPassThroughInfo::version, genie::flux::GNuMIFluxPassThroughInfo::vx, genie::flux::GNuMIFluxPassThroughInfo::vy, genie::flux::GNuMIFluxPassThroughInfo::vz, Write(), genie::GHepParticle::X4(), genie::flux::GJPARCNuFluxPassThroughInfo::xnu, genie::flux::GJPARCNuFluxPassThroughInfo::xpi, genie::flux::GJPARCNuFluxPassThroughInfo::xpi0, genie::flux::GNuMIFluxPassThroughInfo::xpoint, genie::flux::GJPARCNuFluxPassThroughInfo::ynu, genie::flux::GNuMIFluxPassThroughInfo::ypoint, and genie::flux::GNuMIFluxPassThroughInfo::zpoint.
Referenced by main().
void ConvertToGST | ( | void | ) |
Definition at line 303 of file gNtpConv.cxx.
References genie::NtpMCEventRecord::Clear(), genie::units::cm2, genie::GHepParticle::Energy(), genie::NtpMCEventRecord::event, genie::Interaction::ExclTag(), genie::GHepParticle::FirstDaughter(), genie::GHepParticle::FirstMother(), genie::GHepParticle::GetP4(), gOptCopyJobMeta, gOptInpFileName, gOptN, gOptOutFileName, genie::NtpMCRecordI::hdr, genie::Target::HitQrkPdg(), genie::Target::HitSeaQrk(), genie::Interaction::InitState(), genie::pdg::IonPdgCodeToA(), genie::pdg::IonPdgCodeToZ(), genie::ProcessInfo::IsAMNuGamma(), genie::XclsTag::IsCharmEvent(), genie::ProcessInfo::IsCoherentElastic(), genie::ProcessInfo::IsCoherentProduction(), genie::ProcessInfo::IsDeepInelastic(), genie::ProcessInfo::IsDiffractive(), genie::ProcessInfo::IsEM(), genie::ProcessInfo::IsHNLDecay(), genie::ProcessInfo::IsIMDAnnihilation(), genie::ProcessInfo::IsInverseMuDecay(), genie::pdg::IsIon(), genie::ProcessInfo::IsMEC(), genie::ProcessInfo::IsNorm(), genie::ProcessInfo::IsNuElectronElastic(), genie::pdg::IsPseudoParticle(), genie::ProcessInfo::IsQuasiElastic(), genie::ProcessInfo::IsResonant(), genie::ProcessInfo::IsSingleKaon(), genie::ProcessInfo::IsWeakCC(), genie::ProcessInfo::IsWeakNC(), genie::Interaction::Kine(), genie::GHepParticle::KinE(), genie::kIStDecayedState, genie::kIStDISPreFragmHadronicState, genie::kIStNucleonTarget, genie::kIStStableFinalState, kNPmax, genie::constants::kNucleonMass, genie::kPdgAntiK0, genie::kPdgAntiNeutron, genie::kPdgAntiProton, genie::kPdgElectron, genie::kPdgGamma, genie::kPdgK0, genie::kPdgKM, genie::kPdgKP, genie::kPdgMuon, genie::kPdgNeutron, genie::kPdgNuE, genie::kPdgNuMu, genie::kPdgNuTau, genie::kPdgPi0, genie::kPdgPiM, genie::kPdgPiP, genie::kPdgPositron, genie::kPdgProton, genie::kPdgTau, genie::GHepParticle::LastDaughter(), LOG, genie::GHepParticle::Mass(), genie::GHepParticle::Name(), genie::utils::ghep::NeutReactionCode(), genie::utils::ghep::NuanceReactionCode(), genie::GHepParticle::P4(), pDEBUG, genie::GHepParticle::Pdg(), pERROR, pINFO, pNOTICE, genie::Interaction::ProcInfo(), genie::GHepParticle::Px(), genie::GHepParticle::Py(), genie::GHepParticle::Pz(), genie::Kinematics::Q2(), genie::utils::kinematics::Q2(), genie::GHepParticle::RescatterCode(), genie::XclsTag::Resonance(), genie::GHepParticle::Status(), genie::Kinematics::t(), genie::InitialState::Tgt(), genie::Kinematics::W(), genie::utils::kinematics::W(), Write(), genie::Kinematics::x(), genie::Kinematics::y(), and genie::units::ys.
Referenced by main().
void ConvertToGTracker | ( | void | ) |
Definition at line 1369 of file gNtpConv.cxx.
References genie::units::A, genie::Interaction::AsString(), genie::units::cm2, genie::GHepParticle::FirstDaughter(), genie::GHepParticle::FirstMother(), genie::units::fs, genie::gAbortingInErr, genie::utils::system::GenieMajorVrsNum(), genie::utils::system::GenieMinorVrsNum(), genie::utils::system::GenieRevisVrsNum(), gFileMajorVrs, gFileMinorVrs, gFileRevisVrs, gOptInpFileName, gOptN, gOptOutFileFormat, gOptOutFileName, gOptVersion, genie::Target::HitQrkIsSet(), genie::Target::HitQrkPdg(), genie::Target::HitSeaQrk(), genie::Interaction::InitState(), genie::RandomGen::Instance(), genie::pdg::IonPdgCodeToA(), genie::pdg::IonPdgCodeToZ(), genie::ProcessInfo::IsDeepInelastic(), genie::pdg::IsIon(), genie::pdg::IsPseudoParticle(), kConvFmt_nuance_tracker, kConvFmt_t2k_tracker, genie::kIStDecayedState, genie::kIStDISPreFragmHadronicState, genie::kIStHadronInTheNucleus, genie::kIStInitialState, genie::kIStIntermediateState, genie::kIStNucleonTarget, genie::kIStPreDecayResonantState, genie::kIStStableFinalState, genie::kIStUndefined, genie::kPdgAntiK0, genie::kPdgElectron, genie::kPdgGamma, genie::kPdgK0, genie::kPdgK0L, genie::kPdgK0S, genie::kPdgPi0, genie::kPdgPositron, genie::GHepParticle::LastDaughter(), genie::GHepParticle::LastMother(), LOG, genie::units::MeV, genie::utils::ghep::NeutReactionCode(), genie::utils::ghep::NuanceReactionCode(), genie::GHepParticle::P4(), genie::GHepParticle::Pdg(), pERROR, pINFO, pNOTICE, genie::GHepParticle::PolzAzimuthAngle(), genie::GHepParticle::PolzIsSet(), genie::GHepParticle::PolzPolarAngle(), genie::Interaction::ProcInfo(), pWARN, genie::GHepParticle::RescatterCode(), genie::RandomGen::RndGen(), genie::GHepParticle::Status(), genie::InitialState::Tgt(), and genie::GHepParticle::X4().
Referenced by main().
void ConvertToGXML | ( | void | ) |
Definition at line 1151 of file gNtpConv.cxx.
References genie::NtpMCEventRecord::Clear(), genie::GHepParticle::E(), genie::NtpMCEventRecord::event, genie::GHepParticle::FirstDaughter(), genie::GHepParticle::FirstMother(), gOptInpFileName, gOptN, gOptOutFileName, genie::NtpMCRecordI::hdr, genie::pdg::IsIon(), genie::pdg::IsParticle(), genie::pdg::IsPseudoParticle(), genie::GHepParticle::LastDaughter(), genie::GHepParticle::LastMother(), LOG, genie::GHepParticle::Pdg(), pERROR, pINFO, pNOTICE, genie::GHepParticle::PolzAzimuthAngle(), genie::GHepParticle::PolzIsSet(), genie::GHepParticle::PolzPolarAngle(), genie::GHepParticle::Px(), genie::GHepParticle::Py(), genie::GHepParticle::Pz(), genie::GHepParticle::RescatterCode(), genie::GHepParticle::Status(), genie::GHepParticle::Vt(), genie::GHepParticle::Vx(), genie::GHepParticle::Vy(), and genie::GHepParticle::Vz().
Referenced by main().
string DefaultOutputFile | ( | void | ) |
void GetCommandLineArgs | ( | int | argc, |
char ** | argv | ||
) |
int HAProbeFSI | ( | int | probe_fsi, |
int | probe_pdg, | ||
int | numh, | ||
double | E_had[], | ||
int | pdg_had[], | ||
int | numpip, | ||
int | numpim, | ||
int | numpi0 | ||
) |
Definition at line 3249 of file gNtpConv.cxx.
References genie::pdg::IsNucleon(), genie::pdg::IsPion(), and genie::kPdgGamma.
Referenced by ConvertToGINuke().
int LatestFormatVersionNumber | ( | void | ) |
Definition at line 3222 of file gNtpConv.cxx.
References gOptOutFileFormat, kConvFmt_ghad, kConvFmt_ghep_mock_data, kConvFmt_ginuke, kConvFmt_gst, kConvFmt_gxml, kConvFmt_nuance_tracker, kConvFmt_numi_rootracker, kConvFmt_rootracker, kConvFmt_rootracker_mock_data, kConvFmt_t2k_rootracker, and kConvFmt_t2k_tracker.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 238 of file gNtpConv.cxx.
References genie::PDGLibrary::AddDarkMatter(), ConvertToGHad(), ConvertToGHepMock(), ConvertToGINuke(), ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), ConvertToGXML(), genie::gAbortingInErr, GetCommandLineArgs(), gOptOutFileFormat, gOptRanSeed, genie::RunOpt::Instance(), genie::PDGLibrary::Instance(), kConvFmt_ghad, kConvFmt_ghep_mock_data, kConvFmt_ginuke, kConvFmt_gst, kConvFmt_gxml, kConvFmt_nuance_tracker, kConvFmt_numi_rootracker, kConvFmt_rootracker, kConvFmt_rootracker_mock_data, kConvFmt_t2k_rootracker, kConvFmt_t2k_tracker, LOG, genie::utils::app_init::MesgThresholds(), pFATAL, PrintSyntax(), genie::utils::app_init::RandGen(), and genie::GHepRecord::SetPrintLevel().
void PrintSyntax | ( | void | ) |
int gFileMajorVrs = -1 |
Definition at line 231 of file gNtpConv.cxx.
Referenced by ConvertToGTracker().
int gFileMinorVrs = -1 |
Definition at line 232 of file gNtpConv.cxx.
Referenced by ConvertToGTracker().
int gFileRevisVrs = -1 |
Definition at line 233 of file gNtpConv.cxx.
Referenced by ConvertToGTracker().
bool gOptCopyJobMeta = false |
copy MC job metadata (gconfig, genv TFolders)
Definition at line 227 of file gNtpConv.cxx.
Referenced by ConvertToGRooTracker(), and ConvertToGST().
string gOptInpFileName |
input file name
Definition at line 222 of file gNtpConv.cxx.
Referenced by ConvertToGHad(), ConvertToGHepMock(), ConvertToGINuke(), ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), and ConvertToGXML().
Long64_t gOptN |
number of events to process
Definition at line 226 of file gNtpConv.cxx.
Referenced by ConvertToGHad(), ConvertToGHepMock(), ConvertToGINuke(), ConvertToGRooTracker(), ConvertToGST(), ConvertToGTracker(), and ConvertToGXML().
GNtpcFmt_t gOptOutFileFormat |
output file format id
Definition at line 224 of file gNtpConv.cxx.
Referenced by ConvertToGRooTracker(), ConvertToGTracker(), LatestFormatVersionNumber(), and main().
string gOptOutFileName |
output file name
Definition at line 223 of file gNtpConv.cxx.
long int gOptRanSeed |
random number seed
Definition at line 228 of file gNtpConv.cxx.
int gOptVersion |
output file format version
Definition at line 225 of file gNtpConv.cxx.
Referenced by ConvertToGTracker().
const int kNPmax = 250 |
Definition at line 236 of file gNtpConv.cxx.
Referenced by ConvertToGHad(), ConvertToGINuke(), ConvertToGRooTracker(), and ConvertToGST().