G4NeutronHP2NInelasticFS Class Reference

#include <G4NeutronHP2NInelasticFS.hh>

Inheritance diagram for G4NeutronHP2NInelasticFS:

G4NeutronHPInelasticBaseFS G4NeutronHPFinalState

Public Member Functions

 G4NeutronHP2NInelasticFS ()
 ~G4NeutronHP2NInelasticFS ()
void Init (G4double A, G4double Z, G4int M, G4String &dirName, G4String &aFSType)
G4HadFinalStateApplyYourself (const G4HadProjectile &theTrack)
G4NeutronHPFinalStateNew ()

Detailed Description

Definition at line 41 of file G4NeutronHP2NInelasticFS.hh.


Constructor & Destructor Documentation

G4NeutronHP2NInelasticFS::G4NeutronHP2NInelasticFS (  )  [inline]

Definition at line 45 of file G4NeutronHP2NInelasticFS.hh.

00045 {}

G4NeutronHP2NInelasticFS::~G4NeutronHP2NInelasticFS (  )  [inline]

Definition at line 46 of file G4NeutronHP2NInelasticFS.hh.

00046 {}


Member Function Documentation

G4HadFinalState * G4NeutronHP2NInelasticFS::ApplyYourself ( const G4HadProjectile theTrack  )  [virtual]

Implements G4NeutronHPInelasticBaseFS.

Definition at line 34 of file G4NeutronHP2NInelasticFS.cc.

References G4NeutronHPInelasticBaseFS::BaseApply(), G4Neutron::Neutron(), and G4NeutronHPFinalState::theResult.

00035 {
00036 
00037 // these are the particle types in the final state
00038 
00039   G4ParticleDefinition * theDefs[2];
00040   theDefs[0] = G4Neutron::Neutron();
00041   theDefs[1] = G4Neutron::Neutron();
00042   
00043 // fill the final state  
00044   G4NeutronHPInelasticBaseFS::BaseApply(theTrack, theDefs, 2);
00045   
00046 // return the result
00047    return &theResult;
00048 }

void G4NeutronHP2NInelasticFS::Init ( G4double  A,
G4double  Z,
G4int  M,
G4String dirName,
G4String aFSType 
) [virtual]

Reimplemented from G4NeutronHPInelasticBaseFS.

Definition at line 51 of file G4NeutronHP2NInelasticFS.cc.

References G4NeutronHPInelasticBaseFS::Init(), and G4NeutronHPInelasticBaseFS::InitGammas().

00052 {
00053    G4NeutronHPInelasticBaseFS::Init(A, Z, M, dirName, aFSType);
00054    G4double ResidualA = A-1;
00055    G4double ResidualZ = Z;
00056    G4NeutronHPInelasticBaseFS::InitGammas(ResidualA, ResidualZ);
00057 }

G4NeutronHPFinalState* G4NeutronHP2NInelasticFS::New (  )  [inline, virtual]

Implements G4NeutronHPInelasticBaseFS.

Definition at line 49 of file G4NeutronHP2NInelasticFS.hh.

00050   {
00051    G4NeutronHP2NInelasticFS * theNew = new G4NeutronHP2NInelasticFS;
00052    return theNew;
00053   }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:35 2013 for Geant4 by  doxygen 1.4.7