Ignore:
Timestamp:
May 28, 2009, 4:26:57 PM (15 years ago)
Author:
garnier
Message:

maj sur la beta de geant 4.9.3

Location:
trunk/source/processes/hadronic/models/rpg/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/rpg/src/G4RPGInelastic.cc

    r1007 r1055  
    2424// ********************************************************************
    2525//
    26 // $Id: G4RPGInelastic.cc,v 1.6 2008/03/22 00:03:24 dennis Exp $
    27 // GEANT4 tag $Name: geant4-09-02 $
     26// $Id: G4RPGInelastic.cc,v 1.7 2009/05/25 19:07:15 dennis Exp $
     27// GEANT4 tag $Name: geant4-09-03-beta-cand-01 $
    2828//
    2929
     
    3434#include "G4RPGTwoBody.hh"
    3535
    36  
     36
     37G4RPGInelastic::G4RPGInelastic(const G4String& modelName)
     38  : G4HadronicInteraction(modelName)
     39{
     40  cache = 0.0;
     41  particleDef[0] = G4PionZero::PionZero();
     42  particleDef[1] = G4PionPlus::PionPlus();
     43  particleDef[2] = G4PionMinus::PionMinus();
     44  particleDef[3] = G4KaonPlus::KaonPlus();
     45  particleDef[4] = G4KaonMinus::KaonMinus();
     46  particleDef[5] = G4KaonZero::KaonZero();
     47  particleDef[6] = G4AntiKaonZero::AntiKaonZero();
     48  particleDef[7] = G4Proton::Proton();
     49  particleDef[8] = G4Neutron::Neutron();
     50  particleDef[9] = G4Lambda::Lambda();
     51  particleDef[10] = G4SigmaPlus::SigmaPlus();
     52  particleDef[11] = G4SigmaZero::SigmaZero();
     53  particleDef[12] = G4SigmaMinus::SigmaMinus();
     54  particleDef[13] = G4XiZero::XiZero();
     55  particleDef[14] = G4XiMinus::XiMinus();
     56  particleDef[15] = G4OmegaMinus::OmegaMinus();
     57  particleDef[16] = G4AntiProton::AntiProton();
     58  particleDef[17] = G4AntiNeutron::AntiNeutron();
     59}
     60
     61
    3762G4double G4RPGInelastic::Pmltpc(G4int np, G4int nm, G4int nz,
    3863                                G4int n, G4double b, G4double c)
     
    568593  2.4,  3.2,  4.2,   5.6,   7.5,   10.0,  13.0,  18.0,  24.0, 32.0 };
    569594
    570 G4ParticleDefinition* p0 = G4PionZero::PionZero();
    571 G4ParticleDefinition* p1 = G4PionPlus::PionPlus();
    572 G4ParticleDefinition* p2 = G4PionMinus::PionMinus();
    573 G4ParticleDefinition* p3 = G4KaonPlus::KaonPlus();
    574 G4ParticleDefinition* p4 = G4KaonMinus::KaonMinus();
    575 G4ParticleDefinition* p5 = G4KaonZero::KaonZero();
    576 G4ParticleDefinition* p6 = G4AntiKaonZero::AntiKaonZero();
    577 G4ParticleDefinition* p7 = G4Proton::Proton();
    578 G4ParticleDefinition* p8 = G4Neutron::Neutron();
    579 G4ParticleDefinition* p9 = G4Lambda::Lambda();
    580 G4ParticleDefinition* p10 = G4SigmaPlus::SigmaPlus();
    581 G4ParticleDefinition* p11 = G4SigmaZero::SigmaZero();
    582 G4ParticleDefinition* p12 = G4SigmaMinus::SigmaMinus();
    583 G4ParticleDefinition* p13 = G4XiZero::XiZero();
    584 G4ParticleDefinition* p14 = G4XiMinus::XiMinus();
    585 G4ParticleDefinition* p15 = G4OmegaMinus::OmegaMinus();
    586 G4ParticleDefinition* p16 = G4AntiProton::AntiProton();
    587 G4ParticleDefinition* p17 = G4AntiNeutron::AntiNeutron();
    588 
    589 G4ParticleDefinition* G4RPGInelastic::particleDef[18] = {
    590   p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14,
    591   p15, p16, p17 };
    592595
    593596/* end of file */
  • trunk/source/processes/hadronic/models/rpg/src/G4RPGNucleonInelastic.cc

    r1007 r1055  
    2424// ********************************************************************
    2525//
    26 // $Id: G4RPGNucleonInelastic.cc,v 1.1 2008/01/04 23:28:10 dennis Exp $
    27 // GEANT4 tag $Name: geant4-09-02 $
     26// $Id: G4RPGNucleonInelastic.cc,v 1.2 2009/05/25 19:06:03 dennis Exp $
     27// GEANT4 tag $Name: geant4-09-03-beta-cand-01 $
    2828//
    2929 
     
    7070    }
    7171  }
     72 
     73  //  printCrossSections();
    7274
    7375}
     76
     77/*
     78void G4RPGNucleonInelastic::printCrossSections() const
     79{
     80  G4cout << " pp total cross sections (mb) " << G4endl;
     81  for (G4int i = 0; i < 5; i++) {
     82    G4int istart = i*6;
     83    G4int istop = istart + 6;
     84    for (G4int t = istart; t < istop; t++) G4cout << pPtot[t] << "  " ;
     85    G4cout << G4endl;
     86  }
     87  G4cout << G4endl;
     88
     89  G4cout << " pn total cross sections (mb) " << G4endl;
     90  for (G4int i = 0; i < 5; i++) {
     91    G4int istart = i*6;
     92    G4int istop = istart + 6;
     93    for (G4int t = istart; t < istop; t++) G4cout << pNtot[t] << "  " ;
     94    G4cout << G4endl;
     95  }
     96}
     97*/
    7498
    7599
  • trunk/source/processes/hadronic/models/rpg/src/G4RPGPionInelastic.cc

    r1007 r1055  
    2424// ********************************************************************
    2525//
    26 // $Id: G4RPGPionInelastic.cc,v 1.1 2008/01/05 00:15:12 dennis Exp $
    27 // GEANT4 tag $Name: geant4-09-02 $
     26// $Id: G4RPGPionInelastic.cc,v 1.2 2009/05/25 19:05:47 dennis Exp $
     27// GEANT4 tag $Name: geant4-09-03-beta-cand-01 $
    2828//
    2929 
     
    7171  }
    7272
     73  //  printCrossSections();
     74
    7375}
     76
     77
     78/*
     79void G4RPGPionInelastic::printCrossSections() const
     80{
     81  G4cout << " pi+ p total cross sections (mb) " << G4endl;
     82  for (G4int i = 0; i < 5; i++) {
     83    G4int istart = i*6;
     84    G4int istop = istart + 6;
     85    for (G4int t = istart; t < istop; t++) G4cout << pipPtot[t] << "  " ;
     86    G4cout << G4endl;
     87  }
     88  G4cout << G4endl;
     89
     90  G4cout << " pi- p total cross sections (mb) " << G4endl;
     91  for (G4int i = 0; i < 5; i++) {
     92    G4int istart = i*6;
     93    G4int istop = istart + 6;
     94    for (G4int t = istart; t < istop; t++) G4cout << pimPtot[t] << "  " ;
     95    G4cout << G4endl;
     96  }
     97}
     98*/
    7499
    75100
Note: See TracChangeset for help on using the changeset viewer.