VertexGen_FastNeutron Class Reference

Ratpac-two: RAT::VertexGen_FastNeutron Class Reference
Ratpac-two
RAT::VertexGen_FastNeutron Class Reference

#include <VertexGen_FastNeutron.hh>

Inheritance diagram for RAT::VertexGen_FastNeutron:
GLG4VertexGen

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

Author
Jeanne Wilson j.wil.nosp@m.son2.nosp@m.@phys.nosp@m.ics..nosp@m.ox.ac.nosp@m..uk

first version : 18-July-2008

Author
Marc Bergevin berge.nosp@m.vin1.nosp@m.@llnl.nosp@m..gov

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()

RAT::VertexGen_FastNeutron::~VertexGen_FastNeutron ( )
virtual

Member Function Documentation

◆ GeneratePrimaryVertex()

void RAT::VertexGen_FastNeutron::GeneratePrimaryVertex ( G4Event *  event,
G4ThreeVector &  dx,
G4double  dt 
)
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()

G4String RAT::VertexGen_FastNeutron::GetState ( )
virtual

return current state


Implements GLG4VertexGen.

◆ SetDepth()

void RAT::VertexGen_FastNeutron::SetDepth ( double  _tmpVal)

Set up the FastNeutron array in memory - create normalised cumulative magnitude for easy


◆ SetState()

void RAT::VertexGen_FastNeutron::SetState ( G4String  newValues)
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