[819] | 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: G4PiMinusStopN |
---|
| 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 "G4PiMinusStopN.hh" |
---|
| 37 | |
---|
| 38 | #include <vector> |
---|
| 39 | |
---|
| 40 | #include "globals.hh" |
---|
| 41 | #include "Randomize.hh" |
---|
| 42 | #include "G4Proton.hh" |
---|
| 43 | #include "G4Neutron.hh" |
---|
| 44 | #include "G4ParticleTypes.hh" |
---|
| 45 | #include "G4ReactionKinematics.hh" |
---|
| 46 | #include "G4DynamicParticleVector.hh" |
---|
| 47 | #include "G4LorentzVector.hh" |
---|
| 48 | #include "G4NucleiPropertiesTable.hh" |
---|
| 49 | #include "G4PiMinusStopMaterial.hh" |
---|
| 50 | #include "G4DistributionGenerator.hh" |
---|
| 51 | |
---|
| 52 | // np/pp production ratio |
---|
| 53 | // Experimental values: |
---|
| 54 | // R(np/pp) = 6.3 +- 1.4 (R. Madey et al., Phys Rev C25 (1982) 3050 |
---|
| 55 | G4double G4PiMinusStopN::npRatio = 6.3; |
---|
| 56 | |
---|
| 57 | // Average numbers of final nucleons detected, for N-pair absorption |
---|
| 58 | // (R. Madey et al., Phys Rev C25 (1982) 3050 |
---|
| 59 | G4double G4PiMinusStopN::nFinalNucleons = 1.76; |
---|
| 60 | |
---|
| 61 | // Kinetic energy (MeV) distributions measured for coincident nucleon |
---|
| 62 | // emission |
---|
| 63 | // P. Heusi et al., Nucl. Phys. A407(1983) 429 |
---|
| 64 | |
---|
| 65 | G4int G4PiMinusStopN::eKinEntries = 10; |
---|
| 66 | |
---|
| 67 | G4double G4PiMinusStopN::eKinData[10] = { 0.24, 1.08, 1.46, 1.69, |
---|
| 68 | 1.79, |
---|
| 69 | 1.69, 1.46, 1.08, 0.62, 0.24}; |
---|
| 70 | |
---|
| 71 | G4double G4PiMinusStopN::eKin[11] = { 5.2, 15., 27., 41.5, |
---|
| 72 | 49.6, |
---|
| 73 | 57.7, 79.3, 94.4, 114., 125., 140.}; |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | // Opening angle distributions measured for coincident nucleon emission |
---|
| 77 | // (P.Heusi et al., Nucl. Phys. A407 (1983) 429 |
---|
| 78 | |
---|
| 79 | G4int G4PiMinusStopN::angleEntries = 7; |
---|
| 80 | |
---|
| 81 | G4double G4PiMinusStopN::angleData[7] = |
---|
| 82 | { 1.43, 1.67, 2.62, 4.29, 7.62, 11.90, 14.76 }; |
---|
| 83 | |
---|
| 84 | G4double G4PiMinusStopN::angle[8] = { 1.308997, 1.570796, 1.832596, 2.094395, |
---|
| 85 | 2.356194, 2.617994, 2.967060, 3.1415927 }; |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | // Constructor |
---|
| 90 | |
---|
| 91 | G4PiMinusStopN::G4PiMinusStopN() |
---|
| 92 | |
---|
| 93 | { |
---|
| 94 | // Cluster size: nucleon pair, alpha, triton etc. |
---|
| 95 | // First implementation: interaction with nucleon pair only |
---|
| 96 | _clusterSize = 2; |
---|
| 97 | |
---|
| 98 | // R ratio |
---|
| 99 | theR = 1. / (1. + npRatio); |
---|
| 100 | |
---|
| 101 | _definitions = new std::vector<G4ParticleDefinition*>(); |
---|
| 102 | _momenta = new std::vector<G4LorentzVector*>(); |
---|
| 103 | |
---|
| 104 | std::vector<double> eKinVector; |
---|
| 105 | std::vector<double> eKinDataVector; |
---|
| 106 | int i; |
---|
| 107 | for (i=0; i<eKinEntries; i++) |
---|
| 108 | { |
---|
| 109 | eKinVector.push_back(eKin[i]); |
---|
| 110 | eKinDataVector.push_back(eKinData[i]); |
---|
| 111 | } |
---|
| 112 | eKinVector.push_back(eKin[eKinEntries]); |
---|
| 113 | _distributionE = new G4DistributionGenerator(eKinVector,eKinDataVector); |
---|
| 114 | |
---|
| 115 | std::vector<double> angleVector; |
---|
| 116 | std::vector<double> angleDataVector; |
---|
| 117 | for (i=0; i<angleEntries; i++) |
---|
| 118 | { |
---|
| 119 | angleVector.push_back(angle[i]); |
---|
| 120 | angleDataVector.push_back(angleData[i]); |
---|
| 121 | } |
---|
| 122 | angleVector.push_back(angle[angleEntries]); |
---|
| 123 | _distributionAngle = new G4DistributionGenerator(angleVector,angleDataVector); |
---|
| 124 | } |
---|
| 125 | |
---|
| 126 | |
---|
| 127 | // Destructor |
---|
| 128 | |
---|
| 129 | G4PiMinusStopN::~G4PiMinusStopN() |
---|
| 130 | {} |
---|
| 131 | |
---|
| 132 | G4double G4PiMinusStopN::FinalNucleons() |
---|
| 133 | { |
---|
| 134 | return nFinalNucleons; |
---|
| 135 | } |
---|
| 136 | |
---|