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

    r1337 r1340  
    2424// ********************************************************************
    2525//
    26 // $Id: G4NeutronCaptureXS.hh,v 1.1 2009/11/12 00:36:01 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     26// $Id: G4NeutronCaptureXS.hh,v 1.4 2010/10/15 22:32:40 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 radiative capture cross section based on
     43// data files from G4NEUTRONXSDATA data set
     44// Class Description - End
    4045 
    41 
    4246#ifndef G4NeutronCaptureXS_h
    4347#define G4NeutronCaptureXS_h 1
     
    4549#include "G4VCrossSectionDataSet.hh"
    4650#include "globals.hh"
     51#include <vector>
    4752
    4853class G4DynamicParticle;
     
    5560public: // With Description
    5661
    57   G4int Z;
    5862  G4NeutronCaptureXS();
    5963
    6064  virtual ~G4NeutronCaptureXS();
    6165
    62   // The following methods need to be implemented for each new data set.
    6366  virtual
    6467  G4bool IsApplicable(const G4DynamicParticle*, const G4Element*);
    6568
    6669  virtual
    67   G4bool IsZAApplicable(const G4DynamicParticle*,
    68                         G4double /*Z*/, G4double /*A*/);
     70  G4bool IsIsoApplicable(const G4DynamicParticle*, G4int /*Z*/, G4int /*A*/);
    6971
    7072  virtual
     
    7981  void DumpPhysicsTable(const G4ParticleDefinition&);
    8082
    81 
    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
     83private:
    9484
    9585  void Initialise(G4int Z, const char* = 0);
     
    9888  G4NeutronCaptureXS(const G4NeutronCaptureXS&);
    9989
    100   G4double         emax;
    101   G4PhysicsVector* data[93];
     90  G4double emax;
     91  G4int    maxZ;
     92  std::vector<G4PhysicsVector*> data;
    10293
    10394  G4bool  isInitialized;
Note: See TracChangeset for help on using the changeset viewer.