Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PiMinusStopCu Class Reference

#include <G4PiMinusStopCu.hh>

+ Inheritance diagram for G4PiMinusStopCu:

Public Member Functions

 G4PiMinusStopCu ()
 
virtual ~G4PiMinusStopCu ()
 
virtual G4double FinalNucleons ()
 
- Public Member Functions inherited from G4PiMinusStopMaterial
 G4PiMinusStopMaterial ()
 
virtual ~G4PiMinusStopMaterial ()
 
virtual std::vector< G4ParticleDefinition * > * DefinitionVector ()
 
virtual std::vector< G4LorentzVector * > * P4Vector (const G4double binding, const G4double mass)
 
virtual G4double FinalNucleons ()=0
 

Additional Inherited Members

- Protected Member Functions inherited from G4PiMinusStopMaterial
G4double GenerateAngle (G4double range)
 
G4LorentzVector MakeP4 (G4double p, G4double theta, G4double phi, G4double e)
 
G4double RecoilEnergy (const G4double mass)
 
- Protected Attributes inherited from G4PiMinusStopMaterial
std::vector< G4ParticleDefinition * > * _definitions
 
std::vector< G4LorentzVector * > * _momenta
 
G4DistributionGenerator_distributionE
 
G4DistributionGenerator_distributionAngle
 
G4double theR
 

Detailed Description

Definition at line 41 of file G4PiMinusStopCu.hh.

Constructor & Destructor Documentation

◆ G4PiMinusStopCu()

G4PiMinusStopCu::G4PiMinusStopCu ( )

Definition at line 91 of file G4PiMinusStopCu.cc.

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}
std::vector< G4ParticleDefinition * > * _definitions
G4DistributionGenerator * _distributionE
std::vector< G4LorentzVector * > * _momenta
G4DistributionGenerator * _distributionAngle

◆ ~G4PiMinusStopCu()

G4PiMinusStopCu::~G4PiMinusStopCu ( )
virtual

Definition at line 129 of file G4PiMinusStopCu.cc.

130{}

Member Function Documentation

◆ FinalNucleons()

G4double G4PiMinusStopCu::FinalNucleons ( )
virtual

Implements G4PiMinusStopMaterial.

Definition at line 132 of file G4PiMinusStopCu.cc.

133{
134 return nFinalNucleons;
135}

The documentation for this class was generated from the following files: