G4PiMinusStopAl Class Reference

#include <G4PiMinusStopAl.hh>

Inheritance diagram for G4PiMinusStopAl:

G4PiMinusStopMaterial

Public Member Functions

 G4PiMinusStopAl ()
virtual ~G4PiMinusStopAl ()
virtual G4double FinalNucleons ()

Detailed Description

Definition at line 41 of file G4PiMinusStopAl.hh.


Constructor & Destructor Documentation

G4PiMinusStopAl::G4PiMinusStopAl (  ) 

Definition at line 88 of file G4PiMinusStopAl.cc.

References G4PiMinusStopMaterial::_definitions, G4PiMinusStopMaterial::_distributionAngle, G4PiMinusStopMaterial::_distributionE, G4PiMinusStopMaterial::_momenta, and G4PiMinusStopMaterial::theR.

00090 {
00091   // Cluster size: nucleon pair, alpha, triton etc.
00092   // First implementation: interaction with nucleon pair only
00093   _clusterSize = 2;
00094 
00095   // R ratio
00096   theR = 1. / (1. + npRatio);
00097 
00098   _definitions = new std::vector<G4ParticleDefinition*>();
00099   _momenta = new std::vector<G4LorentzVector*>();
00100 
00101   std::vector<double> eKinVector;
00102   std::vector<double> eKinDataVector;
00103   int i;
00104   for (i=0; i<eKinEntries; i++)
00105     {
00106       eKinVector.push_back(eKin[i]);
00107       eKinDataVector.push_back(eKinData[i]);
00108     }
00109   eKinVector.push_back(eKin[eKinEntries]);
00110   _distributionE = new G4DistributionGenerator(eKinVector,eKinDataVector);
00111 
00112   std::vector<double> angleVector;
00113   std::vector<double> angleDataVector;
00114   for (i=0; i<angleEntries; i++)
00115     {
00116       angleVector.push_back(angle[i]);
00117       angleDataVector.push_back(angleData[i]);
00118     }
00119   angleVector.push_back(angle[angleEntries]);
00120   _distributionAngle = new G4DistributionGenerator(angleVector,angleDataVector);
00121 }

G4PiMinusStopAl::~G4PiMinusStopAl (  )  [virtual]

Definition at line 126 of file G4PiMinusStopAl.cc.

00127 {}


Member Function Documentation

G4double G4PiMinusStopAl::FinalNucleons (  )  [virtual]

Implements G4PiMinusStopMaterial.

Definition at line 129 of file G4PiMinusStopAl.cc.

00130 {
00131   return nFinalNucleons;
00132 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:55 2013 for Geant4 by  doxygen 1.4.7