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/G4NeutronInelasticXS.hh

    r1337 r1340  
    2424// ********************************************************************
    2525//
    26 // $Id: G4NeutronInelasticXS.hh,v 1.3 2009/11/19 11:52:27 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     26// $Id: G4NeutronInelasticXS.hh,v 1.6 2010/10/15 22:33:22 dennis Exp $
     27// GEANT4 tag $Name: hadr-cross-V09-03-12 $
    2828//
    2929// -------------------------------------------------------------------
     
    3838// Modifications:
    3939//
     40
     41// Class Description:
     42// This is a base class for neutron inelastic hadronic cross section based on
     43// data files from G4NEUTRONXSDATA data set
     44// Class Description - End
    4045 
    41 
    4246#ifndef G4NeutronInelasticXS_h
    4347#define G4NeutronInelasticXS_h 1
     
    4549#include "G4VCrossSectionDataSet.hh"
    4650#include "globals.hh"
     51#include <vector>
    4752
    4853class G4DynamicParticle;
     
    5156class G4PhysicsVector;
    5257class G4GlauberGribovCrossSection;
     58class G4HadronNucleonXsc;
    5359
    5460class G4NeutronInelasticXS : public G4VCrossSectionDataSet
    5561{
    56 public: // With Description
     62public:
    5763
    58   G4int Z;
    5964  G4NeutronInelasticXS();
    6065
    6166  virtual ~G4NeutronInelasticXS();
    6267
    63   // The following methods need to be implemented for each new data set.
    6468  virtual
    6569  G4bool IsApplicable(const G4DynamicParticle*, const G4Element*);
    6670
    6771  virtual
    68   G4bool IsZAApplicable(const G4DynamicParticle*,
    69                         G4double /*Z*/, G4double /*A*/);
     72  G4bool IsIsoApplicable(const G4DynamicParticle*, G4int /*Z*/, G4int /*A*/);
    7073
    7174  virtual
    72   G4double GetCrossSection(const G4DynamicParticle*,
    73                            const G4Element*,
     75  G4double GetCrossSection(const G4DynamicParticle*, const G4Element*,
    7476                           G4double aTemperature = 0.);
    7577
     
    8082  void DumpPhysicsTable(const G4ParticleDefinition&);
    8183
    82 public: // Without Description
    83 
    84   inline void SetVerboseLevel(G4int value)
    85   {
    86     verboseLevel = value;
    87   }
    88   inline G4int GetVerboseLevel()
    89   {
    90     return verboseLevel;
    91   }
    92 
    93 private: // Without Description
     84private:
    9485
    9586  void Initialise(G4int Z, G4DynamicParticle* dp = 0, const char* = 0);
     
    9990 
    10091  G4GlauberGribovCrossSection* ggXsection;
     92  G4HadronNucleonXsc* fNucleon;
    10193
    102   G4PhysicsVector* data[93];
    103   G4double         coeff[93];
     94  const G4ParticleDefinition* proton;
     95
     96  std::vector<G4PhysicsVector*> data;
     97  std::vector<G4double>         coeff;
     98  G4int   maxZ;
    10499
    105100  G4bool  isInitialized;
Note: See TracChangeset for help on using the changeset viewer.