Geant4  10.01.p03
G4MuonMinusBoundDecay.cc
Go to the documentation of this file.
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 // $Id: G4MuonMinusBoundDecay.cc 88993 2015-03-17 11:17:13Z gcosmo $
27 //
28 //-----------------------------------------------------------------------------
29 //
30 // GEANT4 Class header file
31 //
32 // File name: G4MuonMinusBoundDecay
33 //
34 // Author: V.Ivanchenko (Vladimir.Ivantchenko@cern.ch)
35 //
36 // Creation date: 24 April 2012 on base of G4MuMinusCaptureAtRest
37 //
38 // Modified:
39 // 04/23/2013 K.Genser Fixed a constant in computation of lambda
40 // as suggested by J P Miller/Y Oksuzian;
41 // Optimized and corrected lambda calculation/lookup
42 // 04/30/2013 K.Genser Improved GetMuonCaptureRate extended data and lookup
43 // to take both Z & A into account
44 // Improved GetMuonDecayRate by using Zeff instead of Z
45 // Extracted Zeff into GetMuonZeff
46 //
47 //----------------------------------------------------------------------
48 
49 #include "G4MuonMinusBoundDecay.hh"
50 #include "Randomize.hh"
51 #include "G4RandomDirection.hh"
52 #include "G4PhysicalConstants.hh"
53 #include "G4SystemOfUnits.hh"
54 #include "G4ThreeVector.hh"
55 #include "G4MuonMinus.hh"
56 #include "G4Electron.hh"
57 #include "G4NeutrinoMu.hh"
58 #include "G4AntiNeutrinoE.hh"
59 
60 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
61 
63  : G4HadronicInteraction("muMinusBoundDeacy")
64 {
66 }
67 
68 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
69 
71 {}
72 
73 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
74 
77  G4Nucleus& targetNucleus)
78 {
79  result.Clear();
80  G4int Z = targetNucleus.GetZ_asInt();
81  G4int A = targetNucleus.GetA_asInt();
82 
83  // Decide on Decay or Capture, and doit.
84  G4double lambdac = GetMuonCaptureRate(Z, A);
85  G4double lambdad = GetMuonDecayRate(Z);
86  G4double lambda = lambdac + lambdad;
87 
88  // === sample capture time and change time of projectile
89  // === this is needed for the case when bound decay is not happen
90  // === but muon is capruted by the nucleus with some delay
91 
92  G4HadProjectile* p = const_cast<G4HadProjectile*>(&projectile);
93  G4double time = p->GetGlobalTime() - std::log(G4UniformRand())/lambda;
94  p->SetGlobalTime(time);
95 
96  //G4cout << "lambda= " << lambda << " lambdac= " << lambdac
97  //<< " t= " << time << G4endl;
98 
99  // cascade
100  if( G4UniformRand()*lambda < lambdac) {
102 
103  } else {
104 
105  // Simulation on Decay of mu- on a K-shell of the muonic atom
107  G4double xmax = 1 + electron_mass_c2*electron_mass_c2/(fMuMass*fMuMass);
108  G4double xmin = 2.0*electron_mass_c2/fMuMass;
109  G4double KEnergy = projectile.GetBoundEnergy();
110 
111  /*
112  G4cout << "G4MuonMinusBoundDecay::ApplyYourself"
113  << " XMAX= " << xmax << " Ebound= " << KEnergy<< G4endl;
114  */
115  G4double pmu = std::sqrt(KEnergy*(KEnergy + 2.0*fMuMass));
116  G4double emu = KEnergy + fMuMass;
118  G4LorentzVector MU(pmu*dir, emu);
119  G4ThreeVector bst = MU.boostVector();
120 
121  G4double Eelect, Pelect, x, ecm;
122  G4LorentzVector EL, NN;
123  // Calculate electron energy
124  // these do/while loops are safe
125  do {
126  do {
127  x = xmin + (xmax-xmin)*G4UniformRand();
128  } while (G4UniformRand() > (3.0 - 2.0*x)*x*x );
129  Eelect = x*fMuMass*0.5;
130  Pelect = 0.0;
131  if(Eelect > electron_mass_c2) {
132  Pelect = std::sqrt(Eelect*Eelect - electron_mass_c2*electron_mass_c2);
133  } else {
134  Pelect = 0.0;
135  Eelect = electron_mass_c2;
136  }
137  dir = G4RandomDirection();
138  EL = G4LorentzVector(Pelect*dir,Eelect);
139  EL.boost(bst);
140  Eelect = EL.e() - electron_mass_c2 - 2.0*KEnergy;
141  //
142  // Calculate rest frame parameters of 2 neutrinos
143  //
144  NN = MU - EL;
145  ecm = NN.mag2();
146  } while (Eelect < 0.0 || ecm < 0.0);
147 
148  //
149  // Create electron
150  //
152  EL.vect().unit(),
153  Eelect);
154 
155  AddNewParticle(dp, time);
156  //
157  // Create Neutrinos
158  //
159  ecm = 0.5*std::sqrt(ecm);
160  bst = NN.boostVector();
162  G4LorentzVector N1 = G4LorentzVector(p1,ecm);
163  N1.boost(bst);
165  AddNewParticle(dp, time);
166  NN -= N1;
168  AddNewParticle(dp, time);
169  }
170  return &result;
171 }
172 
173 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
174 
176 {
177 
178  // Initialize data
179 
180  // Mu- capture data from
181  // T. Suzuki, D. F. Measday, J.P. Roalsvig Phys.Rev. C35 (1987) 2212
182  // weighted average of the two most precise measurements
183 
184  // Data for Hydrogen from Phys. Rev. Lett. 99(2007)032002
185  // Data for Helium from D.F. Measday Phys. Rep. 354(2001)243
186 
187  struct capRate {
188  G4int Z;
189  G4int A;
190  G4double cRate;
191  G4double cRErr;
192  };
193 
194  // this struct has to be sorted by Z when initialized as we exit the
195  // loop once Z is above the stored value; cRErr are not used now but
196  // are included for completeness and future use
197 
198  const capRate capRates [] = {
199  { 1, 1, 0.000725, 0.000017 },
200  { 2, 3, 0.002149, 0.00017 },
201  { 2, 4, 0.000356, 0.000026 },
202  { 3, 6, 0.004647, 0.00012 },
203  { 3, 7, 0.002229, 0.00012 },
204  { 4, 9, 0.006107, 0.00019 },
205  { 5, 10, 0.02757 , 0.00063 },
206  { 5, 11, 0.02188 , 0.00064 },
207  { 6, 12, 0.03807 , 0.00031 },
208  { 6, 13, 0.03474 , 0.00034 },
209  { 7, 14, 0.06885 , 0.00057 },
210  { 8, 16, 0.10242 , 0.00059 },
211  { 8, 18, 0.0880 , 0.0015 },
212  { 9, 19, 0.22905 , 0.00099 },
213  { 10, 20, 0.2288 , 0.0045 },
214  { 11, 23, 0.3773 , 0.0014 },
215  { 12, 24, 0.4823 , 0.0013 },
216  { 13, 27, 0.6985 , 0.0012 },
217  { 14, 28, 0.8656 , 0.0015 },
218  { 15, 31, 1.1681 , 0.0026 },
219  { 16, 32, 1.3510 , 0.0029 },
220  { 17, 35, 1.800 , 0.050 },
221  { 17, 37, 1.250 , 0.050 },
222  { 18, 40, 1.2727 , 0.0650 },
223  { 19, 39, 1.8492 , 0.0050 },
224  { 20, 40, 2.5359 , 0.0070 },
225  { 21, 45, 2.711 , 0.025 },
226  { 22, 48, 2.5908 , 0.0115 },
227  { 23, 51, 3.073 , 0.022 },
228  { 24, 50, 3.825 , 0.050 },
229  { 24, 52, 3.465 , 0.026 },
230  { 24, 53, 3.297 , 0.045 },
231  { 24, 54, 3.057 , 0.042 },
232  { 25, 55, 3.900 , 0.030 },
233  { 26, 56, 4.408 , 0.022 },
234  { 27, 59, 4.945 , 0.025 },
235  { 28, 58, 6.11 , 0.10 },
236  { 28, 60, 5.56 , 0.10 },
237  { 28, 62, 4.72 , 0.10 },
238  { 29, 63, 5.691 , 0.030 },
239  { 30, 66, 5.806 , 0.031 },
240  { 31, 69, 5.700 , 0.060 },
241  { 32, 72, 5.561 , 0.031 },
242  { 33, 75, 6.094 , 0.037 },
243  { 34, 80, 5.687 , 0.030 },
244  { 35, 79, 7.223 , 0.28 },
245  { 35, 81, 7.547 , 0.48 },
246  { 37, 85, 6.89 , 0.14 },
247  { 38, 88, 6.93 , 0.12 },
248  { 39, 89, 7.89 , 0.11 },
249  { 40, 91, 8.620 , 0.053 },
250  { 41, 93, 10.38 , 0.11 },
251  { 42, 96, 9.298 , 0.063 },
252  { 45, 103, 10.010 , 0.045 },
253  { 46, 106, 10.000 , 0.070 },
254  { 47, 107, 10.869 , 0.095 },
255  { 48, 112, 10.624 , 0.094 },
256  { 49, 115, 11.38 , 0.11 },
257  { 50, 119, 10.60 , 0.11 },
258  { 51, 121, 10.40 , 0.12 },
259  { 52, 128, 9.174 , 0.074 },
260  { 53, 127, 11.276 , 0.098 },
261  { 55, 133, 10.98 , 0.25 },
262  { 56, 138, 10.112 , 0.085 },
263  { 57, 139, 10.71 , 0.10 },
264  { 58, 140, 11.501 , 0.087 },
265  { 59, 141, 13.45 , 0.13 },
266  { 60, 144, 12.35 , 0.13 },
267  { 62, 150, 12.22 , 0.17 },
268  { 64, 157, 12.00 , 0.13 },
269  { 65, 159, 12.73 , 0.13 },
270  { 66, 163, 12.29 , 0.18 },
271  { 67, 165, 12.95 , 0.13 },
272  { 68, 167, 13.04 , 0.27 },
273  { 72, 178, 13.03 , 0.21 },
274  { 73, 181, 12.86 , 0.13 },
275  { 74, 184, 12.76 , 0.16 },
276  { 79, 197, 13.35 , 0.10 },
277  { 80, 201, 12.74 , 0.18 },
278  { 81, 205, 13.85 , 0.17 },
279  { 82, 207, 13.295 , 0.071 },
280  { 83, 209, 13.238 , 0.065 },
281  { 90, 232, 12.555 , 0.049 },
282  { 92, 238, 12.592 , 0.035 },
283  { 92, 233, 14.27 , 0.15 },
284  { 92, 235, 13.470 , 0.085 },
285  { 92, 236, 13.90 , 0.40 },
286  { 93, 237, 13.58 , 0.18 },
287  { 94, 239, 13.90 , 0.20 },
288  { 94, 242, 12.86 , 0.19 }
289  };
290 
291  G4double lambda = -1.;
292 
293  size_t nCapRates = sizeof(capRates)/sizeof(capRates[0]);
294  for (size_t j = 0; j < nCapRates; ++j) {
295  if( capRates[j].Z == Z && capRates[j].A == A ) {
296  lambda = capRates[j].cRate / microsecond;
297  break;
298  }
299  // make sure the data is sorted for the next statement to work correctly
300  if (capRates[j].Z > Z) {break;}
301  }
302 
303  if (lambda < 0.) {
304 
305  // == Mu capture lifetime (Goulard and Primakoff PRC10(1974)2034.
306 
307  const G4double b0a = -0.03;
308  const G4double b0b = -0.25;
309  const G4double b0c = 3.24;
310  const G4double t1 = 875.e-9; // -10-> -9 suggested by user
311  G4double r1 = GetMuonZeff(Z);
312  G4double zeff2 = r1 * r1;
313 
314  // ^-4 -> ^-5 suggested by user
315  G4double xmu = zeff2 * 2.663e-5;
316  G4double a2ze = 0.5 *G4double(A) / G4double(Z);
317  G4double r2 = 1.0 - xmu;
318  lambda = t1 * zeff2 * zeff2 * (r2 * r2) * (1.0 - (1.0 - xmu) * .75704) *
319  (a2ze * b0a + 1.0 - (a2ze - 1.0) * b0b -
320  G4double(2 * (A - Z) + std::fabs(a2ze - 1.) ) * b0c / G4double(A * 4) );
321 
322  }
323 
324  return lambda;
325 
326 }
327 
328 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
329 
330 
332 {
333 
334  // == Effective charges from
335  // "Total Nuclear Capture Rates for Negative Muons"
336  // T. Suzuki, D. F. Measday, J.P. Roalsvig Phys.Rev. C35 (1987) 2212
337  // and if not present from
338  // Ford and Wills Nucl Phys 35(1962)295 or interpolated
339 
340 
341  const size_t maxZ = 100;
342  const G4double zeff[maxZ+1] =
343  { 0.,
344  1.00, 1.98, 2.94, 3.89, 4.81, 5.72, 6.61, 7.49, 8.32, 9.14,
345  9.95,10.69,11.48,12.22,12.90,13.64,14.24,14.89,15.53,16.15,
346  16.77,17.38,18.04,18.49,19.06,19.59,20.13,20.66,21.12,21.61,
347  22.02,22.43,22.84,23.24,23.65,24.06,24.47,24.85,25.23,25.61,
348  25.99,26.37,26.69,27.00,27.32,27.63,27.95,28.20,28.42,28.64,
349  28.79,29.03,29.27,29.51,29.75,29.99,30.22,30.36,30.53,30.69,
350  30.85,31.01,31.18,31.34,31.48,31.62,31.76,31.90,32.05,32.19,
351  32.33,32.47,32.61,32.76,32.94,33.11,33.29,33.46,33.64,33.81,
352  34.21,34.18,34.00,34.10,34.21,34.31,34.42,34.52,34.63,34.73,
353  34.84,34.94,35.05,35.16,35.25,35.36,35.46,35.57,35.67,35.78 };
354 
355  if (Z<0) {Z=0;}
356  if (Z>G4int(maxZ)) {Z=maxZ;}
357 
358  return zeff[Z];
359 
360 }
361 
362 
364 {
365  // Decay time on K-shell
366  // N.C.Mukhopadhyay Phys. Rep. 30 (1977) 1.
367 
368  // this is the "small Z" approximation formula (2.9)
369  // Lambda(bound)/Lambda(free) = 1-beta(Z*alpha)**2 with beta~=2.5
370  // we assume that Z is Zeff
371 
372  // PDG 2012 muon lifetime value is 2.1969811(22) 10e-6s
373  // which when inverted gives 0.45517005 10e+6/s
374 
375  struct decRate {
376  G4int Z;
377  G4double dRate;
378  G4double dRErr;
379  };
380 
381  // this struct has to be sorted by Z when initialized as we exit the
382  // loop once Z is above the stored value
383 
384  const decRate decRates [] = {
385  { 1, 0.4558514, 0.0000151 }
386  };
387 
388  G4double lambda = -1.;
389 
390  // size_t nDecRates = sizeof(decRates)/sizeof(decRates[0]);
391  // for (size_t j = 0; j < nDecRates; ++j) {
392  // if( decRates[j].Z == Z ) {
393  // lambda = decRates[j].dRate / microsecond;
394  // break;
395  // }
396  // // make sure the data is sorted for the next statement to work
397  // if (decRates[j].Z > Z) {break;}
398  // }
399 
400  // we'll use the above code once we have more data
401  // since we only have one value we just assign it
402  if (Z == 1) {lambda = decRates[0].dRate/microsecond;}
403 
404  if (lambda < 0.) {
405  const G4double freeMuonDecayRate = 0.45517005 / microsecond;
406  lambda = 1.0;
407  G4double x = GetMuonZeff(Z)*fine_structure_const;
408  lambda -= 2.5 * x * x;
409  lambda *= freeMuonDecayRate;
410  }
411 
412  return lambda;
413 
414 }
415 
416 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
417 
418 void G4MuonMinusBoundDecay::ModelDescription(std::ostream& outFile) const
419 {
420  outFile << "Sample probabilities of mu- nuclear capture of decay"
421  << " from K-shell orbit.\n"
422  << " Time of projectile is changed taking into account life time"
423  << " of muonic atom.\n"
424  << " If decay is sampled primary state become stopAndKill,"
425  << " else - isAlive.\n"
426  << " Based of reviews:\n"
427  << " N.C.Mukhopadhyay Phy. Rep. 30 (1977) 1.\n"
428  << " T. Suzuki, D. F. Measday, J.P. Roalsvig Phys.Rev. C35 (1987) 2212\n";
429 
430 }
431 
432 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
433 
G4int GetA_asInt() const
Definition: G4Nucleus.hh:109
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)
CLHEP::Hep3Vector G4ThreeVector
void ModelDescription(std::ostream &outFile) const
void SetGlobalTime(G4double t)
G4ThreeVector G4RandomDirection()
int G4int
Definition: G4Types.hh:78
void SetStatusChange(G4HadFinalStateStatus aS)
static const double microsecond
Definition: G4SIunits.hh:141
static G4AntiNeutrinoE * AntiNeutrinoE()
static G4double GetMuonZeff(G4int Z)
#define G4UniformRand()
Definition: Randomize.hh:93
static G4NeutrinoMu * NeutrinoMu()
Definition: G4NeutrinoMu.cc:85
G4double GetBoundEnergy() const
const G4double p1
G4double GetGlobalTime() const
static const G4double A[nN]
void AddNewParticle(G4DynamicParticle *dp, G4double time)
G4double GetPDGMass() const
G4int GetZ_asInt() const
Definition: G4Nucleus.hh:115
static G4MuonMinus * MuonMinus()
Definition: G4MuonMinus.cc:100
static G4Electron * Electron()
Definition: G4Electron.cc:94
double G4double
Definition: G4Types.hh:76
static G4double GetMuonDecayRate(G4int Z)
static G4double GetMuonCaptureRate(G4int Z, G4int A)
CLHEP::HepLorentzVector G4LorentzVector