ACTARSim
ACTAR TPC Simulation Reference Guide
Public Member Functions | Private Attributes | List of all members
ActarSimKinePrimGenerator Class Reference

Program to calculate relativistic kinematics of binary reaction

Definition at line 16 of file ActarSimKinePrimGenerator.hh.

Public Member Functions

 ActarSimKinePrimGenerator ()
 
 ~ActarSimKinePrimGenerator ()
 Destructor. More...
 
void SetMassOfProjectile (G4double value)
 
void SetMassOfTarget (G4double value)
 
void SetMassOfScattered (G4double value)
 
void SetMassOfRecoiled (G4double value)
 
void SetExEnergyOfProjectile (G4double value)
 
void SetExEnergyOfTarget (G4double value)
 
void SetExEnergyOfScattered (G4double value)
 
void SetExEnergyOfRecoiled (G4double value)
 
void SetLabEnergy (G4double value)
 
void SetThetaCMAngle (G4double value)
 
void SetANGAs (G4int place, G4double value)
 
void SetANGAr (G4int place, G4double value)
 
void SetNoSolution (G4bool value)
 
G4double GetMassOfProjectile (void)
 
G4double GetMassOfTarget (void)
 
G4double GetMassOfScattered (void)
 
G4double GetMassOfRecoiled (void)
 
G4double GetExEnergyOfProjectile (void)
 
G4double GetExEnergyOfTarget (void)
 
G4double GetExEnergyOfScattered (void)
 
G4double GetExEnergyOfRecoiled (void)
 
G4double GetLabEnergy (void)
 
G4double GetThetaCMAngle (void)
 
G4double GetANGAs (G4int place)
 
G4double GetANGAr (G4int place)
 
G4bool GetNoSolution (void)
 
void KineKinematics ()
 
void Dump ()
 Dump. More...
 
void PrintResults ()
 Print the results for each solution. More...
 

Private Attributes

G4double m1
 Mass0 of the incident particle. More...
 
G4double m2
 Mass0 of the target. More...
 
G4double m3
 Mass0 of the scattered particle. More...
 
G4double m4
 Mass0 of the recoil. More...
 
G4double ex1
 Excitation energy of the incident particle. More...
 
G4double ex2
 Excitation energy of the target. More...
 
G4double ex3
 Excitation energy of the scattered particle. More...
 
G4double ex4
 Excitation energy of the recoil. More...
 
G4double tb
 Incident energy (total Lab energy in MeV) More...
 
G4double thetacmsInput
 Theta CM angle of the scattered particle, in degrees. More...
 
G4double * ANGAs
 Lab angle and energy of scattered particle. More...
 
G4double * ANGAr
 Lab angle and energy of recoiled particle. More...
 
G4bool NoSolution
 Flag. More...
 

#include <ActarSimKinePrimGenerator.hh>

Constructor & Destructor Documentation

ActarSimKinePrimGenerator::ActarSimKinePrimGenerator ( )

Constructor

Original program needs the following data:

  • wm(4) -> masses in MeV (here we use Atomic mass unit u)
  • 1 -> beam
  • 2 -> target
  • 3 -> scattered particle
  • 4 -> recoil
  • tb -> incident energy in MeV (lab)
  • tetacmp -> angle of the scattered particle in cms (rad)

output:

  • ANGAs[0] -> angle of scattered particle (3) in lab (rad)
  • ANGAs[1] -> energy of scattered particle (3) in lab (MeV)
  • ANGAr[0] -> angle of recoiled particle (4) in lab (rad)
  • ANGAr[1] -> energy of recoiled particle (4) in lab (MeV)

Definition at line 38 of file ActarSimKinePrimGenerator.cc.

ActarSimKinePrimGenerator::~ActarSimKinePrimGenerator ( )

Destructor.

Definition at line 67 of file ActarSimKinePrimGenerator.cc.

Member Function Documentation

void ActarSimKinePrimGenerator::Dump ( )

Dump.

Definition at line 169 of file ActarSimKinePrimGenerator.cc.

Referenced by GetNoSolution().

G4double ActarSimKinePrimGenerator::GetANGAr ( G4int  place)
inline
G4double ActarSimKinePrimGenerator::GetANGAs ( G4int  place)
inline
G4double ActarSimKinePrimGenerator::GetExEnergyOfProjectile ( void  )
inline

Definition at line 61 of file ActarSimKinePrimGenerator.hh.

G4double ActarSimKinePrimGenerator::GetExEnergyOfRecoiled ( void  )
inline

Definition at line 64 of file ActarSimKinePrimGenerator.hh.

G4double ActarSimKinePrimGenerator::GetExEnergyOfScattered ( void  )
inline

Definition at line 63 of file ActarSimKinePrimGenerator.hh.

G4double ActarSimKinePrimGenerator::GetExEnergyOfTarget ( void  )
inline

Definition at line 62 of file ActarSimKinePrimGenerator.hh.

G4double ActarSimKinePrimGenerator::GetLabEnergy ( void  )
inline
G4double ActarSimKinePrimGenerator::GetMassOfProjectile ( void  )
inline

Definition at line 57 of file ActarSimKinePrimGenerator.hh.

G4double ActarSimKinePrimGenerator::GetMassOfRecoiled ( void  )
inline

Definition at line 60 of file ActarSimKinePrimGenerator.hh.

G4double ActarSimKinePrimGenerator::GetMassOfScattered ( void  )
inline

Definition at line 59 of file ActarSimKinePrimGenerator.hh.

G4double ActarSimKinePrimGenerator::GetMassOfTarget ( void  )
inline

Definition at line 58 of file ActarSimKinePrimGenerator.hh.

G4bool ActarSimKinePrimGenerator::GetNoSolution ( void  )
inline
G4double ActarSimKinePrimGenerator::GetThetaCMAngle ( void  )
inline
void ActarSimKinePrimGenerator::KineKinematics ( )

Reproduces the relativistic kinematics calculations from kin_cmlabf.f of M.S. Golovkov

Arguments:

  • masses: m1, m2, m3, m4 (for incident, target, scattered and recoil masses)
  • excitation energies: ex1, ex2, ex3, ex4
  • energies: Tb (lab energy in MeV)
  • angles: thetacmsInput (theta CM angle of the scattered particle in degree)

Output:

  • given in two vectors called ANGAs and ANGAr (scattered and recoiled particle) the elements are:
  • 0: Theta lab (in rad)
  • 1: ELAB (in MeV)

Definition at line 87 of file ActarSimKinePrimGenerator.cc.

Referenced by ActarSimPrimaryGeneratorAction::GeneratePrimaries(), and GetNoSolution().

void ActarSimKinePrimGenerator::PrintResults ( )

Print the results for each solution.

Definition at line 190 of file ActarSimKinePrimGenerator.cc.

Referenced by GetNoSolution().

void ActarSimKinePrimGenerator::SetANGAr ( G4int  place,
G4double  value 
)
inline

Definition at line 53 of file ActarSimKinePrimGenerator.hh.

void ActarSimKinePrimGenerator::SetANGAs ( G4int  place,
G4double  value 
)
inline

Definition at line 52 of file ActarSimKinePrimGenerator.hh.

void ActarSimKinePrimGenerator::SetExEnergyOfProjectile ( G4double  value)
inline
void ActarSimKinePrimGenerator::SetExEnergyOfRecoiled ( G4double  value)
inline
void ActarSimKinePrimGenerator::SetExEnergyOfScattered ( G4double  value)
inline
void ActarSimKinePrimGenerator::SetExEnergyOfTarget ( G4double  value)
inline
void ActarSimKinePrimGenerator::SetLabEnergy ( G4double  value)
inline
void ActarSimKinePrimGenerator::SetMassOfProjectile ( G4double  value)
inline
void ActarSimKinePrimGenerator::SetMassOfRecoiled ( G4double  value)
inline
void ActarSimKinePrimGenerator::SetMassOfScattered ( G4double  value)
inline
void ActarSimKinePrimGenerator::SetMassOfTarget ( G4double  value)
inline
void ActarSimKinePrimGenerator::SetNoSolution ( G4bool  value)
inline

Definition at line 55 of file ActarSimKinePrimGenerator.hh.

void ActarSimKinePrimGenerator::SetThetaCMAngle ( G4double  value)
inline

Member Data Documentation

G4double* ActarSimKinePrimGenerator::ANGAr
private

Lab angle and energy of recoiled particle.

Definition at line 32 of file ActarSimKinePrimGenerator.hh.

G4double* ActarSimKinePrimGenerator::ANGAs
private

Lab angle and energy of scattered particle.

Definition at line 31 of file ActarSimKinePrimGenerator.hh.

G4double ActarSimKinePrimGenerator::ex1
private

Excitation energy of the incident particle.

Definition at line 22 of file ActarSimKinePrimGenerator.hh.

Referenced by GetExEnergyOfProjectile().

G4double ActarSimKinePrimGenerator::ex2
private

Excitation energy of the target.

Definition at line 23 of file ActarSimKinePrimGenerator.hh.

Referenced by GetExEnergyOfTarget().

G4double ActarSimKinePrimGenerator::ex3
private

Excitation energy of the scattered particle.

Definition at line 24 of file ActarSimKinePrimGenerator.hh.

Referenced by GetExEnergyOfScattered().

G4double ActarSimKinePrimGenerator::ex4
private

Excitation energy of the recoil.

Definition at line 25 of file ActarSimKinePrimGenerator.hh.

Referenced by GetExEnergyOfRecoiled().

G4double ActarSimKinePrimGenerator::m1
private

Mass0 of the incident particle.

Definition at line 18 of file ActarSimKinePrimGenerator.hh.

Referenced by GetMassOfProjectile().

G4double ActarSimKinePrimGenerator::m2
private

Mass0 of the target.

Definition at line 19 of file ActarSimKinePrimGenerator.hh.

Referenced by GetMassOfTarget().

G4double ActarSimKinePrimGenerator::m3
private

Mass0 of the scattered particle.

Definition at line 20 of file ActarSimKinePrimGenerator.hh.

Referenced by GetMassOfScattered().

G4double ActarSimKinePrimGenerator::m4
private

Mass0 of the recoil.

Definition at line 21 of file ActarSimKinePrimGenerator.hh.

Referenced by GetMassOfRecoiled().

G4bool ActarSimKinePrimGenerator::NoSolution
private

Flag.

Definition at line 33 of file ActarSimKinePrimGenerator.hh.

Referenced by GetNoSolution().

G4double ActarSimKinePrimGenerator::tb
private

Incident energy (total Lab energy in MeV)

Definition at line 27 of file ActarSimKinePrimGenerator.hh.

Referenced by GetLabEnergy().

G4double ActarSimKinePrimGenerator::thetacmsInput
private

Theta CM angle of the scattered particle, in degrees.

Definition at line 29 of file ActarSimKinePrimGenerator.hh.

Referenced by GetThetaCMAngle().


The documentation for this class was generated from the following files: