Geant4  10.02
G4RPGReaction Class Reference

#include <G4RPGReaction.hh>

+ Inheritance diagram for G4RPGReaction:

Public Member Functions

 G4RPGReaction ()
 
virtual ~G4RPGReaction ()
 
G4bool ReactionStage (const G4HadProjectile *, G4ReactionProduct &, G4bool &, const G4DynamicParticle *, G4ReactionProduct &, G4bool &, const G4Nucleus &, G4ReactionProduct &, G4FastVector< G4ReactionProduct, 256 > &, G4int &, G4bool, G4ReactionProduct &)
 
void AddBlackTrackParticles (const G4double, const G4int, const G4double, const G4int, const G4ReactionProduct &, G4int, G4int, const G4Nucleus &, G4FastVector< G4ReactionProduct, 256 > &, G4int &)
 
G4double GenerateNBodyEvent (const G4double totalEnergy, const G4bool constantCrossSection, G4FastVector< G4ReactionProduct, 256 > &vec, G4int &vecLen)
 
G4double GenerateNBodyEventT (const G4double totalEnergy, const G4bool constantCrossSection, std::vector< G4ReactionProduct * > &list)
 
void NuclearReaction (G4FastVector< G4ReactionProduct, 4 > &vec, G4int &vecLen, const G4HadProjectile *originalIncident, const G4Nucleus &aNucleus, const G4double theAtomicMass, const G4double *massVec)
 

Protected Member Functions

void Rotate (const G4double numberofFinalStateNucleons, const G4ThreeVector &temp, const G4ReactionProduct &modifiedOriginal, const G4HadProjectile *originalIncident, const G4Nucleus &targetNucleus, G4ReactionProduct &currentParticle, G4ReactionProduct &targetParticle, G4FastVector< G4ReactionProduct, 256 > &vec, G4int &vecLen)
 
void Defs1 (const G4ReactionProduct &modifiedOriginal, G4ReactionProduct &currentParticle, G4ReactionProduct &targetParticle, G4FastVector< G4ReactionProduct, 256 > &vec, G4int &vecLen)
 
std::pair< G4int, G4intGetFinalStateNucleons (const G4DynamicParticle *originalTarget, const G4FastVector< G4ReactionProduct, 256 > &vec, const G4int &vecLen)
 
void MomentumCheck (const G4ReactionProduct &modifiedOriginal, G4ReactionProduct &currentParticle, G4ReactionProduct &targetParticle, G4FastVector< G4ReactionProduct, 256 > &vec, G4int &vecLen)
 
G4double normal ()
 
G4ThreeVector Isotropic (const G4double &)
 

Detailed Description

Definition at line 47 of file G4RPGReaction.hh.

Constructor & Destructor Documentation

G4RPGReaction::G4RPGReaction ( )
inline

Definition at line 51 of file G4RPGReaction.hh.

virtual G4RPGReaction::~G4RPGReaction ( )
inlinevirtual

Definition at line 53 of file G4RPGReaction.hh.

Member Function Documentation

void G4RPGReaction::AddBlackTrackParticles ( const G4double  epnb,
const G4int  npnb,
const G4double  edta,
const G4int  ndta,
const G4ReactionProduct modifiedOriginal,
G4int  PinNucleus,
G4int  NinNucleus,
const G4Nucleus targetNucleus,
G4FastVector< G4ReactionProduct, 256 > &  vec,
G4int vecLen 
)

Definition at line 58 of file G4RPGReaction.cc.

References G4Alpha::Alpha(), G4Deuteron::Deuteron(), G4Exp(), G4UniformRand, G4Nucleus::GetA_asInt(), G4ReactionProduct::GetKineticEnergy(), G4Nucleus::GetZ_asInt(), GeV, G4INCL::Math::max(), MeV, G4INCL::Math::min(), G4Neutron::Neutron(), G4InuclParticleNames::pp, G4Proton::Proton(), G4ReactionProduct::SetDefinition(), G4FastVector< Type, N >::SetElement(), G4Triton::Triton(), and twopi.

Referenced by G4RPGTwoBody::ReactionStage(), G4RPGTwoCluster::ReactionStage(), and G4RPGFragmentation::ReactionStage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RPGReaction::Defs1 ( const G4ReactionProduct modifiedOriginal,
G4ReactionProduct currentParticle,
G4ReactionProduct targetParticle,
G4FastVector< G4ReactionProduct, 256 > &  vec,
G4int vecLen 
)
protected

Definition at line 694 of file G4RPGReaction.cc.

References G4ReactionProduct::GetMomentum(), halfpi, MeV, and G4ReactionProduct::SetMomentum().

Referenced by G4RPGTwoBody::ReactionStage(), and Rotate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4RPGReaction::GenerateNBodyEvent ( const G4double  totalEnergy,
const G4bool  constantCrossSection,
G4FastVector< G4ReactionProduct, 256 > &  vec,
G4int vecLen 
)

Definition at line 312 of file G4RPGReaction.cc.

References a, G4INCL::KinematicsUtils::energy(), G4cerr, G4endl, G4Exp(), G4Log(), G4UniformRand, GeV, G4INCL::Math::max(), G4INCL::Math::min(), s, G4InuclParticleNames::s0, G4InuclParticleNames::sm, and twopi.

Referenced by NuclearReaction(), and G4RPGTwoCluster::ReactionStage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4RPGReaction::GenerateNBodyEventT ( const G4double  totalEnergy,
const G4bool  constantCrossSection,
std::vector< G4ReactionProduct * > &  list 
)

Definition at line 501 of file G4RPGReaction.cc.

References a, G4INCL::KinematicsUtils::energy(), G4cerr, G4endl, G4Exp(), G4Log(), G4UniformRand, GeV, G4INCL::Math::max(), G4INCL::Math::min(), G4InuclParticleNames::s0, G4InuclParticleNames::sm, and twopi.

Referenced by G4RPGFragmentation::ReactionStage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::pair< G4int, G4int > G4RPGReaction::GetFinalStateNucleons ( const G4DynamicParticle originalTarget,
const G4FastVector< G4ReactionProduct, 256 > &  vec,
const G4int vecLen 
)
protected

Definition at line 1012 of file G4RPGReaction.cc.

References G4DynamicParticle::GetDefinition(), and G4ParticleDefinition::GetParticleName().

Referenced by G4RPGTwoBody::ReactionStage(), G4RPGTwoCluster::ReactionStage(), and G4RPGFragmentation::ReactionStage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ThreeVector G4RPGReaction::Isotropic ( const G4double pp)
protected

Definition at line 1044 of file G4RPGReaction.cc.

References G4UniformRand, and twopi.

Referenced by G4RPGTwoCluster::ReactionStage(), G4RPGFragmentation::ReactionStage(), and G4RPGFragmentation::ReduceEnergiesOfSecondaries().

+ Here is the caller graph for this function:

void G4RPGReaction::MomentumCheck ( const G4ReactionProduct modifiedOriginal,
G4ReactionProduct currentParticle,
G4ReactionProduct targetParticle,
G4FastVector< G4ReactionProduct, 256 > &  vec,
G4int vecLen 
)
protected

Definition at line 1055 of file G4RPGReaction.cc.

References G4ReactionProduct::GetMass(), G4ReactionProduct::GetMomentum(), G4ReactionProduct::GetTotalMomentum(), MeV, G4ReactionProduct::SetMomentum(), and G4ReactionProduct::SetTotalEnergy().

+ Here is the call graph for this function:

G4double G4RPGReaction::normal ( )
protected

Definition at line 686 of file G4RPGReaction.cc.

References G4UniformRand.

Referenced by G4RPGTwoBody::ReactionStage(), G4RPGFragmentation::ReactionStage(), and Rotate().

+ Here is the caller graph for this function:

G4bool G4RPGReaction::ReactionStage ( const G4HadProjectile ,
G4ReactionProduct ,
G4bool ,
const G4DynamicParticle ,
G4ReactionProduct ,
G4bool ,
const G4Nucleus ,
G4ReactionProduct ,
G4FastVector< G4ReactionProduct, 256 > &  ,
G4int ,
G4bool  ,
G4ReactionProduct  
)

Definition at line 38 of file G4RPGReaction.cc.

References G4cout, and G4endl.

void G4RPGReaction::Rotate ( const G4double  numberofFinalStateNucleons,
const G4ThreeVector temp,
const G4ReactionProduct modifiedOriginal,
const G4HadProjectile originalIncident,
const G4Nucleus targetNucleus,
G4ReactionProduct currentParticle,
G4ReactionProduct targetParticle,
G4FastVector< G4ReactionProduct, 256 > &  vec,
G4int vecLen 
)
protected

Definition at line 750 of file G4RPGReaction.cc.

References a1, Defs1(), G4Exp(), G4Log(), G4UniformRand, G4Nucleus::GetA_asInt(), G4ReactionProduct::GetDefinition(), G4HadProjectile::GetKineticEnergy(), G4ReactionProduct::GetKineticEnergy(), G4ReactionProduct::GetMomentum(), G4ParticleDefinition::GetParticleSubType(), G4ReactionProduct::GetTotalMomentum(), GeV, G4INCL::Math::max(), MeV, normal(), pi, G4PionMinus::PionMinus(), G4PionPlus::PionPlus(), G4PionZero::PionZero(), G4InuclParticleNames::pp, G4ReactionProduct::SetKineticEnergy(), G4ReactionProduct::SetMomentum(), and twopi.

Referenced by G4RPGTwoCluster::ReactionStage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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