VertexGen_FastNeutron Class Reference
|
Ratpac-two
|
#include <VertexGen_FastNeutron.hh>
Public Member Functions | |
| VertexGen_FastNeutron (const char *arg_dbname="fastneutron") | |
| virtual | ~VertexGen_FastNeutron () |
| virtual void | GeneratePrimaryVertex (G4Event *argEvent, G4ThreeVector &dx, G4double dt) |
| virtual void | SetState (G4String newValues) |
| virtual G4String | GetState () |
| void | SetDepth (double DAm) |
| void | SetEnThreshold (double EAm) |
| void | SetSideBool (double SBAm) |
| double | GetDepth () |
| double | GetEnThreshold () |
| double | GetSideBool () |
| void | GetMeiHimeParameters (double depth, double emin, double &cosTheta, double &neutronEnergy) |
| void | LoadTangHortonSmithCosTheta (double depth) |
| double | GetRandomMuonCosTheta () |
| double | evalIntegral (TF2 *func1, double x, double e_tmp) |
Public Member Functions inherited from GLG4VertexGen | |
| GLG4VertexGen (const char *arg_dbname="vertex") | |
| virtual bool | ELimitable () |
| virtual void | LimitEnergies (double, double) |
| virtual double | EMaximum () |
| virtual double | EMinimum () |
Additional Inherited Members | |
Protected Attributes inherited from GLG4VertexGen | |
| G4String | _dbname |
Detailed Description
Vertex Generator - events for external fast neutron type
first version : 18-July-2008
This vertex generator was based on the template from Jeanne Wilson and adapted for external fast- neutrons. One of the assumption made is that the flux emmited from the wall follow the Mei and Hime formulation. A zeroth order assumption is that the neutron angle from the muon track are taken from the average muon direction which is (0,0,-1). This assumption will need to be revisited at a later stage.
Constructor & Destructor Documentation
◆ ~VertexGen_FastNeutron()
|
virtual |
Member Function Documentation
◆ GeneratePrimaryVertex()
|
virtual |
generate and add new vertex to this event. Position and time of vertex are offset from 0 by dx and dt. (These are usually derived from GLG4PosGen and GLG4TimeGen.)
Implements GLG4VertexGen.
◆ GetState()
|
virtual |
◆ SetDepth()
| void RAT::VertexGen_FastNeutron::SetDepth | ( | double | _tmpVal | ) |
Set up the FastNeutron array in memory - create normalised cumulative magnitude for easy
◆ SetState()
|
virtual |
set the state for generator. Format: pname specname where pname is the particle name, and specname is the database FastNeutron name
Implements GLG4VertexGen.
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/include/RAT/VertexGen_FastNeutron.hh
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/src/VertexGen_FastNeutron.cc
Generated by
Public Member Functions inherited from