ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimCinePrimGenerator.hh
Go to the documentation of this file.
1 // - AUTHOR: Wolfgang Mittig (translated to C++: Hector Alvarez-Pol 11/2005)
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 ActarSimCinePrimGenerator_h
11 #define ActarSimCinePrimGenerator_h 1
12 
13 #include "G4ThreeVector.hh"
14 #include "globals.hh"
15 
17 private:
18  G4double S1; ///< Mass of the incident particle
19  G4double S2; ///< Mass of the target
20  G4double S3; ///< Mass of the scattered particle
21  G4double S4; ///< Mass of the recoil
22 
23  G4double QM; ///< Reaction Q
24 
25  G4double TH; ///< Theta Lab angle
26 
27  G4double EI; ///< LAB energy (total Lab energy in MeV)
28  G4double EN; ///< Target excitation energy (positive)
29  G4double ENI; ///< Projectile excitation energy (positive)
30 
31  G4double* ANGAV; ///< First solution vector
32  G4double* ANGAR; ///< Second solution vector
33 
34 public:
37 
38  void SetS1(G4double value){S1 = value;}
39  void SetS2(G4double value){S2 = value;}
40  void SetS3(G4double value){S3 = value;}
41  void SetS4(G4double value){S4 = value;}
42  void SetQM(G4double value){QM = value;}
43  void SetEI(G4double value){EI = value;}
44  void SetEN(G4double value){EN = value;}
45  void SetENI(G4double value){ENI = value;}
46  void SetANGAV(G4int place, G4double value){ANGAV[place] = value;}
47  void SetANGAR(G4int place, G4double value){ANGAR[place] = value;}
48  void SetIncidentMass(G4double value){S1 = value;}
49  void SetTargetMass(G4double value){S2 = value;}
50  void SetScatteredMass(G4double value){S3 = value;}
51  void SetRecoilMass(G4double value){S4 = value;}
52  void SetReactionQ(G4double value){QM = value;}
53  void SetLabEnergy(G4double value){EI = value;}
54  void SetTargetExcitationEnergy(G4double value){EN = value;}
55  void SetProjectileExcitationEnergy(G4double value){ENI = value;}
56  void SetThetaLabAngle(G4double value){TH = value;}
57 
58  G4double GetS1(void){return S1;}
59  G4double GetS2(void){return S2;}
60  G4double GetS3(void){return S3;}
61  G4double GetS4(void){return S4;}
62  G4double GetQM(void){return QM;}
63  G4double GetEI(void){return EI;}
64  G4double GetEN(void){return EN;}
65  G4double GetENI(void){return ENI;}
66  G4double GetANGAV(G4int place){return ANGAV[place];}
67  G4double GetANGAR(G4int place){return ANGAR[place];}
68  G4double GetThetaLabAngle(void){return TH;}
69 
71 
72  void Dump();
73 
74  void printResults(G4int sel);
75 };
76 #endif
G4double S1
Mass of the incident particle.
G4double EI
LAB energy (total Lab energy in MeV)
G4double S4
Mass of the recoil.
G4double * ANGAV
First solution vector.
void Dump()
Dump the status of the variables.
G4double * ANGAR
Second solution vector.
G4double TH
Theta Lab angle.
void SetTargetExcitationEnergy(G4double value)
void printResults(G4int sel)
Print the results for each solution.
G4double S2
Mass of the target.
void SetANGAV(G4int place, G4double value)
void SetANGAR(G4int place, G4double value)
G4double ENI
Projectile excitation energy (positive)
G4double EN
Target excitation energy (positive)
void SetProjectileExcitationEnergy(G4double value)
G4double S3
Mass of the scattered particle.