#include <G4PiMinusStopLi.hh>
Inheritance diagram for G4PiMinusStopLi:
Public Member Functions | |
G4PiMinusStopLi () | |
virtual | ~G4PiMinusStopLi () |
virtual G4double | FinalNucleons () |
Definition at line 41 of file G4PiMinusStopLi.hh.
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] |
G4double G4PiMinusStopLi::FinalNucleons | ( | ) | [virtual] |