Ignore:
Timestamp:
Apr 6, 2009, 12:30:29 PM (15 years ago)
Author:
garnier
Message:

update processes

File:
1 edited

Legend:

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

    r819 r962  
    2424// ********************************************************************
    2525//
    26 // $Id: G4BGGNucleonElasticXS.hh,v 1.1 2007/03/13 15:19:30 vnivanch Exp $
    27 // GEANT4 tag $Name: $
     26// $Id: G4BGGNucleonElasticXS.hh,v 1.2 2008/12/01 16:50:23 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2828//
    2929// -------------------------------------------------------------------
     
    6060class G4GlauberGribovCrossSection;
    6161class G4NucleonNuclearCrossSection;
     62class G4HadronNucleonXsc;
    6263
    6364class G4BGGNucleonElasticXS : public G4VCrossSectionDataSet
     
    9394  void Initialise();
    9495
    95   G4double thEnergy;  // threshold of Glauber model
    96   G4double theFac[93];
     96  G4double CoulombFactor(G4double kinEnergy, G4double A);
     97
     98  G4double fGlauberEnergy; 
     99  G4double fLowEnergy; 
     100  G4double theGlauberFac[93];
     101  G4double theCoulombFac[93];
    97102
    98103  const G4ParticleDefinition*     particle;
    99104  G4GlauberGribovCrossSection*    fGlauber;
    100105  G4NucleonNuclearCrossSection*   fNucleon;
     106  G4HadronNucleonXsc*             fHadron;
     107  G4bool                          isProton;
     108  G4bool                          isInitialized;
    101109};
    102110
     
    104112
    105113inline
    106 G4bool G4BGGNucleonElasticXS::IsApplicable(const G4DynamicParticle* dp,
    107                                            const G4Element*  elm)
     114G4bool G4BGGNucleonElasticXS::IsApplicable(const G4DynamicParticle*,
     115                                           const G4Element*)
    108116{
    109   return IsZAApplicable(dp, elm->GetZ(), elm->GetN());
     117  return true;
     118  //  return IsZAApplicable(dp, elm->GetZ(), elm->GetN());
    110119}
    111120
     
    113122
    114123inline
    115 G4bool G4BGGNucleonElasticXS::IsZAApplicable(const G4DynamicParticle* dp,
    116                                              G4double Z, G4double/* A*/)
     124G4bool G4BGGNucleonElasticXS::IsZAApplicable(const G4DynamicParticle*,
     125                                             G4double /*Z*/, G4double/* A*/)
    117126{
    118   return (dp->GetDefinition() == particle && Z > 1.5);
     127  return true;
     128  //  return (dp->GetDefinition() == particle);
    119129}
    120130
Note: See TracChangeset for help on using the changeset viewer.