Ignore:
Timestamp:
Nov 25, 2009, 5:13:58 PM (15 years ago)
Author:
garnier
Message:

update CVS release candidate geant4.9.3.01

Location:
trunk/source/processes/cuts/include
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/cuts/include/G4MCCIndexConversionTable.hh

    r1007 r1196  
    2525//
    2626// $Id: G4MCCIndexConversionTable.hh,v 1.3 2006/06/29 19:29:42 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-02 $
     27// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2828//
    2929//
  • trunk/source/processes/cuts/include/G4MaterialCutsCouple.hh

    r1007 r1196  
    2626//
    2727// $Id: G4MaterialCutsCouple.hh,v 1.3 2006/06/29 19:29:44 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
  • trunk/source/processes/cuts/include/G4PhysicsTableHelper.hh

    r1007 r1196  
    2626//
    2727// $Id: G4PhysicsTableHelper.hh,v 1.3 2006/06/29 19:29:46 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
  • trunk/source/processes/cuts/include/G4ProductionCuts.hh

    r1007 r1196  
    2525//
    2626//
    27 // $Id: G4ProductionCuts.hh,v 1.4 2006/06/29 19:29:48 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     27// $Id: G4ProductionCuts.hh,v 1.5 2009/08/01 07:57:13 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
     
    3838// ------------------------------------------------------------
    3939//   First Implementation          17 Sep. 2002  H.Kurahige
     40//   Add cuts for proton           28 Jul. 2009  H.Kurashige
    4041// ------------------------------------------------------------
    4142
     
    5354  idxG4ElectronCut,
    5455  idxG4PositronCut,
     56 
     57  idxG4ProtonCut,  // for proton
    5558
    5659  NumberOfG4CutIndex
     
    115118  static const G4ParticleDefinition* electDef;
    116119  static const G4ParticleDefinition* positDef;
     120
     121  static const G4ParticleDefinition* protonDef; // for proton
     122
    117123};
    118124
  • trunk/source/processes/cuts/include/G4ProductionCutsTable.hh

    r1007 r1196  
    2525//
    2626//
    27 // $Id: G4ProductionCutsTable.hh,v 1.9 2008/03/02 10:52:55 kurasige Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     27// $Id: G4ProductionCutsTable.hh,v 1.12 2009/11/11 03:20:21 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
     
    9696    // These methods get the limits of energy cuts for all particles.
    9797
     98    //  get/set max cut energy of RangeToEnergy Converter for all particle type
     99    G4double GetMaxEnergyCut();
     100    void SetMaxEnergyCut(G4double value);
     101
    98102
    99103    void DumpCouples() const;
     
    168172    //
    169173    // -1 is returned if particle or material is not found.
     174
     175  void ResetConverters();
     176    // reset all Range To Energy Converters 
    170177   
    171178  private:
  • trunk/source/processes/cuts/include/G4ProductionCutsTableMessenger.hh

    r1007 r1196  
    2525//
    2626//
    27 // $Id: G4ProductionCutsTableMessenger.hh,v 1.1 2008/03/02 10:52:55 kurasige Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     27// $Id: G4ProductionCutsTableMessenger.hh,v 1.2 2009/11/11 03:20:22 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
     
    8686    G4UIcmdWithADoubleAndUnit * setLowEdgeCmd;
    8787    G4UIcmdWithADoubleAndUnit * setHighEdgeCmd;
     88    G4UIcmdWithADoubleAndUnit * setMaxEnergyCutCmd;
    8889    G4UIcmdWithoutParameter *   dumpCmd;
    8990 
  • trunk/source/processes/cuts/include/G4RToEConvForElectron.hh

    r1007 r1196  
    2525//
    2626//
    27 // $Id: G4RToEConvForElectron.hh,v 1.2 2006/06/29 19:29:56 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     27// $Id: G4RToEConvForElectron.hh,v 1.3 2009/09/11 15:21:38 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
     
    6565                                ) const;
    6666
    67   //-------------- Range Table ------------------------------------------
    68     virtual void BuildRangeVector(const G4Material* aMaterial,
    69                                   G4double       maxEnergy,
    70                                   G4double       aMass,
    71                                   G4RangeVector* rangeVector);
    72 
    7367
    7468};
  • trunk/source/processes/cuts/include/G4RToEConvForGamma.hh

    r1007 r1196  
    2525//
    2626//
    27 // $Id: G4RToEConvForGamma.hh,v 1.2 2006/06/29 19:29:58 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     27// $Id: G4RToEConvForGamma.hh,v 1.3 2009/09/11 15:21:38 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
     
    7171  //-------------- Range Table ------------------------------------------
    7272    virtual void BuildRangeVector( const G4Material* aMaterial,
    73                                    G4double       maxEnergy,
    74                                    G4double       aMass,
    7573                                   G4RangeVector* rangeVector);
    7674
    7775    typedef G4LossTable G4CrossSectionTable;
    7876    void BuildAbsorptionLengthVector( const G4Material* aMaterial,
    79                                       G4double       maxEnergy,
    80                                       G4double       aMass,
    8177                                      G4RangeVector* rangeVector);
    8278 
     
    9894 void G4RToEConvForGamma::BuildRangeVector(
    9995                                const G4Material* aMaterial,
    100                                 G4double       maxEnergy,     
    101                                 G4double       aMass,
    10296                                G4RangeVector* rangeVector)
    10397{
    104   BuildAbsorptionLengthVector(aMaterial, maxEnergy, aMass, rangeVector);
     98  BuildAbsorptionLengthVector(aMaterial, rangeVector);
    10599}
    106100
  • trunk/source/processes/cuts/include/G4RToEConvForPositron.hh

    r1007 r1196  
    2525//
    2626//
    27 // $Id: G4RToEConvForPositron.hh,v 1.2 2006/06/29 19:30:02 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     27// $Id: G4RToEConvForPositron.hh,v 1.3 2009/09/11 15:21:39 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
     
    6565                                ) const;
    6666
    67   //-------------- Range Table ------------------------------------------
    68     virtual void BuildRangeVector(const G4Material* aMaterial,
    69                                   G4double       maxEnergy,
    70                                   G4double       aMass,
    71                                   G4RangeVector* rangeVector);
    72 
    73 
    7467};
    7568
  • trunk/source/processes/cuts/include/G4RToEConvForProton.hh

    r1007 r1196  
    2525//
    2626//
    27 // $Id: G4RToEConvForProton.hh,v 1.2 2006/06/29 19:30:04 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     27// $Id: G4RToEConvForProton.hh,v 1.5 2009/09/14 07:27:46 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
     
    6060  virtual ~G4RToEConvForProton();
    6161
     62  virtual G4double Convert(G4double rangeCut, const G4Material* material);
    6263
     64  // reset Loss Table and Range Vectors
     65  virtual void Reset();
     66
     67  protected:
     68    virtual G4double ComputeLoss(G4double AtomicNumber,
     69                                 G4double KineticEnergy
     70                                ) const;
    6371
    6472};
  • trunk/source/processes/cuts/include/G4VRangeToEnergyConverter.hh

    r1007 r1196  
    2525//
    2626//
    27 // $Id: G4VRangeToEnergyConverter.hh,v 1.4 2006/06/29 19:30:06 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     27// $Id: G4VRangeToEnergyConverter.hh,v 1.8 2009/09/14 07:27:46 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
     
    8686  static G4double GetLowEdgeEnergy();
    8787  static G4double GetHighEdgeEnergy();
     88
     89  //  get/set max cut energy for all particle type
     90  static G4double GetMaxEnergyCut();
     91  static void SetMaxEnergyCut(G4double value);
    8892 
    8993  // return pointer to the particle type which this converter takes care
     
    97101   // for neutral particles) which are calculated by
    98102   // ComputeLoss(G4double AtomicNumber,G4double KineticEnergy).
    99  
     103   // ComputeLoss method is pure virtual and should be provided for each
     104   // particle type
     105
     106  // reset Loss Table and Range Vectors
     107  virtual void Reset();
     108   
    100109 protected:
    101110    static G4double               LowestEnergy, HighestEnergy;
    102 
     111    static G4double               MaxEnergyCut;
     112    G4double                      fMaxEnergyCut;
     113   
    103114    const G4ParticleDefinition*   theParticle;
    104115    typedef G4PhysicsTable        G4LossTable;
    105116    G4LossTable*                  theLossTable;
    106117    G4int                         NumberOfElements;
    107 
     118 
    108119    typedef G4PhysicsLogVector    G4LossVector;
    109     G4int                         TotBin;
     120    const G4int                   TotBin;
    110121
    111122  protected:// with description 
    112    virtual void BuildLossTable();
     123    virtual void BuildLossTable();
    113124
    114125    virtual G4double ComputeLoss(G4double AtomicNumber,
    115126                                 G4double KineticEnergy
    116                                 ) const;
     127                               ) const = 0;
    117128
    118129  //-------------- Range Table ------------------------------------------
    119130  protected:
    120131    typedef G4PhysicsLogVector G4RangeVector;
     132
    121133    virtual void BuildRangeVector(const G4Material* aMaterial,
    122                                   G4double       maxEnergy,
    123                                   G4double       aMass,
    124                                   G4RangeVector* rangeVector);
     134                                   G4RangeVector* rangeVector);
    125135
     136    std::vector< G4RangeVector* > fRangeVectorStore;   
     137     
    126138  protected:
    127139    G4double ConvertCutToKineticEnergy(
     
    130142                                       size_t         materialIndex
    131143                                      ) const;
    132 
    133     G4double RangeLinSimpson(
    134                             G4int  numberOfElements,
    135                             const G4ElementVector* elementVector,
    136                             const G4double* atomicNumDensityVector,
    137                             G4double aMass,
    138                             G4double taulow, G4double tauhigh,
    139                             G4int nbin
    140                           );
    141 
    142     G4double RangeLogSimpson(
    143                             G4int  numberOfElements,
    144                             const G4ElementVector* elementVector,
    145                             const G4double* atomicNumDensityVector,
    146                             G4double aMass,
    147                             G4double ltaulow, G4double ltauhigh,
    148                             G4int nbin
    149                           );
    150144
    151145  public: // with description 
     
    175169
    176170
     171inline
     172 const G4ParticleDefinition* G4VRangeToEnergyConverter::GetParticleType() const
     173{
     174   return theParticle;
     175}
    177176#endif
    178177
Note: See TracChangeset for help on using the changeset viewer.