Ignore:
Timestamp:
Apr 20, 2009, 5:54:05 PM (15 years ago)
Author:
garnier
Message:

update to geant4.9.2

Location:
trunk/source/processes/hadronic/cross_sections/include
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/cross_sections/include/G4BGGNucleonElasticXS.hh

    r962 r1007  
    2525//
    2626// $Id: G4BGGNucleonElasticXS.hh,v 1.2 2008/12/01 16:50:23 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     27// GEANT4 tag $Name: geant4-09-02 $
    2828//
    2929// -------------------------------------------------------------------
  • trunk/source/processes/hadronic/cross_sections/include/G4BGGNucleonInelasticXS.hh

    r962 r1007  
    2525//
    2626// $Id: G4BGGNucleonInelasticXS.hh,v 1.2 2008/12/01 16:50:23 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     27// GEANT4 tag $Name: geant4-09-02 $
    2828//
    2929// -------------------------------------------------------------------
  • trunk/source/processes/hadronic/cross_sections/include/G4BGGPionElasticXS.hh

    r962 r1007  
    2525//
    2626// $Id: G4BGGPionElasticXS.hh,v 1.2 2008/12/01 16:50:23 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     27// GEANT4 tag $Name: geant4-09-02 $
    2828//
    2929// -------------------------------------------------------------------
  • trunk/source/processes/hadronic/cross_sections/include/G4BGGPionInelasticXS.hh

    r962 r1007  
    2525//
    2626// $Id: G4BGGPionInelasticXS.hh,v 1.2 2008/12/01 16:50:23 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     27// GEANT4 tag $Name: geant4-09-02 $
    2828//
    2929// -------------------------------------------------------------------
  • trunk/source/processes/hadronic/cross_sections/include/G4CrossSectionDataStore.hh

    r962 r1007  
    2424// ********************************************************************
    2525//
    26 // $Id: G4CrossSectionDataStore.hh,v 1.14 2009/01/24 11:54:47 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
    28 //
    29 // -------------------------------------------------------------------
    30 //
    31 // GEANT4 Class header file
    32 //
    33 //
    34 // File name:     G4CrossSectionDataStore
    35 //
    36 //
    37 // Modifications:
    38 // 23.01.2009 V.Ivanchenko move constructor and destructor to source,
    39 //                         use STL vector instead of C-array
    40 //
    41 
    4226// Class Description
    4327// This is the class to which cross section data sets may be registered.
     
    5640#include "G4Material.hh"
    5741#include "G4VCrossSectionDataSet.hh"
    58 #include <vector>
    5942
    6043class G4Nucleus;
     
    6447public:
    6548
    66   G4CrossSectionDataStore();
     49   G4CrossSectionDataStore() :
     50      NDataSetList(0), verboseLevel(0)
     51   {}
    6752
    68   ~G4CrossSectionDataStore();
     53   ~G4CrossSectionDataStore()
     54   {}
    6955
    70   G4double GetCrossSection(const G4DynamicParticle*,
    71                            const G4Element*, G4double aTemperature);
     56   G4double GetCrossSection(const G4DynamicParticle*,
     57                            const G4Element*, G4double aTemperature);
    7258
    73   G4double GetCrossSection(const G4DynamicParticle*,
    74                            const G4Isotope*, G4double aTemperature);
     59   G4double GetCrossSection(const G4DynamicParticle*,
     60                            const G4Isotope*, G4double aTemperature);
    7561
    76   G4double GetCrossSection(const G4DynamicParticle*,
    77                            G4double Z, G4double A, G4double aTemperature);
     62   G4double GetCrossSection(const G4DynamicParticle*,
     63                            G4double Z, G4double A, G4double aTemperature);
    7864
    79   // to replace GetMicroscopicCrossSection
    80   G4double GetCrossSection(const G4DynamicParticle*, const G4Material*);
     65   // to replace GetMicroscopicCrossSection
     66   G4double GetCrossSection(const G4DynamicParticle*, const G4Material*);
    8167
    82   //std::pair<G4double/*Z*/, G4double/*A*/>
    83   // SelectRandomIsotope(const G4DynamicParticle*, const G4Material*);
     68   std::pair<G4double/*Z*/, G4double/*A*/>
     69  SelectRandomIsotope(const G4DynamicParticle*, const G4Material*);
    8470
    85   G4Element* SampleZandA(const G4DynamicParticle*, const G4Material*,
    86                          G4Nucleus& target);
     71   G4Element* SampleZandA(const G4DynamicParticle*, const G4Material*,
     72                          G4Nucleus& target);
    8773
    88   void AddDataSet(G4VCrossSectionDataSet*);
     74   void AddDataSet(G4VCrossSectionDataSet*);
    8975
    90   void BuildPhysicsTable(const G4ParticleDefinition&);
     76   void BuildPhysicsTable(const G4ParticleDefinition&);
    9177
    92   void DumpPhysicsTable(const G4ParticleDefinition&);
     78   void DumpPhysicsTable(const G4ParticleDefinition&);
    9379
    94   inline void SetVerboseLevel(G4int value)
    95   {
    96     verboseLevel = value;
    97   }
     80  void SetVerboseLevel(G4int value)
     81   {
     82      verboseLevel = value;
     83   }
    9884
    99   inline G4int GetVerboseLevel()
    100   {
    101     return verboseLevel;
    102   }
     85  G4int GetVerboseLevel()
     86   {
     87      return verboseLevel;
     88   }
    10389
    10490private:
    10591
    106   G4VCrossSectionDataSet* whichDataSetInCharge(const G4DynamicParticle*,
    107                                                const G4Element*);
    10892
    109   std::vector<G4VCrossSectionDataSet*> DataSetList;
    110   G4int NDataSetList;
    111   G4int verboseLevel;
     93   G4VCrossSectionDataSet* whichDataSetInCharge(const G4DynamicParticle*,
     94                            const G4Element*);
     95
     96   enum { NDataSetMax = 100 };
     97   G4VCrossSectionDataSet* DataSetList[NDataSetMax];
     98   G4int NDataSetList;
     99   G4int verboseLevel;
    112100};
    113101
  • trunk/source/processes/hadronic/cross_sections/include/G4ElectroNuclearCrossSection.hh

    r962 r1007  
    2525//
    2626//
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     27// GEANT4 tag $Name: geant4-09-02 $
    2828//
    2929//
  • trunk/source/processes/hadronic/cross_sections/include/G4HadronCrossSections.hh

    r962 r1007  
    2525//
    2626//
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     27// GEANT4 tag $Name: geant4-09-02 $
    2828//
    2929//
  • trunk/source/processes/hadronic/cross_sections/include/G4PhotoNuclearCrossSection.hh

    r962 r1007  
    2525//
    2626//
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     27// GEANT4 tag $Name: geant4-09-02 $
    2828//
    2929//
  • trunk/source/processes/hadronic/cross_sections/include/G4VCrossSectionDataSet.hh

    r962 r1007  
    2424// ********************************************************************
    2525//
    26 // $Id: G4VCrossSectionDataSet.hh,v 1.13 2009/01/24 11:54:47 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
    2826//
    29 // -------------------------------------------------------------------
    30 //
    31 // GEANT4 Class header file
    32 //
    33 //
    34 // File name:    G4VCrossSectionDataSet
    35 //
    36 // Author  F.W. Jones, TRIUMF, 20-JAN-97
    37 //
    38 // Modifications:
    39 // 23.01.2009 V.Ivanchenko move constructor and destructor to source
    40 //
    41  
     27// GEANT4 physics abstract class: G4VCrossSectionData -- header file
     28// F.W. Jones, TRIUMF, 20-JAN-97
    4229//
    4330// Class Description
     
    5643class G4VCrossSectionDataSet
    5744{
     45public:
     46
     47   G4VCrossSectionDataSet() :
     48      verboseLevel(0)
     49   {}
     50
     51   virtual ~G4VCrossSectionDataSet()
     52   {}
     53
    5854public: //with description
    5955
    60   G4VCrossSectionDataSet();
     56   // The following methods need to be implemented for each new data set.
     57   virtual
     58   G4bool IsApplicable(const G4DynamicParticle*, const G4Element*) = 0;
    6159
    62   virtual ~G4VCrossSectionDataSet();
     60   virtual
     61   G4bool IsZAApplicable(const G4DynamicParticle*, G4double /*Z*/, G4double /*A*/);
    6362
    64   // The following methods need to be implemented for each new data set.
    65   virtual
    66   G4bool IsApplicable(const G4DynamicParticle*, const G4Element*) = 0;
     63   virtual
     64   G4double GetCrossSection(const G4DynamicParticle*,
     65                            const G4Element*,
     66                            G4double aTemperature = 0.) = 0;
    6767
    68   virtual
    69   G4bool IsZAApplicable(const G4DynamicParticle*, G4double /*Z*/, G4double /*A*/);
     68   virtual
     69   G4double GetIsoCrossSection(const G4DynamicParticle*, const G4Isotope*,
     70                               G4double aTemperature = 0.);
    7071
    71   virtual
    72   G4double GetCrossSection(const G4DynamicParticle*,
    73                            const G4Element*,
    74                            G4double aTemperature = 0.) = 0;
     72   virtual
     73   G4double GetIsoZACrossSection(const G4DynamicParticle*, G4double /*Z*/,
     74                                 G4double /*A*/, G4double aTemperature = 0.);
    7575
    76   virtual
    77   G4double GetIsoCrossSection(const G4DynamicParticle*, const G4Isotope*,
    78                               G4double aTemperature = 0.);
     76   virtual
     77   void BuildPhysicsTable(const G4ParticleDefinition&) = 0;
    7978
    80   virtual
    81   G4double GetIsoZACrossSection(const G4DynamicParticle*, G4double /*Z*/,
    82                                 G4double /*A*/, G4double aTemperature = 0.);
    83 
    84   virtual
    85   void BuildPhysicsTable(const G4ParticleDefinition&) = 0;
    86 
    87   virtual
    88   void DumpPhysicsTable(const G4ParticleDefinition&) = 0;
     79   virtual
     80   void DumpPhysicsTable(const G4ParticleDefinition&) = 0;
    8981
    9082public: // Without Description
    9183
    92   inline void SetVerboseLevel(G4int value)
    93   {
    94     verboseLevel = value;
    95   }
     84  void SetVerboseLevel(G4int value)
     85   {
     86      verboseLevel = value;
     87   }
    9688
    97   inline G4int GetVerboseLevel()
    98   {
    99     return verboseLevel;
    100   }
     89  G4int GetVerboseLevel()
     90   {
     91      return verboseLevel;
     92   }
    10193
    10294protected:
    10395
    104   G4int verboseLevel;
     96   G4int verboseLevel;
    10597};
    10698
Note: See TracChangeset for help on using the changeset viewer.