G4PiMinusStopLi Class Reference

#include <G4PiMinusStopLi.hh>

Inheritance diagram for G4PiMinusStopLi:

G4PiMinusStopMaterial

Public Member Functions

 G4PiMinusStopLi ()
virtual ~G4PiMinusStopLi ()
virtual G4double FinalNucleons ()

Detailed Description

Definition at line 41 of file G4PiMinusStopLi.hh.


Constructor & Destructor Documentation

G4PiMinusStopLi::G4PiMinusStopLi (  ) 

Definition at line 96 of file G4PiMinusStopLi.cc.

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

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

G4PiMinusStopLi::~G4PiMinusStopLi (  )  [virtual]

Definition at line 134 of file G4PiMinusStopLi.cc.

00135 {}


Member Function Documentation

G4double G4PiMinusStopLi::FinalNucleons (  )  [virtual]

Implements G4PiMinusStopMaterial.

Definition at line 137 of file G4PiMinusStopLi.cc.

00138 {
00139   return nFinalNucleons;
00140 }


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