Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/cross_sections/include/G4NucleonNuclearCrossSection.hh

    r819 r1340  
    5252  virtual ~G4NucleonNuclearCrossSection();
    5353
    54   virtual G4bool IsApplicable(const G4DynamicParticle* aParticle, const G4Element* anElement);
    55 
    56   virtual G4bool IsZAApplicable(const G4DynamicParticle* aParticle, G4double Z, G4double A);
     54  virtual G4bool IsApplicable(const G4DynamicParticle* aParticle,
     55                              const G4Element* anElement);
     56
     57  virtual G4bool IsIsoApplicable(const G4DynamicParticle* aParticle,
     58                                 G4int Z, G4int A);
    5759
    5860  G4double GetCrossSection(const G4DynamicParticle* aParticle,
     
    6062                           G4double T=0.);
    6163
    62   G4double GetIsoZACrossSection(const G4DynamicParticle* aParticle,
    63                                 G4double ZZ, G4double AA, G4double T=0. );
     64  G4double GetZandACrossSection(const G4DynamicParticle* aParticle,
     65                                G4int ZZ, G4int AA, G4double T=0. );
    6466
    6567  G4double GetElasticCrossSection(const G4DynamicParticle* aParticle,
    66                                   G4double ZZ, G4double AA);
     68                                  G4int ZZ, G4int AA);
    6769
    6870  G4double GetTotalXsc()  { return fTotalXsc;   };
     
    190192inline
    191193G4double G4NucleonNuclearCrossSection::GetElasticCrossSection(
    192          const G4DynamicParticle* dp, G4double ZZ, G4double AA)
     194         const G4DynamicParticle* dp, G4int ZZ, G4int AA)
    193195{
    194   GetIsoZACrossSection(dp, ZZ, AA);
     196  GetZandACrossSection(dp, ZZ, AA);
    195197  return fElasticXsc;
    196198}
Note: See TracChangeset for help on using the changeset viewer.