ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimKinePrimGenerator.hh
Go to the documentation of this file.
1 // - AUTHOR: M.S. Golovkov/Pang Danyang 02/2008
2 /******************************************************************
3  * Copyright (C) 2005-2016, Hector Alvarez-Pol *
4  * All rights reserved. *
5  * *
6  * License according to GNU LESSER GPL (see lgpl-3.0.txt). *
7  * For the list of contributors see CREDITS. *
8  ******************************************************************/
9 
10 #ifndef ActarSimKinePrimGenerator_h
11 #define ActarSimKinePrimGenerator_h 1
12 
13 #include "G4ThreeVector.hh"
14 #include "globals.hh"
15 
17 private:
18  G4double m1; ///< Mass0 of the incident particle
19  G4double m2; ///< Mass0 of the target
20  G4double m3; ///< Mass0 of the scattered particle
21  G4double m4; ///< Mass0 of the recoil
22  G4double ex1; ///< Excitation energy of the incident particle
23  G4double ex2; ///< Excitation energy of the target
24  G4double ex3; ///< Excitation energy of the scattered particle
25  G4double ex4; ///< Excitation energy of the recoil
26 
27  G4double tb; ///< Incident energy (total Lab energy in MeV)
28 
29  G4double thetacmsInput; ///< Theta CM angle of the scattered particle, in degrees
30 
31  G4double* ANGAs; ///< Lab angle and energy of scattered particle
32  G4double* ANGAr; ///< Lab angle and energy of recoiled particle
33  G4bool NoSolution; ///< Flag
34 
35 public:
38 
39  void SetMassOfProjectile(G4double value){m1 = value;}
40  void SetMassOfTarget(G4double value){m2 = value;}
41  void SetMassOfScattered(G4double value){m3 = value;}
42  void SetMassOfRecoiled(G4double value){m4 = value;}
43  void SetExEnergyOfProjectile(G4double value){ex1 = value;}
44  void SetExEnergyOfTarget(G4double value){ex2 = value;}
45  void SetExEnergyOfScattered(G4double value){ex3 = value;}
46  void SetExEnergyOfRecoiled(G4double value){ex4 = value;}
47 
48  void SetLabEnergy(G4double value){tb = value;}
49 
50  void SetThetaCMAngle(G4double value){thetacmsInput = value;}
51 
52  void SetANGAs(G4int place, G4double value){ANGAs[place] = value;}
53  void SetANGAr(G4int place, G4double value){ANGAr[place] = value;}
54 
55  void SetNoSolution(G4bool value){NoSolution=value;}
56 
57  G4double GetMassOfProjectile(void){return m1;}
58  G4double GetMassOfTarget(void){return m2;}
59  G4double GetMassOfScattered(void){return m3;}
60  G4double GetMassOfRecoiled(void){return m4;}
61  G4double GetExEnergyOfProjectile(void){return ex1;}
62  G4double GetExEnergyOfTarget(void){return ex2;}
63  G4double GetExEnergyOfScattered(void){return ex3;}
64  G4double GetExEnergyOfRecoiled(void){return ex4;}
65 
66  G4double GetLabEnergy(void){return tb;}
67 
68  G4double GetThetaCMAngle(void){return thetacmsInput;}
69 
70  G4double GetANGAs(G4int place){return ANGAs[place];}
71  G4double GetANGAr(G4int place){return ANGAr[place];}
72 
73  G4bool GetNoSolution(void){return NoSolution;}
74 
75  void KineKinematics();
76 
77  void Dump();
78 
79  void PrintResults();
80 };
81 #endif
void SetMassOfScattered(G4double value)
void SetMassOfRecoiled(G4double value)
void SetExEnergyOfScattered(G4double value)
void SetExEnergyOfRecoiled(G4double value)
G4double m2
Mass0 of the target.
G4double ex1
Excitation energy of the incident particle.
void SetExEnergyOfTarget(G4double value)
G4double ex2
Excitation energy of the target.
void SetANGAr(G4int place, G4double value)
G4double m1
Mass0 of the incident particle.
G4double * ANGAs
Lab angle and energy of scattered particle.
G4double ex3
Excitation energy of the scattered particle.
void SetExEnergyOfProjectile(G4double value)
G4double m4
Mass0 of the recoil.
void PrintResults()
Print the results for each solution.
G4double ex4
Excitation energy of the recoil.
G4double m3
Mass0 of the scattered particle.
G4double tb
Incident energy (total Lab energy in MeV)
G4double thetacmsInput
Theta CM angle of the scattered particle, in degrees.
void SetMassOfProjectile(G4double value)
G4double * ANGAr
Lab angle and energy of recoiled particle.
void SetANGAs(G4int place, G4double value)