Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PiMinusStopAl.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 // File name: G4PiMinusStopAl
27 //
28 // Author: Maria Grazia Pia (pia@genova.infn.it)
29 //
30 // Creation date: 8 May 1998
31 //
32 // -------------------------------------------------------------------
33 
34 #include "G4ios.hh"
35 
36 #include "G4PiMinusStopAl.hh"
37 
38 #include "globals.hh"
39 #include "Randomize.hh"
40 #include "G4Proton.hh"
41 #include "G4Neutron.hh"
42 #include "G4ParticleTypes.hh"
43 #include "G4ReactionKinematics.hh"
45 #include "G4LorentzVector.hh"
46 #include "G4PiMinusStopMaterial.hh"
48 
49 // np/pp production ratio
50 // Experimental values:
51 // R(np/pp) = average (E. Gadioli et al., Phys Rev C36 (1987) 741)
52 G4double G4PiMinusStopAl::npRatio = 4;
53 
54 // Average numbers of final nucleons detected, for N-pair absorption
55 // (R. Madey et al., Phys Rev C25 (1982) 3050
56 G4double G4PiMinusStopAl::nFinalNucleons = 1.67;
57 
58 // Kinetic energy (MeV) distributions measured for coincident nucleon
59 // emission
60 // (R. Madey et al., Phys Rev C25 (1982) 3050
61 
62 G4int G4PiMinusStopAl::eKinEntries = 10;
63 
64 G4double G4PiMinusStopAl::eKinData[10] = { 0.23, 0.58, 1.24, 1.52,
65  1.67,
66  1.52, 1.24, 0.95, 0.58, 0.23};
67 
68 G4double G4PiMinusStopAl::eKin[11] = { 5.2, 15., 27., 41.5,
69  49.6,
70  57.7, 79.3, 94.4, 114., 125., 140.};
71 
72 
73 // Opening angle distributions measured for coincident nucleon emission
74 // (P.Heusi et al., Nucl. Phys. A407 (1983) 429
75 
76 G4int G4PiMinusStopAl::angleEntries = 7;
77 
78 G4double G4PiMinusStopAl::angleData[7] =
79 { 1.43, 1.67, 2.62, 4.29, 7.62, 11.90, 14.76 };
80 
81 G4double G4PiMinusStopAl::angle[8] = { 1.308997, 1.570796, 1.832596, 2.094395,
82  2.356194, 2.617994, 2.967060, 3.1415927 };
83 
84 
85 
86 // Constructor
87 
89 
90 {
91  // Cluster size: nucleon pair, alpha, triton etc.
92  // First implementation: interaction with nucleon pair only
93  _clusterSize = 2;
94 
95  // R ratio
96  theR = 1. / (1. + npRatio);
97 
98  _definitions = new std::vector<G4ParticleDefinition*>();
99  _momenta = new std::vector<G4LorentzVector*>();
100 
101  std::vector<double> eKinVector;
102  std::vector<double> eKinDataVector;
103  int i;
104  for (i=0; i<eKinEntries; i++)
105  {
106  eKinVector.push_back(eKin[i]);
107  eKinDataVector.push_back(eKinData[i]);
108  }
109  eKinVector.push_back(eKin[eKinEntries]);
110  _distributionE = new G4DistributionGenerator(eKinVector,eKinDataVector);
111 
112  std::vector<double> angleVector;
113  std::vector<double> angleDataVector;
114  for (i=0; i<angleEntries; i++)
115  {
116  angleVector.push_back(angle[i]);
117  angleDataVector.push_back(angleData[i]);
118  }
119  angleVector.push_back(angle[angleEntries]);
120  _distributionAngle = new G4DistributionGenerator(angleVector,angleDataVector);
121 }
122 
123 
124 // Destructor
125 
127 {}
128 
130 {
131  return nFinalNucleons;
132 }
133