G4RPGKLongInelastic Class Reference

#include <G4RPGKLongInelastic.hh>

Inheritance diagram for G4RPGKLongInelastic:

G4RPGInelastic G4HadronicInteraction

Public Member Functions

 G4RPGKLongInelastic ()
virtual ~G4RPGKLongInelastic ()
G4HadFinalStateApplyYourself (const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)

Data Fields

G4RPGKZeroInelastic theKZeroInelastic
G4RPGAntiKZeroInelastic theAntiKZeroInelastic

Detailed Description

Definition at line 48 of file G4RPGKLongInelastic.hh.


Constructor & Destructor Documentation

G4RPGKLongInelastic::G4RPGKLongInelastic (  )  [inline]

Definition at line 51 of file G4RPGKLongInelastic.hh.

References G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

00051                           : G4RPGInelastic("G4RPGKLongInelastic")  
00052     {
00053       SetMinEnergy( 0.0 );
00054       SetMaxEnergy( 25.*CLHEP::GeV );
00055     }

virtual G4RPGKLongInelastic::~G4RPGKLongInelastic (  )  [inline, virtual]

Definition at line 57 of file G4RPGKLongInelastic.hh.

00057 { }


Member Function Documentation

G4HadFinalState* G4RPGKLongInelastic::ApplyYourself ( const G4HadProjectile aTrack,
G4Nucleus targetNucleus 
) [inline, virtual]

Implements G4HadronicInteraction.

Definition at line 59 of file G4RPGKLongInelastic.hh.

References G4RPGAntiKZeroInelastic::ApplyYourself(), G4RPGKZeroInelastic::ApplyYourself(), G4UniformRand, theAntiKZeroInelastic, and theKZeroInelastic.

00060     {
00061       if(G4UniformRand() < 0.50)
00062       {
00063          return theKZeroInelastic.ApplyYourself(aTrack, targetNucleus);
00064       }
00065       else
00066       {
00067          return theAntiKZeroInelastic.ApplyYourself(aTrack, targetNucleus);
00068       }
00069     } 


Field Documentation

G4RPGAntiKZeroInelastic G4RPGKLongInelastic::theAntiKZeroInelastic

Definition at line 72 of file G4RPGKLongInelastic.hh.

Referenced by ApplyYourself().

G4RPGKZeroInelastic G4RPGKLongInelastic::theKZeroInelastic

Definition at line 71 of file G4RPGKLongInelastic.hh.

Referenced by ApplyYourself().


The documentation for this class was generated from the following file:
Generated on Mon May 27 17:53:18 2013 for Geant4 by  doxygen 1.4.7