#include <string>
#include <vector>
#include <iomanip>
#include <sstream>
#include <fstream>
#include <TSystem.h>
#include <TFile.h>
#include <TTree.h>
#include <TH1D.h>
#include <TLorentzVector.h>
#include "Framework/Conventions/Constants.h"
#include "Framework/EventGen/EventRecord.h"
#include "Framework/GHEP/GHepParticle.h"
#include "Framework/Ntuple/NtpMCFormat.h"
#include "Framework/Ntuple/NtpMCTreeHeader.h"
#include "Framework/Ntuple/NtpMCEventRecord.h"
#include "Framework/ParticleData/PDGLibrary.h"
#include "Framework/ParticleData/PDGCodes.h"
#include "Framework/ParticleData/PDGUtils.h"
#include "Framework/ParticleData/PDGCodeList.h"
#include "Framework/Messenger/Messenger.h"
#include "Physics/NuclearState/NuclearUtils.h"
#include "Framework/Utils/CmdLnArgParser.h"
#include "Framework/Utils/RunOpt.h"
Go to the source code of this file.
Functions | |
void | GetCommandLineArgs (int argc, char **argv) |
void | PrintSyntax (void) |
bool | CheckRootFilename (string filename) |
void | CheckEnergyMomentumConservation (void) |
void | CheckChargeConservation (void) |
void | CheckForPseudoParticlesInFinState (void) |
void | CheckForOffMassShellParticlesInFinState (void) |
void | CheckForNumFinStateNucleonsInconsistentWithTarget (void) |
void | CheckVertexDistribution (void) |
void | CheckDecayerConsistency (void) |
int | main (int argc, char **argv) |
Variables | |
string | gOptInpFilename = "" |
string | gOptOutFilename = "" |
Long64_t | gOptNEvtL = -1 |
Long64_t | gOptNEvtH = -1 |
int | gOptMaxNumErrs = -1 |
bool | gOptAddEventPrintoutInErrLog = false |
bool | gOptCheckEnergyMomentumConservation = false |
bool | gOptCheckChargeConservation = false |
bool | gOptCheckForPseudoParticlesInFinState = false |
bool | gOptCheckForOffMassShellParticlesInFinState = false |
bool | gOptCheckForNumFinStateNucleonsInconsistentWithTarget = false |
bool | gOptCheckVertexDistribution = false |
bool | gOptCheckDecayerConsistency = false |
Long64_t | gFirstEventNum = -1 |
Long64_t | gLastEventNum = -1 |
TTree * | gEventTree = 0 |
NtpMCEventRecord * | gMCRec = 0 |
ofstream | gErrLog |
void CheckChargeConservation | ( | void | ) |
Definition at line 290 of file gEvScan.cxx.
void CheckDecayerConsistency | ( | void | ) |
ok
Definition at line 710 of file gEvScan.cxx.
void CheckEnergyMomentumConservation | ( | void | ) |
Definition at line 199 of file gEvScan.cxx.
void CheckForNumFinStateNucleonsInconsistentWithTarget | ( | void | ) |
Definition at line 506 of file gEvScan.cxx.
void CheckForOffMassShellParticlesInFinState | ( | void | ) |
Definition at line 440 of file gEvScan.cxx.
void CheckForPseudoParticlesInFinState | ( | void | ) |
Definition at line 373 of file gEvScan.cxx.
Definition at line 926 of file gEvScan.cxx.
void CheckVertexDistribution | ( | void | ) |
Definition at line 612 of file gEvScan.cxx.
void GetCommandLineArgs | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 840 of file gEvScan.cxx.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 114 of file gEvScan.cxx.
void PrintSyntax | ( | void | ) |
Definition at line 919 of file gEvScan.cxx.
ofstream gErrLog |
Definition at line 111 of file gEvScan.cxx.
TTree* gEventTree = 0 |
Definition at line 109 of file gEvScan.cxx.
Long64_t gFirstEventNum = -1 |
Definition at line 106 of file gEvScan.cxx.
Long64_t gLastEventNum = -1 |
Definition at line 107 of file gEvScan.cxx.
NtpMCEventRecord* gMCRec = 0 |
Definition at line 110 of file gEvScan.cxx.
bool gOptAddEventPrintoutInErrLog = false |
Definition at line 97 of file gEvScan.cxx.
bool gOptCheckChargeConservation = false |
Definition at line 99 of file gEvScan.cxx.
bool gOptCheckDecayerConsistency = false |
Definition at line 104 of file gEvScan.cxx.
bool gOptCheckEnergyMomentumConservation = false |
Definition at line 98 of file gEvScan.cxx.
bool gOptCheckForNumFinStateNucleonsInconsistentWithTarget = false |
Definition at line 102 of file gEvScan.cxx.
bool gOptCheckForOffMassShellParticlesInFinState = false |
Definition at line 101 of file gEvScan.cxx.
bool gOptCheckForPseudoParticlesInFinState = false |
Definition at line 100 of file gEvScan.cxx.
bool gOptCheckVertexDistribution = false |
Definition at line 103 of file gEvScan.cxx.
string gOptInpFilename = "" |
Definition at line 92 of file gEvScan.cxx.
int gOptMaxNumErrs = -1 |
Definition at line 96 of file gEvScan.cxx.
Long64_t gOptNEvtH = -1 |
Definition at line 95 of file gEvScan.cxx.
Long64_t gOptNEvtL = -1 |
Definition at line 94 of file gEvScan.cxx.
string gOptOutFilename = "" |
Definition at line 93 of file gEvScan.cxx.