136 lines
4.5 KiB
C++
136 lines
4.5 KiB
C++
//
|
|
// ********************************************************************
|
|
// * License and Disclaimer *
|
|
// * *
|
|
// * The Geant4 software is copyright of the Copyright Holders of *
|
|
// * the Geant4 Collaboration. It is provided under the terms and *
|
|
// * conditions of the Geant4 Software License, included in the file *
|
|
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
|
// * include a list of copyright holders. *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. Please see the license in the file LICENSE and URL above *
|
|
// * for the full disclaimer and the limitation of liability. *
|
|
// * *
|
|
// * This code implementation is the result of the scientific and *
|
|
// * technical work of the GEANT4 collaboration. *
|
|
// * By using, copying, modifying or distributing the software (or *
|
|
// * any work based on the software) you agree to acknowledge its *
|
|
// * use in resulting scientific publications, and indicate your *
|
|
// * acceptance of all terms of the Geant4 Software license. *
|
|
// ********************************************************************
|
|
//
|
|
// File name: G4PiMinusStopTa
|
|
//
|
|
// Author: Maria Grazia Pia (pia@genova.infn.it)
|
|
//
|
|
// Creation date: 8 May 1998
|
|
//
|
|
// -------------------------------------------------------------------
|
|
|
|
#include "G4ios.hh"
|
|
|
|
#include "G4PiMinusStopTa.hh"
|
|
|
|
#include <vector>
|
|
|
|
#include "globals.hh"
|
|
#include "Randomize.hh"
|
|
#include "G4Proton.hh"
|
|
#include "G4Neutron.hh"
|
|
#include "G4ParticleTypes.hh"
|
|
#include "G4ReactionKinematics.hh"
|
|
#include "G4DynamicParticleVector.hh"
|
|
#include "G4LorentzVector.hh"
|
|
#include "G4PiMinusStopMaterial.hh"
|
|
#include "G4DistributionGenerator.hh"
|
|
|
|
// np/pp production ratio
|
|
// Experimental values:
|
|
// R(np/pp) = 6.3 +- 1.4 (R. Madey et al., Phys Rev C25 (1982) 3050
|
|
G4double G4PiMinusStopTa::npRatio = 17.;
|
|
|
|
// Average numbers of final nucleons detected, for N-pair absorption
|
|
// (R. Madey et al., Phys Rev C25 (1982) 3050
|
|
G4double G4PiMinusStopTa::nFinalNucleons = 1.8;
|
|
|
|
// Kinetic energy (MeV) distributions measured for coincident nucleon
|
|
// emission
|
|
// (R. Madey et al., Phys Rev C25 (1982) 3050
|
|
|
|
G4int G4PiMinusStopTa::eKinEntries = 10;
|
|
|
|
G4double G4PiMinusStopTa::eKinData[10] = { 0.24, 0.59, 1.13, 1.38,
|
|
1.50,
|
|
1.38, 1.13, 0.83, 0.49, 0.22};
|
|
|
|
G4double G4PiMinusStopTa::eKin[11] = { 5.2, 12., 25., 41.5,
|
|
49.6,
|
|
57.7, 79.3, 94.4, 104., 120., 140.};
|
|
|
|
|
|
// Opening angle distributions measured for coincident nucleon emission
|
|
// (P.Heusi et al., Nucl. Phys. A407 (1983) 429
|
|
|
|
G4int G4PiMinusStopTa::angleEntries = 7;
|
|
|
|
G4double G4PiMinusStopTa::angleData[7] =
|
|
{ 1.43, 1.67, 2.62, 4.29, 7.62, 11.90, 14.76 };
|
|
|
|
G4double G4PiMinusStopTa::angle[8] = { 1.308997, 1.570796, 1.832596, 2.094395,
|
|
2.356194, 2.617994, 2.967060, 3.1415927 };
|
|
|
|
|
|
|
|
// Constructor
|
|
|
|
G4PiMinusStopTa::G4PiMinusStopTa()
|
|
|
|
{
|
|
// Cluster size: nucleon pair, alpha, triton etc.
|
|
// First implementation: interaction with nucleon pair only
|
|
_clusterSize = 2;
|
|
|
|
// R ratio
|
|
theR = 1. / (1. + npRatio);
|
|
|
|
_definitions = new std::vector<G4ParticleDefinition*>();
|
|
_momenta = new std::vector<G4LorentzVector*>();
|
|
|
|
std::vector<double> eKinVector;
|
|
std::vector<double> eKinDataVector;
|
|
int i;
|
|
for (i=0; i<eKinEntries; i++)
|
|
{
|
|
eKinVector.push_back(eKin[i]);
|
|
eKinDataVector.push_back(eKinData[i]);
|
|
}
|
|
eKinVector.push_back(eKin[eKinEntries]);
|
|
_distributionE = new G4DistributionGenerator(eKinVector,eKinDataVector);
|
|
|
|
std::vector<double> angleVector;
|
|
std::vector<double> angleDataVector;
|
|
for (i=0; i<angleEntries; i++)
|
|
{
|
|
angleVector.push_back(angle[i]);
|
|
angleDataVector.push_back(angleData[i]);
|
|
}
|
|
angleVector.push_back(angle[angleEntries]);
|
|
_distributionAngle = new G4DistributionGenerator(angleVector,angleDataVector);
|
|
}
|
|
|
|
|
|
// Destructor
|
|
|
|
G4PiMinusStopTa::~G4PiMinusStopTa()
|
|
{}
|
|
|
|
G4double G4PiMinusStopTa::FinalNucleons()
|
|
{
|
|
return nFinalNucleons;
|
|
}
|
|
|