Changeset 1196 for trunk/source/processes/cuts/include
- Timestamp:
- Nov 25, 2009, 5:13:58 PM (15 years ago)
- Location:
- trunk/source/processes/cuts/include
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/cuts/include/G4MCCIndexConversionTable.hh
r1007 r1196 25 25 // 26 26 // $Id: G4MCCIndexConversionTable.hh,v 1.3 2006/06/29 19:29:42 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2$27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 // 29 29 // -
trunk/source/processes/cuts/include/G4MaterialCutsCouple.hh
r1007 r1196 26 26 // 27 27 // $Id: G4MaterialCutsCouple.hh,v 1.3 2006/06/29 19:29:44 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/source/processes/cuts/include/G4PhysicsTableHelper.hh
r1007 r1196 26 26 // 27 27 // $Id: G4PhysicsTableHelper.hh,v 1.3 2006/06/29 19:29:46 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/source/processes/cuts/include/G4ProductionCuts.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4ProductionCuts.hh,v 1. 4 2006/06/29 19:29:48 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4ProductionCuts.hh,v 1.5 2009/08/01 07:57:13 kurasige Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 38 38 // ------------------------------------------------------------ 39 39 // First Implementation 17 Sep. 2002 H.Kurahige 40 // Add cuts for proton 28 Jul. 2009 H.Kurashige 40 41 // ------------------------------------------------------------ 41 42 … … 53 54 idxG4ElectronCut, 54 55 idxG4PositronCut, 56 57 idxG4ProtonCut, // for proton 55 58 56 59 NumberOfG4CutIndex … … 115 118 static const G4ParticleDefinition* electDef; 116 119 static const G4ParticleDefinition* positDef; 120 121 static const G4ParticleDefinition* protonDef; // for proton 122 117 123 }; 118 124 -
trunk/source/processes/cuts/include/G4ProductionCutsTable.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4ProductionCutsTable.hh,v 1. 9 2008/03/02 10:52:55kurasige Exp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4ProductionCutsTable.hh,v 1.12 2009/11/11 03:20:21 kurasige Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 96 96 // These methods get the limits of energy cuts for all particles. 97 97 98 // get/set max cut energy of RangeToEnergy Converter for all particle type 99 G4double GetMaxEnergyCut(); 100 void SetMaxEnergyCut(G4double value); 101 98 102 99 103 void DumpCouples() const; … … 168 172 // 169 173 // -1 is returned if particle or material is not found. 174 175 void ResetConverters(); 176 // reset all Range To Energy Converters 170 177 171 178 private: -
trunk/source/processes/cuts/include/G4ProductionCutsTableMessenger.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4ProductionCutsTableMessenger.hh,v 1. 1 2008/03/02 10:52:55kurasige Exp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4ProductionCutsTableMessenger.hh,v 1.2 2009/11/11 03:20:22 kurasige Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 86 86 G4UIcmdWithADoubleAndUnit * setLowEdgeCmd; 87 87 G4UIcmdWithADoubleAndUnit * setHighEdgeCmd; 88 G4UIcmdWithADoubleAndUnit * setMaxEnergyCutCmd; 88 89 G4UIcmdWithoutParameter * dumpCmd; 89 90 -
trunk/source/processes/cuts/include/G4RToEConvForElectron.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4RToEConvForElectron.hh,v 1. 2 2006/06/29 19:29:56 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4RToEConvForElectron.hh,v 1.3 2009/09/11 15:21:38 kurasige Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 65 65 ) const; 66 66 67 //-------------- Range Table ------------------------------------------68 virtual void BuildRangeVector(const G4Material* aMaterial,69 G4double maxEnergy,70 G4double aMass,71 G4RangeVector* rangeVector);72 73 67 74 68 }; -
trunk/source/processes/cuts/include/G4RToEConvForGamma.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4RToEConvForGamma.hh,v 1. 2 2006/06/29 19:29:58 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4RToEConvForGamma.hh,v 1.3 2009/09/11 15:21:38 kurasige Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 71 71 //-------------- Range Table ------------------------------------------ 72 72 virtual void BuildRangeVector( const G4Material* aMaterial, 73 G4double maxEnergy,74 G4double aMass,75 73 G4RangeVector* rangeVector); 76 74 77 75 typedef G4LossTable G4CrossSectionTable; 78 76 void BuildAbsorptionLengthVector( const G4Material* aMaterial, 79 G4double maxEnergy,80 G4double aMass,81 77 G4RangeVector* rangeVector); 82 78 … … 98 94 void G4RToEConvForGamma::BuildRangeVector( 99 95 const G4Material* aMaterial, 100 G4double maxEnergy,101 G4double aMass,102 96 G4RangeVector* rangeVector) 103 97 { 104 BuildAbsorptionLengthVector(aMaterial, maxEnergy, aMass,rangeVector);98 BuildAbsorptionLengthVector(aMaterial, rangeVector); 105 99 } 106 100 -
trunk/source/processes/cuts/include/G4RToEConvForPositron.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4RToEConvForPositron.hh,v 1. 2 2006/06/29 19:30:02 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4RToEConvForPositron.hh,v 1.3 2009/09/11 15:21:39 kurasige Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 65 65 ) const; 66 66 67 //-------------- Range Table ------------------------------------------68 virtual void BuildRangeVector(const G4Material* aMaterial,69 G4double maxEnergy,70 G4double aMass,71 G4RangeVector* rangeVector);72 73 74 67 }; 75 68 -
trunk/source/processes/cuts/include/G4RToEConvForProton.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4RToEConvForProton.hh,v 1. 2 2006/06/29 19:30:04 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4RToEConvForProton.hh,v 1.5 2009/09/14 07:27:46 kurasige Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 60 60 virtual ~G4RToEConvForProton(); 61 61 62 virtual G4double Convert(G4double rangeCut, const G4Material* material); 62 63 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; 63 71 64 72 }; -
trunk/source/processes/cuts/include/G4VRangeToEnergyConverter.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4VRangeToEnergyConverter.hh,v 1. 4 2006/06/29 19:30:06 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4VRangeToEnergyConverter.hh,v 1.8 2009/09/14 07:27:46 kurasige Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 86 86 static G4double GetLowEdgeEnergy(); 87 87 static G4double GetHighEdgeEnergy(); 88 89 // get/set max cut energy for all particle type 90 static G4double GetMaxEnergyCut(); 91 static void SetMaxEnergyCut(G4double value); 88 92 89 93 // return pointer to the particle type which this converter takes care … … 97 101 // for neutral particles) which are calculated by 98 102 // 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 100 109 protected: 101 110 static G4double LowestEnergy, HighestEnergy; 102 111 static G4double MaxEnergyCut; 112 G4double fMaxEnergyCut; 113 103 114 const G4ParticleDefinition* theParticle; 104 115 typedef G4PhysicsTable G4LossTable; 105 116 G4LossTable* theLossTable; 106 117 G4int NumberOfElements; 107 118 108 119 typedef G4PhysicsLogVector G4LossVector; 109 G4intTotBin;120 const G4int TotBin; 110 121 111 122 protected:// with description 112 virtual void BuildLossTable();123 virtual void BuildLossTable(); 113 124 114 125 virtual G4double ComputeLoss(G4double AtomicNumber, 115 126 G4double KineticEnergy 116 ) const;127 ) const = 0; 117 128 118 129 //-------------- Range Table ------------------------------------------ 119 130 protected: 120 131 typedef G4PhysicsLogVector G4RangeVector; 132 121 133 virtual void BuildRangeVector(const G4Material* aMaterial, 122 G4double maxEnergy, 123 G4double aMass, 124 G4RangeVector* rangeVector); 134 G4RangeVector* rangeVector); 125 135 136 std::vector< G4RangeVector* > fRangeVectorStore; 137 126 138 protected: 127 139 G4double ConvertCutToKineticEnergy( … … 130 142 size_t materialIndex 131 143 ) 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 nbin140 );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 nbin149 );150 144 151 145 public: // with description … … 175 169 176 170 171 inline 172 const G4ParticleDefinition* G4VRangeToEnergyConverter::GetParticleType() const 173 { 174 return theParticle; 175 } 177 176 #endif 178 177
Note: See TracChangeset
for help on using the changeset viewer.