VertexGen_Isotope Class Reference

Ratpac-two: RAT::VertexGen_Isotope Class Reference
Ratpac-two
RAT::VertexGen_Isotope Class Reference

#include <VertexGen_Isotope.hh>

Inheritance diagram for RAT::VertexGen_Isotope:
GLG4VertexGen

Public Member Functions

 VertexGen_Isotope (const char *arg_dbname="isotope")
 
virtual ~VertexGen_Isotope ()
 
virtual void GeneratePrimaryVertex (G4Event *argEvent, G4ThreeVector &dx, G4double dt)
 
virtual void SetState (G4String newValues)
 
virtual G4String GetState ()
 
void SetIsotopeA (double AAm=ADEFAULT)
 
void SetIsotopeZ (double ZAm=ZDEFAULT)
 
void SetIsotopeE (double EAm=EDEFAULT)
 
double GetIsotopeA ()
 
double GetIsotopeZ ()
 
double GetIsotopeE ()
 
- 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 of given particle (or ion) type, with energies sampled from Isotope via DB

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

This vertex generator (to be used in composite generators like combo of coincidence) produces isotropic particles or ions with kinetic energies sampled from a data-base defined distribution. An option to limit the range of the energy distribution is available

Constructor & Destructor Documentation

◆ ~VertexGen_Isotope()

RAT::VertexGen_Isotope::~VertexGen_Isotope ( )
virtual

Member Function Documentation

◆ GeneratePrimaryVertex()

void RAT::VertexGen_Isotope::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_Isotope::GetState ( )
virtual

return current state


Implements GLG4VertexGen.

◆ SetIsotopeA()

void RAT::VertexGen_Isotope::SetIsotopeA ( double  IBDAm = ADEFAULT)

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


◆ SetState()

void RAT::VertexGen_Isotope::SetState ( G4String  newValues)
virtual

set the state for generator. Format: pname specname where pname is the particle name, and specname is the database Isotope 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_Isotope.hh
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/src/VertexGen_Isotope.cc