1 | // |
---|
2 | // ******************************************************************** |
---|
3 | // * License and Disclaimer * |
---|
4 | // * * |
---|
5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
7 | // * conditions of the Geant4 Software License, included in the file * |
---|
8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
9 | // * include a list of copyright holders. * |
---|
10 | // * * |
---|
11 | // * Neither the authors of this software system, nor their employing * |
---|
12 | // * institutes,nor the agencies providing financial support for this * |
---|
13 | // * work make any representation or warranty, express or implied, * |
---|
14 | // * regarding this software system or assume any liability for its * |
---|
15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
16 | // * for the full disclaimer and the limitation of liability. * |
---|
17 | // * * |
---|
18 | // * This code implementation is the result of the scientific and * |
---|
19 | // * technical work of the GEANT4 collaboration. * |
---|
20 | // * By using, copying, modifying or distributing the software (or * |
---|
21 | // * any work based on the software) you agree to acknowledge its * |
---|
22 | // * use in resulting scientific publications, and indicate your * |
---|
23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
24 | // ******************************************************************** |
---|
25 | // |
---|
26 | // |
---|
27 | // $Id: G4AntiNucleiConstructor.cc,v 1.1 2010/06/11 05:50:20 kurasige Exp $ |
---|
28 | // GEANT4 tag $Name: geant4-09-04-beta-01 $ |
---|
29 | // |
---|
30 | // |
---|
31 | // -------------------------------------------------------------- |
---|
32 | // GEANT 4 class implementation file |
---|
33 | // |
---|
34 | // first implementaion 11 June 2010 H.Kurashige |
---|
35 | // |
---|
36 | |
---|
37 | #include "G4ParticleTable.hh" |
---|
38 | #include "G4AntiNucleus.hh" |
---|
39 | #include "G4AntiNucleiConstructor.hh" |
---|
40 | #include "G4PhaseSpaceDecayChannel.hh" |
---|
41 | #include "G4DecayTable.hh" |
---|
42 | |
---|
43 | |
---|
44 | G4AntiNucleiConstructor::G4AntiNucleiConstructor() |
---|
45 | { |
---|
46 | } |
---|
47 | |
---|
48 | G4AntiNucleiConstructor::~G4AntiNucleiConstructor() |
---|
49 | { |
---|
50 | } |
---|
51 | |
---|
52 | void G4AntiNucleiConstructor::Construct() |
---|
53 | { |
---|
54 | // create particle |
---|
55 | // |
---|
56 | // Arguments for constructor are as follows |
---|
57 | // name mass width charge |
---|
58 | // 2*spin parity C-conjugation |
---|
59 | // 2*Isospin 2*Isospin3 G-parity |
---|
60 | // type lepton number baryon number PDG encoding |
---|
61 | // stable lifetime decay table |
---|
62 | // shortlived |
---|
63 | G4ParticleDefinition* p; |
---|
64 | |
---|
65 | // Deuteron |
---|
66 | p = new G4AntiNucleus( |
---|
67 | "anti_deuteron", 1.875613*GeV, 0.0*MeV, -1.0*eplus, |
---|
68 | 2, +1, 0, |
---|
69 | 0, 0, 0, |
---|
70 | "anti_nucleus", 0, -2, -1000010020, |
---|
71 | true, -1.0, NULL |
---|
72 | ); |
---|
73 | // Magnetic Moment |
---|
74 | G4double mN = eplus*hbar_Planck/2./(proton_mass_c2 /c_squared); |
---|
75 | p->SetPDGMagneticMoment( 0.857438230 * mN); |
---|
76 | |
---|
77 | //particle registeration |
---|
78 | p->SetAntiPDGEncoding(1000010020); |
---|
79 | |
---|
80 | |
---|
81 | // Triton |
---|
82 | p = new G4AntiNucleus( |
---|
83 | "anti_triton", 2.808921*GeV, 0.0*MeV, -1.0*eplus, |
---|
84 | 1, +1, 0, |
---|
85 | 0, 0, 0, |
---|
86 | "anti_nucleus", 0, -3, -1000010030, |
---|
87 | true, -1.0, NULL |
---|
88 | ); |
---|
89 | |
---|
90 | // Magnetic Moment |
---|
91 | mN = eplus*hbar_Planck/2./(proton_mass_c2 /c_squared); |
---|
92 | p->SetPDGMagneticMoment( 2.97896248 * mN); |
---|
93 | |
---|
94 | //particle registeration |
---|
95 | p->SetAntiPDGEncoding(1000010030); |
---|
96 | |
---|
97 | |
---|
98 | // He3 |
---|
99 | p = new G4AntiNucleus( |
---|
100 | "anti_He3", 2.808391*GeV, 0.0*MeV, -2.0*eplus, |
---|
101 | 1, +1, 0, |
---|
102 | 0, 0, 0, |
---|
103 | "anti_nucleus", 0, -3, -1000020030, |
---|
104 | true, -1.0, NULL |
---|
105 | ); |
---|
106 | |
---|
107 | // Magnetic Moment |
---|
108 | mN = eplus*hbar_Planck/2./(proton_mass_c2 /c_squared); |
---|
109 | p->SetPDGMagneticMoment( 2.97896248 * mN); |
---|
110 | |
---|
111 | //particle registeration |
---|
112 | p->SetAntiPDGEncoding(1000020030); |
---|
113 | |
---|
114 | // He4 (Alpha) |
---|
115 | p = new G4AntiNucleus( |
---|
116 | "anti_alpha", 3.727379*GeV, 0.0*MeV, -2.0*eplus, |
---|
117 | 0, +1, 0, |
---|
118 | 0, 0, 0, |
---|
119 | "anti_nucleus", 0, -4, -1000020040, |
---|
120 | true, -1.0, NULL |
---|
121 | ); |
---|
122 | |
---|
123 | // Magnetic Moment |
---|
124 | mN = eplus*hbar_Planck/2./(proton_mass_c2 /c_squared); |
---|
125 | p->SetPDGMagneticMoment( 2.97896248 * mN); |
---|
126 | |
---|
127 | //particle registeration |
---|
128 | p->SetAntiPDGEncoding(1000020040); |
---|
129 | |
---|
130 | } |
---|