Geant4 Cross Reference

Cross-Referencing   Geant4
Geant4/processes/electromagnetic/standard/include/G4PAIxSection.hh

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/electromagnetic/standard/include/G4PAIxSection.hh (Version 11.3.0) and /processes/electromagnetic/standard/include/G4PAIxSection.hh (Version 9.0.p2)


  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 //
                                                   >>  26 //
                                                   >>  27 // $Id: G4PAIxSection.hh,v 1.12 2006/06/29 19:50:44 gunter Exp $
                                                   >>  28 // GEANT4 tag $Name: geant4-08-03-patch-01 $
                                                   >>  29 //
 25 //                                                 30 // 
 26 // G4PAIxSection.hh -- header file                 31 // G4PAIxSection.hh -- header file
 27 //                                                 32 //
 28 // GEANT 4 class header file --- Copyright CER     33 // GEANT 4 class header file --- Copyright CERN 1995
 29 // CERB Geneva Switzerland                         34 // CERB Geneva Switzerland
 30 //                                                 35 //
 31 // for information related to this code, pleas     36 // for information related to this code, please, contact
 32 // CERN, CN Division, ASD Group                    37 // CERN, CN Division, ASD Group
 33 //                                                 38 //
 34 // Preparation of ionizing collision cross sec     39 // Preparation of ionizing collision cross section according to Photo Absorption 
 35 // Ionization (PAI) model for simulation of io     40 // Ionization (PAI) model for simulation of ionization energy losses in very thin
 36 // absorbers. Author: Vladimir.Grichine@cern.c     41 // absorbers. Author: Vladimir.Grichine@cern.ch
 37 //                                                 42 //
 38 // History:                                        43 // History:
 39 //                                                 44 //
 40 // 28.10.11, V. Ivanchenko: Migration of excep <<  45 // 19.10.03, V. Grichine: Integral dEdx was added for G4PAIModel class  
 41 // 19.10.03, V. Grichine: Integral dEdx was ad <<  46 //                       
 42 // 13.05.03, V. Grichine: Numerical instabilit     47 // 13.05.03, V. Grichine: Numerical instability was fixed in SumOverInterval/Border 
 43 //                        functions                48 //                        functions
 44 // 10.02.02, V. Grichine: New functions and ar     49 // 10.02.02, V. Grichine: New functions and arrays/gets for Cerenkov and 
 45 //                        plasmon collisions d     50 //                        plasmon collisions dN/dx
 46 // 27.10.99, V. Grichine: Bug fixed in constru     51 // 27.10.99, V. Grichine: Bug fixed in constructors, 3rd constructor and 
 47 //                        GetStepEnergyLoss(st     52 //                        GetStepEnergyLoss(step) were added, fDelta = 0.005
 48 // 30.11.97, V. Grichine: 2nd version              53 // 30.11.97, V. Grichine: 2nd version 
 49 // 11.06.97, V. Grichine: 1st version              54 // 11.06.97, V. Grichine: 1st version
 50                                                    55 
 51 #ifndef G4PAIXSECTION_HH                           56 #ifndef G4PAIXSECTION_HH
 52 #define G4PAIXSECTION_HH                           57 #define G4PAIXSECTION_HH
 53                                                    58 
 54 #include "G4ios.hh"                                59 #include "G4ios.hh"
 55 #include "globals.hh"                              60 #include "globals.hh"
 56 #include "Randomize.hh"                            61 #include "Randomize.hh"
 57                                                    62 
 58 #include "G4SandiaTable.hh"                    <<  63 #include"G4SandiaTable.hh"
 59                                                    64 
 60 class G4MaterialCutsCouple;                        65 class G4MaterialCutsCouple;
 61 class G4Sandiatable;                               66 class G4Sandiatable;
 62                                                    67 
 63                                                    68 
 64 class G4PAIxSection                                69 class G4PAIxSection
 65 {                                                  70 {
 66 public:                                            71 public:
 67     // Constructors                                72     // Constructors
 68   G4PAIxSection();                             << 
 69   G4PAIxSection( G4MaterialCutsCouple* matCC);     73   G4PAIxSection( G4MaterialCutsCouple* matCC);
 70                                                    74     
 71   G4PAIxSection( G4int materialIndex, G4double <<  75   G4PAIxSection( G4int materialIndex,
                                                   >>  76                    G4double maxEnergyTransfer   ) ;
 72                                                    77     
 73   G4PAIxSection( G4int materialIndex,              78   G4PAIxSection( G4int materialIndex,           // for proton loss table
 74              G4double maxEnergyTransfer,           79              G4double maxEnergyTransfer,
 75              G4double betaGammaSq ,                80              G4double betaGammaSq ,
 76                          G4double** photoAbsCo <<  81                          G4double** photoAbsCof, G4int intNumber         ) ;
 77                                                    82 
 78   G4PAIxSection( G4int materialIndex,              83   G4PAIxSection( G4int materialIndex,           // test constructor
 79              G4double maxEnergyTransfer,           84              G4double maxEnergyTransfer,
 80              G4double betaGammaSq          );  <<  85              G4double betaGammaSq          ) ;
 81                                                    86     
 82   ~G4PAIxSection();                            <<  87     // G4PAIxSection(const G4PAIxSection& right) ;
 83                                                << 
 84   void Initialize(const G4Material* material,  << 
 85       G4double betaGammaSq, G4SandiaTable*);   << 
 86                                                    88     
 87   // General control functions                 <<  89     // Destructor
 88                                                <<  90     
 89   void     ComputeLowEnergyCof(const G4Materia <<  91           ~G4PAIxSection() ;
 90   void     ComputeLowEnergyCof();              <<  92     
                                                   >>  93     // Operators
                                                   >>  94           // G4PAIxSection& operator=(const G4PAIxSection& right) ;
                                                   >>  95           // G4int operator==(const G4PAIxSection& right)const ;
                                                   >>  96           // G4int operator!=(const G4PAIxSection& right)const ;
                                                   >>  97     
                                                   >>  98     // Methods
                                                   >>  99     
                                                   >> 100     // General control functions
 91                                                   101           
 92   void InitPAI();                              << 102     void InitPAI() ;
 93                                                   103 
 94   void NormShift( G4double betaGammaSq );      << 104           void NormShift( G4double betaGammaSq ) ;
 95                                                   105 
 96   void SplainPAI( G4double betaGammaSq );      << 106           void SplainPAI( G4double betaGammaSq ) ;
 97                                                   107         
 98   // Physical methods                          << 108     // Physical methods
 99                                                   109           
100   G4double RutherfordIntegral( G4int intervalN << 110 
101              G4double limitLow,                << 111           G4double RutherfordIntegral( G4int intervalNumber,
102              G4double limitHigh );             << 112                                  G4double limitLow,
103                                                << 113                G4double limitHigh     ) ;
104   G4double ImPartDielectricConst( G4int interv << 114 
105           G4double energy );                   << 115           G4double ImPartDielectricConst( G4int intervalNumber,
106                                                << 116                                     G4double energy        ) ;
107   G4double GetPhotonRange( G4double energy );  << 117 
108   G4double GetElectronRange( G4double energy ) << 118           G4double RePartDielectricConst(G4double energy) ;
109                                                << 119 
110   G4double RePartDielectricConst(G4double ener << 120           G4double DifPAIxSection( G4int intervalNumber,
111                                                << 121                              G4double betaGammaSq    ) ;
112   G4double DifPAIxSection( G4int intervalNumbe << 122 
113          G4double betaGammaSq );               << 123           G4double PAIdNdxCerenkov( G4int intervalNumber,
114                                                << 124                              G4double betaGammaSq    ) ;
115   G4double PAIdNdxCerenkov( G4int intervalNumb << 125 
116           G4double betaGammaSq );              << 126           G4double PAIdNdxPlasmon( G4int intervalNumber,
117   G4double PAIdNdxMM( G4int intervalNumber,    << 127                              G4double betaGammaSq    ) ;
118           G4double betaGammaSq );              << 128 
119                                                << 129     void     IntegralPAIxSection() ;
120   G4double PAIdNdxPlasmon( G4int intervalNumbe << 130     void     IntegralCerenkov() ;
121          G4double betaGammaSq );               << 131     void     IntegralPlasmon() ;
122                                                << 132 
123   G4double PAIdNdxResonance( G4int intervalNum << 133           G4double SumOverInterval(G4int intervalNumber) ;
124            G4double betaGammaSq );             << 134           G4double SumOverIntervaldEdx(G4int intervalNumber) ;
125                                                << 135           G4double SumOverInterCerenkov(G4int intervalNumber) ;
126                                                << 136           G4double SumOverInterPlasmon(G4int intervalNumber) ;
127   void     IntegralPAIxSection();              << 137 
128   void     IntegralCerenkov();                 << 138           G4double SumOverBorder( G4int intervalNumber,
129   void     IntegralMM();                       << 139                             G4double energy          ) ;
130   void     IntegralPlasmon();                  << 140           G4double SumOverBorderdEdx( G4int intervalNumber,
131   void     IntegralResonance();                << 141                             G4double energy          ) ;
132                                                << 142           G4double SumOverBordCerenkov( G4int intervalNumber,
133   G4double SumOverInterval(G4int intervalNumbe << 143                                   G4double energy          ) ;
134   G4double SumOverIntervaldEdx(G4int intervalN << 144           G4double SumOverBordPlasmon( G4int intervalNumber,
135   G4double SumOverInterCerenkov(G4int interval << 145                                  G4double energy          ) ;
136   G4double SumOverInterMM(G4int intervalNumber << 146 
137   G4double SumOverInterPlasmon(G4int intervalN << 147           G4double GetStepEnergyLoss( G4double step ) ;
138   G4double SumOverInterResonance(G4int interva << 148           G4double GetStepCerenkovLoss( G4double step ) ;
139                                                << 149           G4double GetStepPlasmonLoss( G4double step ) ;
140   G4double SumOverBorder( G4int intervalNumber << 
141         G4double energy          );            << 
142   G4double SumOverBorderdEdx( G4int intervalNu << 
143             G4double energy          );        << 
144   G4double SumOverBordCerenkov( G4int interval << 
145         G4double energy          );            << 
146   G4double SumOverBordMM( G4int intervalNumber << 
147         G4double energy          );            << 
148   G4double SumOverBordPlasmon( G4int intervalN << 
149              G4double energy          );       << 
150   G4double SumOverBordResonance( G4int interva << 
151          G4double energy          );           << 
152                                                << 
153   G4double GetStepEnergyLoss( G4double step ); << 
154   G4double GetStepCerenkovLoss( G4double step  << 
155   G4double GetStepMMLoss( G4double step );     << 
156   G4double GetStepPlasmonLoss( G4double step ) << 
157   G4double GetStepResonanceLoss( G4double step << 
158                                                << 
159   G4double GetEnergyTransfer();                << 
160   G4double GetCerenkovEnergyTransfer();        << 
161   G4double GetMMEnergyTransfer();              << 
162   G4double GetPlasmonEnergyTransfer();         << 
163   G4double GetResonanceEnergyTransfer();       << 
164   G4double GetRutherfordEnergyTransfer();      << 
165                                                   150    
166   // Inline access functions                   << 151     // Inline access functions
167                                                   152 
168   G4int GetNumberOfGammas() const { return fNu << 153     G4int GetNumberOfGammas() const { return fNumberOfGammas ; }
169                                                   154     
170   G4int GetSplineSize() const { return fSpline << 155           G4int GetSplineSize() const { return fSplineNumber ; }
171                                                   156     
172   G4int GetIntervalNumber() const { return fIn << 157           G4int GetIntervalNumber() const { return fIntervalNumber ; }
173                                                   158 
174   G4double GetEnergyInterval(G4int i){ return  << 159           G4double GetEnergyInterval(G4int i){ return fEnergyInterval[i] ; } 
175                                                   160 
176   G4double GetDifPAIxSection(G4int i){ return  << 161           G4double GetDifPAIxSection(G4int i){ return fDifPAIxSection[i] ; } 
177   G4double GetPAIdNdxCerenkov(G4int i){ return << 162           G4double GetPAIdNdxCrenkov(G4int i){ return fdNdxCerenkov[i] ; } 
178   G4double GetPAIdNdxMM(G4int i){ return fdNdx << 163           G4double GetPAIdNdxPlasmon(G4int i){ return fdNdxPlasmon[i] ; } 
179   G4double GetPAIdNdxPlasmon(G4int i){ return  << 
180   G4double GetPAIdNdxResonance(G4int i){ retur << 
181                                                   164     
182   G4double GetMeanEnergyLoss() const {return f << 165     G4double GetMeanEnergyLoss() const {return fIntegralPAIxSection[0] ; }
183   G4double GetMeanCerenkovLoss() const {return << 166     G4double GetMeanCerenkovLoss() const {return fIntegralCerenkov[0] ; }
184   G4double GetMeanMMLoss() const {return fInte << 167     G4double GetMeanPlasmonLoss() const {return fIntegralPlasmon[0] ; }
185   G4double GetMeanPlasmonLoss() const {return  << 
186   G4double GetMeanResonanceLoss() const {retur << 
187                                                << 
188   G4double GetNormalizationCof() const { retur << 
189                                                   168 
190   G4double GetLowEnergyCof() const { return fL << 169     G4double GetNormalizationCof() const { return fNormalizationCof ; }
191                                                << 170           
192   G4double GetLorentzFactor(G4int i) const;    << 171     inline G4double GetPAItable(G4int i,G4int j) const ;
193                                                   172 
194   inline void SetVerbose(G4int v) { fVerbose=v << 173           inline G4double    GetLorentzFactor(G4int i) const ;
195                                                << 174         
196                                                << 175     inline G4double GetSplineEnergy(G4int i) const ;
197   inline G4double GetPAItable(G4int i,G4int j) << 
198                                                << 
199   inline G4double GetSplineEnergy(G4int i) con << 
200                                                   176     
201   inline G4double GetIntegralPAIxSection(G4int << 177     inline G4double GetIntegralPAIxSection(G4int i) const ;
202   inline G4double GetIntegralPAIdEdx(G4int i)  << 178     inline G4double GetIntegralPAIdEdx(G4int i) const ;
203   inline G4double GetIntegralCerenkov(G4int i) << 179     inline G4double GetIntegralCerenkov(G4int i) const ;
204   inline G4double GetIntegralMM(G4int i) const << 180     inline G4double GetIntegralPlasmon(G4int i) const ;
205   inline G4double GetIntegralPlasmon(G4int i)  << 
206   inline G4double GetIntegralResonance(G4int i << 
207                                                   181 
208   G4PAIxSection & operator=(const G4PAIxSectio << 182 protected :
209   G4PAIxSection(const G4PAIxSection&) = delete << 
210                                                   183 
211 private :                                         184 private :
212                                                   185 
213   void CallError(G4int i, const G4String& meth << 186 // Local class constants
214                                                << 
215   // Local class constants                     << 
216                                                   187  
217   static const G4double fDelta; // energy shif << 188 static const G4double fDelta ; // energy shift from interval border = 0.001
218   static const G4double fError; // error in li << 189 static const G4double fError ; // error in lin-log approximation = 0.005
219                                                   190 
220   static G4int fNumberOfGammas; // = 111;      << 191 static       G4int fNumberOfGammas ;         // = 111 ;
221   static const G4double fLorentzFactor[112]; / << 192 static const G4double fLorentzFactor[112] ;  //  static gamma array
222                                                   193 
223   static                                       << 194 static 
224   const G4int fRefGammaNumber; // The number o << 195 const G4int fRefGammaNumber  ; // The number of gamma for creation of spline (15)
225                                                   196 
226   G4int    fIntervalNumber ;   // The number o << 197 G4int    fIntervalNumber  ;    //  The number of energy intervals
227   G4double fNormalizationCof;  // Normalizatio << 198 G4double fNormalizationCof ;   // Normalization cof for PhotoAbsorptionXsection
228                                                << 
229   G4int fMaterialIndex;      // current materi << 
230   G4double fDensity;         // Current densit << 
231   G4double fElectronDensity; // Current electr << 
232   G4double fLowEnergyCof;    // Correction cof << 
233   G4int    fSplineNumber;    // Current size o << 
234   G4int    fVerbose;         // verbose flag   << 
235                                                   199 
236   // Arrays of Sandia coefficients             << 200 // G4double fBetaGammaSq ;        // (beta*gamma)^2
237                                                   201 
238   G4OrderedTable* fMatSandiaMatrix;            << 202 G4double fDensity ;            // Current density
                                                   >> 203 G4double fElectronDensity ;    // Current electron (number) density
                                                   >> 204 G4int    fSplineNumber ;       // Current size of spline
239                                                   205 
                                                   >> 206 // Arrays of Sandia coefficients
                                                   >> 207 
                                                   >> 208   G4OrderedTable* fMatSandiaMatrix;
240   G4SandiaTable*  fSandia;                        209   G4SandiaTable*  fSandia;
241                                                   210 
242   G4DataVector fEnergyInterval;                << 211 G4double* fEnergyInterval ;
243   G4DataVector fA1;                            << 212 G4double* fA1 ; 
244   G4DataVector fA2;                            << 213 G4double* fA2 ;
245   G4DataVector fA3;                            << 214 G4double* fA3 ; 
246   G4DataVector fA4;                            << 215 G4double* fA4 ;
247                                                << 216 
248   static                                       << 217 static
249   const G4int  fMaxSplineSize ; // Max size of << 218 const G4int   fMaxSplineSize  ;          // Max size of output splain arrays = 500
250                                                << 219 
251   G4DataVector          fSplineEnergy;     //  << 220 /* ******************
252   G4DataVector   fRePartDielectricConst;   //  << 221 G4double*          fSplineEnergy ;   // energy points of splain
253   G4DataVector   fImPartDielectricConst;   //  << 222 G4double* fRePartDielectricConst ;   // Real part of dielectric const
254   G4DataVector            fIntegralTerm;   //  << 223 G4double* fImPartDielectricConst ;   // Imaginary part of dielectric const
255   G4DataVector          fDifPAIxSection;   //  << 224 G4double*          fIntegralTerm ;   // Integral term in PAI cross section
256   G4DataVector            fdNdxCerenkov;   //  << 225 G4double*        fDifPAIxSection ;   // Differential PAI cross section
257   G4DataVector            fdNdxPlasmon;    //  << 226 G4double*   fIntegralPAIxSection ;   // Integral PAI cross section  ?
258   G4DataVector            fdNdxMM;         //  << 227 */ ///////////////
259   G4DataVector            fdNdxResonance;  //  << 228 
260                                                << 229 
261   G4DataVector     fIntegralPAIxSection;   //  << 230 G4double          fSplineEnergy[500] ;   // energy points of splain
262   G4DataVector     fIntegralPAIdEdx;       //  << 231 G4double fRePartDielectricConst[500] ;   // Real part of dielectric const
263   G4DataVector     fIntegralCerenkov;      //  << 232 G4double fImPartDielectricConst[500] ;   // Imaginary part of dielectric const
264   G4DataVector     fIntegralPlasmon;       //  << 233 G4double          fIntegralTerm[500] ;   // Integral term in PAI cross section
265   G4DataVector     fIntegralMM;            //  << 234 G4double        fDifPAIxSection[500] ;   // Differential PAI cross section
266   G4DataVector     fIntegralResonance;     //  << 235 G4double          fdNdxCerenkov[500] ;   // dNdx of Cerenkov collisions
                                                   >> 236 G4double          fdNdxPlasmon[500] ;   // dNdx of Plasmon collisions
                                                   >> 237 
                                                   >> 238 G4double   fIntegralPAIxSection[500] ;   // Integral PAI cross section  ?
                                                   >> 239 G4double   fIntegralPAIdEdx[500] ;   // Integral PAI dEdx  ?
                                                   >> 240 G4double   fIntegralCerenkov[500] ;   // Integral Cerenkov N>omega  ?
                                                   >> 241 G4double   fIntegralPlasmon[500] ;   // Integral Plasmon N>omega  ?
267                                                   242 
268   G4double fPAItable[500][112]; // Output arra << 243 G4double fPAItable[500][112] ; // Output array
269                                                   244 
270 };                                             << 245 } ;    
271                                                   246 
272 ////////////////  Inline methods /////////////    247 ////////////////  Inline methods //////////////////////////////////
273 //                                                248 //
274                                                   249 
                                                   >> 250 
275 inline G4double G4PAIxSection::GetPAItable(G4i    251 inline G4double G4PAIxSection::GetPAItable(G4int i, G4int j) const
276 {                                                 252 {
277    return fPAItable[i][j];                     << 253    return fPAItable[i][j] ;
                                                   >> 254 }
                                                   >> 255 
                                                   >> 256 inline G4double G4PAIxSection::GetLorentzFactor(G4int j) const
                                                   >> 257 {
                                                   >> 258    return fLorentzFactor[j] ;
278 }                                                 259 }
279                                                   260 
280 inline G4double G4PAIxSection::GetSplineEnergy    261 inline G4double G4PAIxSection::GetSplineEnergy(G4int i) const 
281 {                                                 262 {
282   if(i < 1 || i > fSplineNumber) { CallError(i << 263    if(i < 1 || i > fSplineNumber)
283   return fSplineEnergy[i];                     << 264    {
                                                   >> 265       G4Exception("Invalid argument in G4PAIxSection::GetSplineEnergy");
                                                   >> 266    }
                                                   >> 267    return fSplineEnergy[i] ;
284 }                                                 268 }
285                                                   269     
286 inline G4double G4PAIxSection::GetIntegralPAIx    270 inline G4double G4PAIxSection::GetIntegralPAIxSection(G4int i) const 
287 {                                                 271 {
288   if(i < 1 || i > fSplineNumber) { CallError(i << 272    if(i < 1 || i > fSplineNumber)
289   return fIntegralPAIxSection[i];              << 273    {
                                                   >> 274     G4Exception("Invalid argument in G4PAIxSection::GetIntegralPAIxSection");
                                                   >> 275    }
                                                   >> 276    return fIntegralPAIxSection[i] ;
290 }                                                 277 }
291                                                   278 
292 inline G4double G4PAIxSection::GetIntegralPAId    279 inline G4double G4PAIxSection::GetIntegralPAIdEdx(G4int i) const 
293 {                                                 280 {
294   if(i < 1 || i > fSplineNumber) { CallError(i << 281    if(i < 1 || i > fSplineNumber)
295   return fIntegralPAIdEdx[i];                  << 282    {
                                                   >> 283     G4Exception("Invalid argument in G4PAIxSection::GetIntegralPAIxSection");
                                                   >> 284    }
                                                   >> 285    return fIntegralPAIdEdx[i] ;
296 }                                                 286 }
297                                                   287 
298 inline G4double G4PAIxSection::GetIntegralCere    288 inline G4double G4PAIxSection::GetIntegralCerenkov(G4int i) const 
299 {                                                 289 {
300   if(i < 1 || i > fSplineNumber) { CallError(i << 290    if(i < 1 || i > fSplineNumber)
301   return fIntegralCerenkov[i];                 << 291    {
302 }                                              << 292     G4Exception("Invalid argument in G4PAIxSection::GetIntegralCerenkov");
303                                                << 293    }
304 inline G4double G4PAIxSection::GetIntegralMM(G << 294    return fIntegralCerenkov[i] ;
305 {                                              << 
306   if(i < 1 || i > fSplineNumber) { CallError(i << 
307   return fIntegralMM[i];                       << 
308 }                                                 295 }
309                                                   296 
310 inline G4double G4PAIxSection::GetIntegralPlas    297 inline G4double G4PAIxSection::GetIntegralPlasmon(G4int i) const 
311 {                                                 298 {
312   if(i < 1 || i > fSplineNumber) { CallError(i << 299    if(i < 1 || i > fSplineNumber)
313   return fIntegralPlasmon[i];                  << 300    {
314 }                                              << 301     G4Exception("Invalid argument in G4PAIxSection::GetIntegralPlasmon");
315                                                << 302    }
316 inline G4double G4PAIxSection::GetIntegralReso << 303    return fIntegralPlasmon[i] ;
317 {                                              << 
318   if(i < 1 || i > fSplineNumber) { CallError(i << 
319   return fIntegralResonance[i];                << 
320 }                                                 304 }
321                                                   305 
322 #endif                                            306 #endif   
323                                                   307 
324 // -----------------   end of G4PAIxSection he    308 // -----------------   end of G4PAIxSection header file    -------------------
325                                                   309