GENIEGenerator
|
#include <string>
#include <vector>
#include <cassert>
#include <TFile.h>
#include <TNtupleD.h>
#include <TSystem.h>
#include <TLorentzVector.h>
#include <TVector3.h>
#include <TApplication.h>
#include <TPolyMarker3D.h>
#include "Framework/Conventions/Constants.h"
#include "Tools/Geometry/ROOTGeomAnalyzer.h"
#include "Framework/EventGen/PathLengthList.h"
#include "Framework/Messenger/Messenger.h"
#include "Framework/Numerical/RandomGen.h"
#include "Framework/Utils/StringUtils.h"
#include "Framework/Utils/CmdLnArgParser.h"
Go to the source code of this file.
Functions | |
void | GetCommandLineArgs (int argc, char **argv) |
void | GetRandomRay (TLorentzVector &x, TLorentzVector &p) |
int | GetTargetMaterial (const PathLengthList &pl) |
TVector3 | kDefOptRayDirection (1, 0, 0) |
TVector3 | kDefOptRaySurf (0, 0, 0) |
int | main (int argc, char **argv) |
Variables | |
string | gOptGeomFile |
string | gOptRootGeomTopVol |
TVector3 | gOptRayDirection |
TVector3 | gOptRaySurf |
double | gOptRayR |
int | gOptNVtx |
int | gOptTgtPdg |
double | kDefOptRayR = 100 |
void GetCommandLineArgs | ( | int | argc, |
char ** | argv | ||
) |
void GetRandomRay | ( | TLorentzVector & | x, |
TLorentzVector & | p | ||
) |
Definition at line 200 of file gtestROOTGeometry.cxx.
References gOptRayDirection, gOptRayR, gOptRaySurf, genie::RandomGen::Instance(), genie::constants::kPi, LOG, pNOTICE, and genie::RandomGen::RndFlux().
Referenced by main().
int GetTargetMaterial | ( | const PathLengthList & | pl | ) |
Definition at line 241 of file gtestROOTGeometry.cxx.
References genie::PathLengthList::AreAllZero(), gOptTgtPdg, genie::RandomGen::Instance(), genie::PathLengthList::PathLength(), and genie::RandomGen::RndFlux().
Referenced by main().
TVector3 kDefOptRayDirection | ( | 1 | , |
0 | , | ||
0 | |||
) |
TVector3 kDefOptRaySurf | ( | 0 | , |
0 | , | ||
0 | |||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 106 of file gtestROOTGeometry.cxx.
References genie::geometry::ROOTGeomAnalyzer::ComputeMaxPathLengths(), genie::geometry::ROOTGeomAnalyzer::ComputePathLengths(), genie::geometry::ROOTGeomAnalyzer::GenerateVertex(), GetCommandLineArgs(), genie::geometry::ROOTGeomAnalyzer::GetGeometry(), GetRandomRay(), GetTargetMaterial(), gOptGeomFile, gOptNVtx, gOptRootGeomTopVol, genie::pdg::IonPdgCodeToA(), genie::pdg::IonPdgCodeToZ(), LOG, pERROR, pINFO, pNOTICE, and genie::geometry::ROOTGeomAnalyzer::SetTopVolName().
string gOptGeomFile |
Definition at line 93 of file gtestROOTGeometry.cxx.
Referenced by main().
int gOptNVtx |
Definition at line 98 of file gtestROOTGeometry.cxx.
Referenced by main().
TVector3 gOptRayDirection |
Definition at line 95 of file gtestROOTGeometry.cxx.
Referenced by GetRandomRay().
double gOptRayR |
Definition at line 97 of file gtestROOTGeometry.cxx.
Referenced by GetRandomRay().
TVector3 gOptRaySurf |
Definition at line 96 of file gtestROOTGeometry.cxx.
Referenced by GetRandomRay().
string gOptRootGeomTopVol |
Definition at line 94 of file gtestROOTGeometry.cxx.
int gOptTgtPdg |
Definition at line 99 of file gtestROOTGeometry.cxx.
Referenced by GetTargetMaterial().
double kDefOptRayR = 100 |
Definition at line 101 of file gtestROOTGeometry.cxx.