Ignore:
Timestamp:
Jun 18, 2010, 11:42:07 AM (14 years ago)
Author:
garnier
Message:

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/cross_sections/src/G4QIonIonCrossSection.cc

    r1228 r1315  
    2626//
    2727// The lust update: M.V. Kossov, CERN/ITEP(Moscow) 19-Aug-07
    28 // GEANT4 tag $Name: geant4-09-03 $
     28// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
    2929//
    3030//
     
    420420                                                                G4int tN, G4double Mom)
    421421{
    422   static G4VQCrossSection* ElCSman = G4QElasticCrossSection::GetPointer();
     422  static G4VQCrossSection* PElCSman = G4QProtonElasticCrossSection::GetPointer();
     423  static G4VQCrossSection* NElCSman = G4QNeutronElasticCrossSection::GetPointer();
    423424  static G4VQCrossSection* InelPCSman = G4QProtonNuclearCrossSection::GetPointer();
    424425  static G4VQCrossSection* InelNCSman = G4QNeutronNuclearCrossSection::GetPointer();
     
    433434    {
    434435      inCS=InelPCSman->GetCrossSection(true, Mom, tZ, tN, 2212);
    435       elCS=ElCSman->GetCrossSection(true, Mom, tZ, tN, 2212);
     436      elCS=PElCSman->GetCrossSection(true, Mom, tZ, tN, 2212);
    436437    }
    437438    else if(pN == 1 && !pZ) // neutron-nuclear
    438439    {
    439440      inCS=InelNCSman->GetCrossSection(true, Mom, tZ, tN, 2112);
    440       elCS=ElCSman->GetCrossSection(true, Mom, tZ, tN, 2112);
     441      elCS=NElCSman->GetCrossSection(true, Mom, tZ, tN, 2112);
    441442    }
    442443    else G4cerr<<"-Warn-G4QIICS::CaCS:pZ="<<pZ<<",pN="<<pN<<",tZ="<<tZ<<",tN="<<tN<<G4endl;
Note: See TracChangeset for help on using the changeset viewer.