Geant4 Cross Reference

Cross-Referencing   Geant4
Geant4/processes/hadronic/cross_sections/src/G4BGGPionElasticXS.cc

Version: [ ReleaseNotes ] [ 1.0 ] [ 1.1 ] [ 2.0 ] [ 3.0 ] [ 3.1 ] [ 3.2 ] [ 4.0 ] [ 4.0.p1 ] [ 4.0.p2 ] [ 4.1 ] [ 4.1.p1 ] [ 5.0 ] [ 5.0.p1 ] [ 5.1 ] [ 5.1.p1 ] [ 5.2 ] [ 5.2.p1 ] [ 5.2.p2 ] [ 6.0 ] [ 6.0.p1 ] [ 6.1 ] [ 6.2 ] [ 6.2.p1 ] [ 6.2.p2 ] [ 7.0 ] [ 7.0.p1 ] [ 7.1 ] [ 7.1.p1 ] [ 8.0 ] [ 8.0.p1 ] [ 8.1 ] [ 8.1.p1 ] [ 8.1.p2 ] [ 8.2 ] [ 8.2.p1 ] [ 8.3 ] [ 8.3.p1 ] [ 8.3.p2 ] [ 9.0 ] [ 9.0.p1 ] [ 9.0.p2 ] [ 9.1 ] [ 9.1.p1 ] [ 9.1.p2 ] [ 9.1.p3 ] [ 9.2 ] [ 9.2.p1 ] [ 9.2.p2 ] [ 9.2.p3 ] [ 9.2.p4 ] [ 9.3 ] [ 9.3.p1 ] [ 9.3.p2 ] [ 9.4 ] [ 9.4.p1 ] [ 9.4.p2 ] [ 9.4.p3 ] [ 9.4.p4 ] [ 9.5 ] [ 9.5.p1 ] [ 9.5.p2 ] [ 9.6 ] [ 9.6.p1 ] [ 9.6.p2 ] [ 9.6.p3 ] [ 9.6.p4 ] [ 10.0 ] [ 10.0.p1 ] [ 10.0.p2 ] [ 10.0.p3 ] [ 10.0.p4 ] [ 10.1 ] [ 10.1.p1 ] [ 10.1.p2 ] [ 10.1.p3 ] [ 10.2 ] [ 10.2.p1 ] [ 10.2.p2 ] [ 10.2.p3 ] [ 10.3 ] [ 10.3.p1 ] [ 10.3.p2 ] [ 10.3.p3 ] [ 10.4 ] [ 10.4.p1 ] [ 10.4.p2 ] [ 10.4.p3 ] [ 10.5 ] [ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /processes/hadronic/cross_sections/src/G4BGGPionElasticXS.cc (Version 11.3.0) and /processes/hadronic/cross_sections/src/G4BGGPionElasticXS.cc (Version 9.6.p3)


  1 //                                                  1 //
  2 // *******************************************      2 // ********************************************************************
  3 // * License and Disclaimer                         3 // * License and Disclaimer                                           *
  4 // *                                                4 // *                                                                  *
  5 // * The  Geant4 software  is  copyright of th      5 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
  6 // * the Geant4 Collaboration.  It is provided      6 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
  7 // * conditions of the Geant4 Software License      7 // * conditions of the Geant4 Software License,  included in the file *
  8 // * LICENSE and available at  http://cern.ch/      8 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
  9 // * include a list of copyright holders.           9 // * include a list of copyright holders.                             *
 10 // *                                               10 // *                                                                  *
 11 // * Neither the authors of this software syst     11 // * Neither the authors of this software system, nor their employing *
 12 // * institutes,nor the agencies providing fin     12 // * institutes,nor the agencies providing financial support for this *
 13 // * work  make  any representation or  warran     13 // * work  make  any representation or  warranty, express or implied, *
 14 // * regarding  this  software system or assum     14 // * regarding  this  software system or assume any liability for its *
 15 // * use.  Please see the license in the file      15 // * use.  Please see the license in the file  LICENSE  and URL above *
 16 // * for the full disclaimer and the limitatio     16 // * for the full disclaimer and the limitation of liability.         *
 17 // *                                               17 // *                                                                  *
 18 // * This  code  implementation is the result      18 // * This  code  implementation is the result of  the  scientific and *
 19 // * technical work of the GEANT4 collaboratio     19 // * technical work of the GEANT4 collaboration.                      *
 20 // * By using,  copying,  modifying or  distri     20 // * By using,  copying,  modifying or  distributing the software (or *
 21 // * any work based  on the software)  you  ag     21 // * any work based  on the software)  you  agree  to acknowledge its *
 22 // * use  in  resulting  scientific  publicati     22 // * use  in  resulting  scientific  publications,  and indicate your *
 23 // * acceptance of all terms of the Geant4 Sof     23 // * acceptance of all terms of the Geant4 Software license.          *
 24 // *******************************************     24 // ********************************************************************
 25 //                                                 25 //
                                                   >>  26 // $Id$
 26 //                                                 27 //
 27 // -------------------------------------------     28 // -------------------------------------------------------------------
 28 //                                                 29 //
 29 // GEANT4 Class file                               30 // GEANT4 Class file
 30 //                                                 31 //
 31 //                                                 32 //
 32 // File name:     G4BGGPionElasticXS               33 // File name:     G4BGGPionElasticXS
 33 //                                                 34 //
 34 // Author:        Vladimir Ivanchenko              35 // Author:        Vladimir Ivanchenko
 35 //                                                 36 //
 36 // Creation date: 01.10.2003                       37 // Creation date: 01.10.2003
 37 // Modifications:                                  38 // Modifications:
 38 //                                                 39 //
 39 // -------------------------------------------     40 // -------------------------------------------------------------------
 40 //                                                 41 //
 41                                                    42 
 42 #include "G4BGGPionElasticXS.hh"                   43 #include "G4BGGPionElasticXS.hh"
 43 #include "G4SystemOfUnits.hh"                      44 #include "G4SystemOfUnits.hh"
 44 #include "G4ComponentGGHadronNucleusXsc.hh"    <<  45 #include "G4GlauberGribovCrossSection.hh"
 45 #include "G4UPiNuclearCrossSection.hh"             46 #include "G4UPiNuclearCrossSection.hh"
 46 #include "G4HadronNucleonXsc.hh"                   47 #include "G4HadronNucleonXsc.hh"
 47 #include "G4NuclearRadii.hh"                   <<  48 #include "G4ComponentSAIDTotalXS.hh"
 48                                                << 
 49 #include "G4Proton.hh"                             49 #include "G4Proton.hh"
 50 #include "G4PionPlus.hh"                           50 #include "G4PionPlus.hh"
 51 #include "G4PionMinus.hh"                          51 #include "G4PionMinus.hh"
 52 #include "G4NistManager.hh"                        52 #include "G4NistManager.hh"
 53 #include "G4HadronicParameters.hh"             << 
 54 #include "G4Pow.hh"                            << 
 55                                                << 
 56 G4double G4BGGPionElasticXS::theGlauberFacPiPl << 
 57 G4double G4BGGPionElasticXS::theCoulombFacPiPl << 
 58 G4double G4BGGPionElasticXS::theGlauberFacPiMi << 
 59 G4double G4BGGPionElasticXS::theCoulombFacPiMi << 
 60 G4int G4BGGPionElasticXS::theA[93] = {0};      << 
 61                                                    53 
 62 //....oooOO0OOooo........oooOO0OOooo........oo     54 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
 63                                                    55 
 64 G4BGGPionElasticXS::G4BGGPionElasticXS(const G <<  56 G4BGGPionElasticXS::G4BGGPionElasticXS(const G4ParticleDefinition*) 
 65  : G4VCrossSectionDataSet("BarashenkovGlauberG <<  57  : G4VCrossSectionDataSet("Barashenkov-Glauber") 
 66 {                                                  58 {
 67   verboseLevel = 0;                                59   verboseLevel = 0;
 68   fGlauberEnergy = 91.*CLHEP::GeV;             <<  60   fGlauberEnergy = 91.*GeV;
 69   fLowEnergy = 20.*CLHEP::MeV;                 <<  61   fLowEnergy = 20.*MeV;
 70   fLowestEnergy = 1.*CLHEP::MeV;               <<  62   fSAIDHighEnergyLimit = 2.6*GeV;
 71   SetMinKinEnergy(0.0);                            63   SetMinKinEnergy(0.0);
 72   SetMaxKinEnergy( G4HadronicParameters::Insta <<  64   SetMaxKinEnergy(100*TeV);
 73                                                << 
 74   fPion    = new G4UPiNuclearCrossSection();   << 
 75   fGlauber = new G4ComponentGGHadronNucleusXsc << 
 76   fHadron  = new G4HadronNucleonXsc();         << 
 77                                                << 
 78   fG4pow = G4Pow::GetInstance();               << 
 79                                                    65 
 80   theProton = G4Proton::Proton();              <<  66   for (G4int i = 0; i < 93; i++) {
 81   thePiPlus = G4PionPlus::PionPlus();          <<  67     theGlauberFac[i] = 0.0;
 82   isPiplus = (p == thePiPlus);                 <<  68     theCoulombFac[i] = 0.0;
 83   SetForAllAtomsAndEnergies(true);             <<  69     theA[i] = 1;
 84                                                <<  70   }
 85   if (0 == theA[0]) { Initialise(); }          <<  71   fPion = 0;
                                                   >>  72   fGlauber = 0;
                                                   >>  73   fHadron  = 0;
                                                   >>  74   fSAID    = 0;
                                                   >>  75   particle = 0;
                                                   >>  76   theProton= G4Proton::Proton();
                                                   >>  77   isPiplus = false;
                                                   >>  78   isInitialized = false;
 86 }                                                  79 }
 87                                                    80 
 88 //....oooOO0OOooo........oooOO0OOooo........oo     81 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
 89                                                    82 
 90 G4BGGPionElasticXS::~G4BGGPionElasticXS()          83 G4BGGPionElasticXS::~G4BGGPionElasticXS()
 91 {                                                  84 {
                                                   >>  85   delete fGlauber;
                                                   >>  86   delete fPion;
 92   delete fHadron;                                  87   delete fHadron;
                                                   >>  88   delete fSAID;
 93 }                                                  89 }
 94                                                    90 
 95 //....oooOO0OOooo........oooOO0OOooo........oo     91 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
 96                                                    92 
 97 G4bool                                             93 G4bool 
 98 G4BGGPionElasticXS::IsElementApplicable(const      94 G4BGGPionElasticXS::IsElementApplicable(const G4DynamicParticle*, G4int,
 99                                         const  <<  95              const G4Material*)
100 {                                                  96 {
101   return true;                                     97   return true;
102 }                                                  98 }
103                                                    99 
104 //....oooOO0OOooo........oooOO0OOooo........oo    100 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
105                                                   101 
106 G4bool G4BGGPionElasticXS::IsIsoApplicable(con    102 G4bool G4BGGPionElasticXS::IsIsoApplicable(const G4DynamicParticle*, 
107                                            G4i << 103                 G4int Z, G4int A,  
108                                            con << 104                 const G4Element*,
                                                   >> 105                 const G4Material*)
109 {                                                 106 {
110   return (1 == Z);                             << 107   return (1 == Z && 2 >= A);
111 }                                                 108 }
112                                                   109 
113 //....oooOO0OOooo........oooOO0OOooo........oo    110 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
114                                                   111 
115 G4double                                          112 G4double
116 G4BGGPionElasticXS::GetElementCrossSection(con    113 G4BGGPionElasticXS::GetElementCrossSection(const G4DynamicParticle* dp,
117                                            G4i << 114              G4int ZZ, const G4Material*)
118 {                                                 115 {
119   // this method should be called only for Z >    116   // this method should be called only for Z > 1
                                                   >> 117 
120   G4double cross = 0.0;                           118   G4double cross = 0.0;
121   G4double ekin = std::max(dp->GetKineticEnerg << 119   G4double ekin = dp->GetKineticEnergy();
122   G4int Z = std::min(ZZ, 92);                  << 120   G4int Z = ZZ;
123   if(1 == Z) {                                    121   if(1 == Z) {
124     cross = 1.0115*GetIsoCrossSection(dp,1,1);    122     cross = 1.0115*GetIsoCrossSection(dp,1,1);
125   } else {                                        123   } else {
                                                   >> 124     if(Z > 92) { Z = 92; }
                                                   >> 125 
126     if(ekin <= fLowEnergy) {                      126     if(ekin <= fLowEnergy) {
127       cross = (isPiplus) ? theCoulombFacPiPlus << 127       cross = theCoulombFac[Z];
128         : theCoulombFacPiMinus[Z]*FactorPiMinu << 
129     } else if(ekin > fGlauberEnergy) {            128     } else if(ekin > fGlauberEnergy) {
130       cross = (isPiplus) ? theGlauberFacPiPlus << 129       cross = theGlauberFac[Z]*fGlauber->GetElasticGlauberGribov(dp, Z, theA[Z]);
131       cross *= fGlauber->GetElasticGlauberGrib << 
132     } else {                                      130     } else {
133       cross = fPion->GetElasticCrossSection(dp    131       cross = fPion->GetElasticCrossSection(dp, Z, theA[Z]);
134     }                                             132     }
135   }                                               133   }
136 #ifdef G4VERBOSE                               << 
137   if(verboseLevel > 1) {                          134   if(verboseLevel > 1) {
138     G4cout << "G4BGGPionElasticXS::GetElementC    135     G4cout << "G4BGGPionElasticXS::GetElementCrossSection  for "
139            << dp->GetDefinition()->GetParticle << 136      << dp->GetDefinition()->GetParticleName()
140            << "  Ekin(GeV)= " << dp->GetKineti << 137      << "  Ekin(GeV)= " << dp->GetKineticEnergy()
141            << " in nucleus Z= " << Z << "  A=  << 138      << " in nucleus Z= " << Z << "  A= " << theA[Z]
142            << " XS(b)= " << cross/barn         << 139      << " XS(b)= " << cross/barn 
143            << G4endl;                          << 140      << G4endl;
144   }                                               141   }
145 #endif                                         << 
146   return cross;                                   142   return cross;
147 }                                                 143 }
148                                                   144 
149 //....oooOO0OOooo........oooOO0OOooo........oo << 
150                                                << 
151 G4double                                          145 G4double
152 G4BGGPionElasticXS::GetIsoCrossSection(const G    146 G4BGGPionElasticXS::GetIsoCrossSection(const G4DynamicParticle* dp, 
153                                        G4int,  << 147                G4int Z, G4int A, 
154                                        const G << 148                const G4Isotope*,
155                                        const G << 149                const G4Element*,
156                                        const G << 150                const G4Material*)
157 {                                                 151 {
158   // this method should be called only for Z =    152   // this method should be called only for Z = 1
159   fHadron->HadronNucleonXscNS(dp->GetDefinitio << 
160                               dp->GetKineticEn << 
161   G4double cross = A*fHadron->GetElasticHadron << 
162                                                   153 
163 #ifdef G4VERBOSE                               << 154   G4double cross = 0.0;
                                                   >> 155   G4double ekin = dp->GetKineticEnergy();
                                                   >> 156 
                                                   >> 157   if(ekin <= fSAIDHighEnergyLimit) {
                                                   >> 158     cross = fSAID->GetElasticIsotopeCrossSection(particle, ekin, 1, 1);
                                                   >> 159   } else {
                                                   >> 160     fHadron->GetHadronNucleonXscPDG(dp, theProton);
                                                   >> 161     cross = theCoulombFac[1]*fHadron->GetElasticHadronNucleonXsc();
                                                   >> 162   } 
                                                   >> 163   cross *= A;
                                                   >> 164   /*
                                                   >> 165   if(ekin <= fLowEnergy) {
                                                   >> 166     cross = theCoulombFac[1];
                                                   >> 167 
                                                   >> 168   } else if( A < 2) {
                                                   >> 169     fHadron->GetHadronNucleonXscNS(dp, G4Proton::Proton());
                                                   >> 170     cross = fHadron->GetElasticHadronNucleonXsc();
                                                   >> 171   } else {
                                                   >> 172     fHadron->GetHadronNucleonXscNS(dp, G4Proton::Proton());
                                                   >> 173     cross = fHadron->GetElasticHadronNucleonXsc();
                                                   >> 174     fHadron->GetHadronNucleonXscNS(dp, G4Neutron::Neutron());
                                                   >> 175     cross += fHadron->GetElasticHadronNucleonXsc();
                                                   >> 176   }
                                                   >> 177   */
164   if(verboseLevel > 1) {                          178   if(verboseLevel > 1) {
165     G4cout << "G4BGGPionElasticXS::GetIsoCross    179     G4cout << "G4BGGPionElasticXS::GetIsoCrossSection  for "
166            << dp->GetDefinition()->GetParticle << 180      << dp->GetDefinition()->GetParticleName()
167            << "  Ekin(GeV)= " << dp->GetKineti << 181      << "  Ekin(GeV)= " << dp->GetKineticEnergy()
168            << " in nucleus Z=1  A=" << A       << 182      << " in nucleus Z= " << Z << "  A= " << A
169            << " XS(b)= " << cross/barn         << 183      << " XS(b)= " << cross/barn 
170            << G4endl;                          << 184      << G4endl;
171   }                                               185   }
172 #endif                                         << 
173   return cross;                                   186   return cross;
174 }                                                 187 }
175                                                   188 
176 //....oooOO0OOooo........oooOO0OOooo........oo    189 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
177                                                   190 
178 void G4BGGPionElasticXS::BuildPhysicsTable(con    191 void G4BGGPionElasticXS::BuildPhysicsTable(const G4ParticleDefinition& p)
179 {                                                 192 {
180   if(verboseLevel > 1) {                       << 
181     G4cout << "G4BGGPionElasticXS::BuildPhysic << 
182            << p.GetParticleName() << G4endl;   << 
183   }                                            << 
184   if(&p == G4PionPlus::PionPlus() || &p == G4P    193   if(&p == G4PionPlus::PionPlus() || &p == G4PionMinus::PionMinus()) {
185     isPiplus = (&p == G4PionPlus::PionPlus()); << 194     particle = &p;
186   } else {                                        195   } else {
187     G4ExceptionDescription ed;                 << 196     G4cout << "### G4BGGPionElasticXS WARNING: is not applicable to " 
188     ed << "This BGG cross section is applicabl << 197      << p.GetParticleName()
189        << p.GetParticleName() << G4endl;       << 198      << G4endl;
190     G4Exception("G4BGGPionElasticXS::BuildPhys << 199     throw G4HadronicException(__FILE__, __LINE__,
191                 FatalException, ed);           << 200     "G4BGGPionElasticXS::BuildPhysicsTable is used for wrong particle");
                                                   >> 201     return;
192   }                                               202   }
193 }                                              << 
194                                                   203 
195 //....oooOO0OOooo........oooOO0OOooo........oo << 204   if(isInitialized) { return; }
                                                   >> 205   isInitialized = true;
196                                                   206 
197 void G4BGGPionElasticXS::Initialise()          << 207   fPion    = new G4UPiNuclearCrossSection();
198 {                                              << 208   fGlauber = new G4GlauberGribovCrossSection();
199   theA[0] = theA[1] = 1;                       << 209   fHadron  = new G4HadronNucleonXsc();
                                                   >> 210   fSAID    = new G4ComponentSAIDTotalXS();
                                                   >> 211   fPion->BuildPhysicsTable(*particle);
                                                   >> 212   fGlauber->BuildPhysicsTable(*particle);
                                                   >> 213   if(particle == G4PionPlus::PionPlus()) { isPiplus = true; }
                                                   >> 214 
                                                   >> 215   G4ParticleDefinition* part = const_cast<G4ParticleDefinition*>(particle);
200   G4ThreeVector mom(0.0,0.0,1.0);                 216   G4ThreeVector mom(0.0,0.0,1.0);
201   G4DynamicParticle dp(thePiPlus, mom, fGlaube << 217   G4DynamicParticle dp(part, mom, fGlauberEnergy);
202                                                   218 
203   G4NistManager* nist = G4NistManager::Instanc    219   G4NistManager* nist = G4NistManager::Instance();
204                                                   220 
205   G4double csup, csdn;                            221   G4double csup, csdn;
206   for (G4int iz=2; iz<93; ++iz) {              << 222   G4int A;
207                                                   223 
208     G4int A = G4lrint(nist->GetAtomicMassAmu(i << 224   if(verboseLevel > 0) {
                                                   >> 225     G4cout << "### G4BGGPionElasticXS::Initialise for "
                                                   >> 226      << particle->GetParticleName() << G4endl;
                                                   >> 227   }
                                                   >> 228   for(G4int iz=2; iz<93; iz++) {
                                                   >> 229 
                                                   >> 230     A = G4lrint(nist->GetAtomicMassAmu(iz));
209     theA[iz] = A;                                 231     theA[iz] = A;
210                                                   232 
211     csup = fGlauber->GetElasticGlauberGribov(&    233     csup = fGlauber->GetElasticGlauberGribov(&dp, iz, A);
212     csdn = fPion->GetElasticCrossSection(&dp,     234     csdn = fPion->GetElasticCrossSection(&dp, iz, A);
213     theGlauberFacPiPlus[iz] = csdn/csup;       << 
214   }                                            << 
215                                                   235 
216   dp.SetDefinition(G4PionMinus::PionMinus());  << 236     theGlauberFac[iz] = csdn/csup;
217   for (G4int iz=2; iz<93; ++iz) {              << 237     if(verboseLevel > 0) {
218     csup = fGlauber->GetElasticGlauberGribov(& << 238       G4cout << "Z= " << iz <<  "  A= " << A 
219     csdn = fPion->GetElasticCrossSection(&dp,  << 239        << " factor= " << theGlauberFac[iz] << G4endl; 
220     theGlauberFacPiMinus[iz] = csdn/csup;      << 
221                                                << 
222     if (verboseLevel > 1) {                    << 
223       G4cout << "Z= " << iz <<  "  A= " << the << 
224        << " factorPiPlus= " << theGlauberFacPi << 
225        << " factorPiMinus= " << theGlauberFacP << 
226        << G4endl;                              << 
227     }                                             240     }
228   }                                               241   }
229   theCoulombFacPiPlus[1] = 1.0;                << 242   /*
230   theCoulombFacPiMinus[1]= 1.0;                << 
231   dp.SetKineticEnergy(fLowEnergy);                243   dp.SetKineticEnergy(fLowEnergy);
232   dp.SetDefinition(thePiPlus);                 << 244   fHadron->GetHadronNucleonXscNS(&dp, G4Proton::Proton());
233   for (G4int iz=2; iz<93; ++iz) {              << 245   theCoulombFac[1] = fHadron->GetElasticHadronNucleonXsc();
234     theCoulombFacPiPlus[iz] = fPion->GetElasti << 246   */
235       /CoulombFactorPiPlus(fLowEnergy, iz);    << 247   dp.SetKineticEnergy(fSAIDHighEnergyLimit);
236   }                                            << 248   fHadron->GetHadronNucleonXscPDG(&dp, theProton);
237   dp.SetDefinition(G4PionMinus::PionMinus());  << 249   theCoulombFac[1] = 
238   for(G4int iz=2; iz<93; ++iz) {               << 250     fSAID->GetElasticIsotopeCrossSection(particle,fSAIDHighEnergyLimit,1,1)
239     theCoulombFacPiMinus[iz] = fPion->GetElast << 251     /fHadron->GetElasticHadronNucleonXsc();
240       /FactorPiMinus(fLowEnergy);              << 252 
241                                                << 253   dp.SetKineticEnergy(fLowEnergy);
242     if(verboseLevel > 1) {                     << 254   for(G4int iz=2; iz<93; iz++) {
243       G4cout << "Z= " << iz <<  "  A= " << the << 255     theCoulombFac[iz] = fPion->GetElasticCrossSection(&dp, iz, theA[iz]);
244        << " CoulombFactorPiPlus= " << theCoulo << 256     if(verboseLevel > 0) {
245        << " CoulombFactorPiMinus= " << theCoul << 257       G4cout << "Z= " << iz <<  "  A= " << A 
246        << G4endl;                              << 258        << " factor= " << theCoulombFac[iz] << G4endl; 
247     }                                             259     }
248   }                                               260   }
249 }                                                 261 }
250                                                   262 
251 //....oooOO0OOooo........oooOO0OOooo........oo << 
252                                                << 
253 G4double G4BGGPionElasticXS::CoulombFactorPiPl << 
254 {                                              << 
255   return (kinEnergy > 0.0) ?                   << 
256     G4NuclearRadii::CoulombFactor(Z, theA[Z],  << 
257 }                                              << 
258                                                << 
259 //....oooOO0OOooo........oooOO0OOooo........oo << 
260                                                << 
261 G4double G4BGGPionElasticXS::FactorPiMinus(G4d << 
262 {                                              << 
263   return 1.0/std::sqrt(kinEnergy);             << 
264 }                                              << 
265                                                << 
266 //....oooOO0OOooo........oooOO0OOooo........oo << 
267                                                << 
268 void                                              263 void
269 G4BGGPionElasticXS::CrossSectionDescription(st    264 G4BGGPionElasticXS::CrossSectionDescription(std::ostream& outFile) const 
270 {                                                 265 {
271   outFile << "The Barashenkov-Glauber-Gribov c    266   outFile << "The Barashenkov-Glauber-Gribov cross section handles elastic\n"
272           << "scattering of pions from nuclei     267           << "scattering of pions from nuclei at all energies. The\n"
273           << "Barashenkov parameterization is     268           << "Barashenkov parameterization is used below 91 GeV and the\n"
274           << "Glauber-Gribov parameterization     269           << "Glauber-Gribov parameterization is used above 91 GeV.\n";
275 }                                                 270 }
276                                                << 
277 //....oooOO0OOooo........oooOO0OOooo........oo << 
278                                                   271