GENIEGenerator
|
The PointGeomAnalyzer class is the simplest implementation of the GeomAnalyserI interface and defines a simple 'point-like' geometry. More...
#include <PointGeomAnalyzer.h>
Public Member Functions | |
PointGeomAnalyzer (int tgtpdgc) | |
PointGeomAnalyzer (unsigned int n, const int tgt_pdg[], const double weight[]) | |
PointGeomAnalyzer (const map< int, double > &tgtmap) | |
~PointGeomAnalyzer () | |
const PDGCodeList & | ListOfTargetNuclei (void) |
const PathLengthList & | ComputeMaxPathLengths (void) |
const PathLengthList & | ComputePathLengths (const TLorentzVector &x, const TLorentzVector &p) |
const TVector3 & | GenerateVertex (const TLorentzVector &x, const TLorentzVector &p, int tgtpdg) |
Public Member Functions inherited from genie::GeomAnalyzerI | |
virtual | ~GeomAnalyzerI () |
Private Member Functions | |
void | Initialize (const map< int, double > &tgtmap) |
void | CleanUp (void) |
Private Attributes | |
TVector3 * | fCurrVertex |
current generated vertex More... | |
PathLengthList * | fCurrPathLengthList |
current list of path-lengths More... | |
PDGCodeList * | fCurrPDGCodeList |
current list of target nuclei More... | |
Additional Inherited Members | |
Protected Member Functions inherited from genie::GeomAnalyzerI | |
GeomAnalyzerI () | |
The PointGeomAnalyzer class is the simplest implementation of the GeomAnalyserI interface and defines a simple 'point-like' geometry.
Use this geometry analyzer to generate events when you do not want to use a detailed GEANT/ROOT geometry description but you only need to generate events for a 'single' nuclear target while you still want to use the GENIE MC job driver 'loaded' with a GENIE flux driver. The geometry can also support a mix of targets, each with its corresponding weight.
Definition at line 38 of file PointGeomAnalyzer.h.
PointGeomAnalyzer::PointGeomAnalyzer | ( | int | tgtpdgc | ) |
Definition at line 33 of file PointGeomAnalyzer.cxx.
References Initialize().
PointGeomAnalyzer::PointGeomAnalyzer | ( | unsigned int | n, |
const int | tgt_pdg[], | ||
const double | weight[] | ||
) |
Definition at line 42 of file PointGeomAnalyzer.cxx.
References Initialize().
PointGeomAnalyzer::PointGeomAnalyzer | ( | const map< int, double > & | tgtmap | ) |
Definition at line 53 of file PointGeomAnalyzer.cxx.
References Initialize().
PointGeomAnalyzer::~PointGeomAnalyzer | ( | ) |
|
private |
Definition at line 116 of file PointGeomAnalyzer.cxx.
References fCurrPathLengthList, fCurrPDGCodeList, and fCurrVertex.
Referenced by ~PointGeomAnalyzer().
|
virtual |
Implements genie::GeomAnalyzerI.
Definition at line 72 of file PointGeomAnalyzer.cxx.
References fCurrPathLengthList.
|
virtual |
Implements genie::GeomAnalyzerI.
Definition at line 80 of file PointGeomAnalyzer.cxx.
References fCurrPathLengthList.
|
virtual |
Implements genie::GeomAnalyzerI.
Definition at line 89 of file PointGeomAnalyzer.cxx.
References fCurrVertex.
|
private |
Definition at line 97 of file PointGeomAnalyzer.cxx.
References fCurrPathLengthList, fCurrPDGCodeList, fCurrVertex, LOG, pNOTICE, and genie::PDGCodeList::push_back().
Referenced by PointGeomAnalyzer().
|
virtual |
Implements genie::GeomAnalyzerI.
Definition at line 64 of file PointGeomAnalyzer.cxx.
References fCurrPDGCodeList.
|
private |
current list of path-lengths
Definition at line 63 of file PointGeomAnalyzer.h.
Referenced by CleanUp(), ComputeMaxPathLengths(), ComputePathLengths(), and Initialize().
|
private |
current list of target nuclei
Definition at line 64 of file PointGeomAnalyzer.h.
Referenced by CleanUp(), Initialize(), and ListOfTargetNuclei().
|
private |
current generated vertex
Definition at line 62 of file PointGeomAnalyzer.h.
Referenced by CleanUp(), GenerateVertex(), and Initialize().