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

    r1337 r1340  
    2424// ********************************************************************
    2525//
    26 // $Id: G4NeutronElasticXS.hh,v 1.3 2009/11/19 11:51:46 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     26// $Id: G4NeutronElasticXS.hh,v 1.6 2010/10/15 22:32:55 dennis Exp $
     27// GEANT4 tag $Name: hadr-cross-V09-03-12 $
    2828//
    2929// -------------------------------------------------------------------
     
    3939//
    4040 
     41// Class Description:
     42// This is a base class for neutron elastic hadronic cross section based on
     43// data files from G4NEUTRONXSDATA data set
     44// Class Description - End
    4145
    4246#ifndef G4NeutronElasticXS_h
     
    4549#include "G4VCrossSectionDataSet.hh"
    4650#include "globals.hh"
     51#include <vector>
    4752
    4853class G4DynamicParticle;
     
    5156class G4PhysicsVector;
    5257class G4GlauberGribovCrossSection;
     58class G4HadronNucleonXsc;
    5359
    5460class G4NeutronElasticXS : public G4VCrossSectionDataSet
     
    5662public: // With Description
    5763
    58   G4int Z;
    5964  G4NeutronElasticXS();
    6065
    6166  virtual ~G4NeutronElasticXS();
    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
     
    8083  void DumpPhysicsTable(const G4ParticleDefinition&);
    8184
    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
     85private:
    9486
    9587  void Initialise(G4int Z, G4DynamicParticle* dp = 0, const char* = 0);
     
    9991 
    10092  G4GlauberGribovCrossSection* ggXsection;
     93  G4HadronNucleonXsc* fNucleon;
    10194
    102   G4PhysicsVector* data[93];
    103   G4double         coeff[93];
     95  const G4ParticleDefinition* proton;
     96
     97  std::vector<G4PhysicsVector*> data;
     98  std::vector<G4double>         coeff;
     99  G4int   maxZ;
    104100
    105101  G4bool  isInitialized;
Note: See TracChangeset for help on using the changeset viewer.