Changeset 1340 for trunk/source/processes/electromagnetic/utils/include
- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- Location:
- trunk/source/processes/electromagnetic/utils/include
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/utils/include/G4ElectronIonPair.hh
r1337 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4ElectronIonPair.hh,v 1. 2 2008/10/17 14:46:16vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-04-beta-01$26 // $Id: G4ElectronIonPair.hh,v 1.5 2010/10/25 17:23:01 vnivanch Exp $ 27 // GEANT4 tag $Name: emutils-V09-03-23 $ 28 28 // 29 29 // … … 62 62 #include "G4ParticleDefinition.hh" 63 63 #include "G4ThreeVector.hh" 64 #include "G4TrackVector.hh"65 64 #include "G4VProcess.hh" 66 65 #include <vector> … … 86 85 inline G4double MeanNumberOfIonsAlongStep(const G4Step*); 87 86 87 inline G4int SampleNumberOfIonsAlongStep(const G4Step*); 88 88 89 // returns pointer to the new vector of positions of 89 90 // ionisation points in the World coordinate system 90 std::vector<G4ThreeVector>*91 SampleIonsAlongStep(const G4ThreeVector& prePosition,92 const G4ThreeVector& postPosition,93 G4double numberOfIonisations);94 95 91 std::vector<G4ThreeVector>* SampleIonsAlongStep(const G4Step*); 96 92 … … 115 111 private: 116 112 113 void Initialise(); 114 115 G4double FindMeanEnergyPerIonPair(const G4Material*); 116 117 117 // hide assignment operator 118 118 G4ElectronIonPair & operator=(const G4ElectronIonPair &right); 119 119 G4ElectronIonPair(const G4ElectronIonPair&); 120 120 121 G4double FindMeanEnergyPerIonPair(const G4Material*); 121 // cash 122 const G4Material* curMaterial; 123 G4double curMeanEnergy; 122 124 123 void Initialise(); 124 125 const G4ParticleDefinition* gamma; 126 127 // cash 128 const G4Material* curMaterial; 129 G4double curMeanEnergy; 130 125 G4double FanoFactor; 126 131 127 G4int verbose; 132 128 G4int nMaterials; 133 129 134 130 // list of G4 NIST materials with mean energy per ion defined 135 std::vector<G4double> g4MatData; 136 std::vector<G4String> g4MatNames; 137 131 std::vector<G4double> g4MatData; 132 std::vector<G4String> g4MatNames; 138 133 }; 139 134 … … 141 136 G4ElectronIonPair::MeanNumberOfIonsAlongStep(const G4Step* step) 142 137 { 143 return MeanNumberOfIonsAlongStep(step->GetTrack()->Get Definition(),138 return MeanNumberOfIonsAlongStep(step->GetTrack()->GetParticleDefinition(), 144 139 step->GetPreStepPoint()->GetMaterial(), 145 140 step->GetTotalEnergyDeposit(), … … 147 142 } 148 143 149 inline std::vector<G4ThreeVector>*150 G4 ElectronIonPair::SampleIonsAlongStep(const G4Step* step)144 inline 145 G4int G4ElectronIonPair::SampleNumberOfIonsAlongStep(const G4Step* step) 151 146 { 152 return SampleIonsAlongStep(step->GetPreStepPoint()->GetPosition(), 153 step->GetPostStepPoint()->GetPosition(), 154 MeanNumberOfIonsAlongStep(step)); 155 } 147 G4double meanion = MeanNumberOfIonsAlongStep(step); 148 G4double sig = FanoFactor*std::sqrt(meanion); 149 G4int nion = G4int(G4RandGauss::shoot(meanion,sig) + 0.5); 150 return nion; 151 } 156 152 157 153 inline … … 160 156 G4int subtype = -1; 161 157 const G4VProcess* proc = step->GetPostStepPoint()->GetProcessDefinedStep(); 162 if(proc) subtype = proc->GetProcessSubType();163 return ResidualeChargePostStep(step->GetTrack()->Get Definition(),158 if(proc) { subtype = proc->GetProcessSubType(); } 159 return ResidualeChargePostStep(step->GetTrack()->GetParticleDefinition(), 164 160 step->GetSecondary(), 165 161 subtype); -
trunk/source/processes/electromagnetic/utils/include/G4EmMultiModel.hh
r1337 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4EmMultiModel.hh,v 1. 6 2007/05/22 17:31:57vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-04-beta-01$26 // $Id: G4EmMultiModel.hh,v 1.7 2010/07/04 17:51:09 vnivanch Exp $ 27 // GEANT4 tag $Name: emutils-V09-03-23 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 40 40 // Modifications: 41 41 // 15-04-05 optimize internal interface (V.Ivanchenko) 42 // 04-07-10 updated interfaces according to g4 9.4 (V.Ivanchenko) 42 43 // 43 44 // Class Description: 44 45 // 45 // E nergy loss model using several G4VEmModels46 // EM model using several G4VEmModels for the same energy interval 46 47 47 48 // ------------------------------------------------------------------- … … 55 56 #include <vector> 56 57 57 class G4Region;58 class G4PhysicsTable;59 58 class G4DynamicParticle; 60 59 … … 68 67 virtual ~G4EmMultiModel(); 69 68 70 void Initialise(const G4ParticleDefinition*, const G4DataVector&);69 void AddModel(G4VEmModel*); 71 70 72 G4double MinEnergyCut(const G4ParticleDefinition*,73 const G4MaterialCutsCouple*);71 virtual void Initialise(const G4ParticleDefinition*, 72 const G4DataVector&); 74 73 74 virtual G4double ComputeDEDX(const G4MaterialCutsCouple*, 75 const G4ParticleDefinition*, 76 G4double kineticEnergy, 77 G4double cutEnergy); 75 78 76 G4double ComputeDEDX(const G4MaterialCutsCouple*, 77 const G4ParticleDefinition*, 78 G4double kineticEnergy, 79 G4double cutEnergy); 79 // main method to compute cross section per atom 80 virtual 81 G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition*, 82 G4double kinEnergy, 83 G4double Z, 84 G4double A = 0., /* amu */ 85 G4double cutEnergy = 0.0, 86 G4double maxEnergy = DBL_MAX); 80 87 81 G4double CrossSection(const G4MaterialCutsCouple*, 82 const G4ParticleDefinition*, 83 G4double kineticEnergy, 84 G4double cutEnergy, 85 G4double maxEnergy); 86 87 void SampleSecondaries(std::vector<G4DynamicParticle*>*, 88 const G4MaterialCutsCouple*, 89 const G4DynamicParticle*, 90 G4double tmin, 91 G4double tmax); 92 93 void DefineForRegion(const G4Region*); 94 95 void AddModel(G4VEmModel*, G4double tmin, G4double tmax); 96 97 protected: 98 99 G4double MaxSecondaryEnergy(const G4ParticleDefinition*, 100 G4double kineticEnergy); 88 virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*, 89 const G4MaterialCutsCouple*, 90 const G4DynamicParticle*, 91 G4double tmin, 92 G4double tmax); 101 93 102 94 private: … … 108 100 G4int nModels; 109 101 std::vector<G4VEmModel*> model; 110 G4DataVector tsecmin; 111 G4DataVector cross_section; 102 std::vector<G4double> cross_section; 112 103 113 104 }; -
trunk/source/processes/electromagnetic/utils/include/G4EmSaturation.hh
r1337 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4EmSaturation.hh,v 1. 7 2009/09/25 09:16:40vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-04-beta-01$26 // $Id: G4EmSaturation.hh,v 1.8 2010/08/17 17:36:58 vnivanch Exp $ 27 // GEANT4 tag $Name: emutils-V09-03-23 $ 28 28 // 29 29 // … … 140 140 { 141 141 G4Track* track = step->GetTrack(); 142 return VisibleEnergyDeposition(track->Get Definition(),142 return VisibleEnergyDeposition(track->GetParticleDefinition(), 143 143 track->GetMaterialCutsCouple(), 144 144 step->GetStepLength(), -
trunk/source/processes/electromagnetic/utils/include/G4LossTableManager.hh
r1337 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4LossTableManager.hh,v 1. 58 2010/04/27 16:59:52vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-04-beta-01$26 // $Id: G4LossTableManager.hh,v 1.61 2010/09/03 10:09:45 vnivanch Exp $ 27 // GEANT4 tag $Name: emutils-V09-03-23 $ 28 28 // 29 29 // … … 93 93 class G4EmSaturation; 94 94 class G4EmConfigurator; 95 class G4ElectronIonPair; 95 96 class G4LossTableBuilder; 97 class G4VAtomDeexcitation; 96 98 class G4Region; 97 99 … … 259 261 const std::vector<G4VMultipleScattering*>& GetMultipleScatteringVector(); 260 262 261 inline G4VEnergyLossProcess* GetEnergyLossProcess(const G4ParticleDefinition*); 263 inline 264 G4VEnergyLossProcess* GetEnergyLossProcess(const G4ParticleDefinition*); 262 265 263 266 G4EmCorrections* EmCorrections(); … … 266 269 267 270 G4EmConfigurator* EmConfigurator(); 271 272 G4ElectronIonPair* ElectronIonPair(); 273 274 G4VAtomDeexcitation* AtomDeexcitation(); 275 276 void SetAtomDeexcitation(G4VAtomDeexcitation*); 268 277 269 278 private: … … 345 354 G4EmSaturation* emSaturation; 346 355 G4EmConfigurator* emConfigurator; 356 G4ElectronIonPair* emElectronIonPair; 357 G4VAtomDeexcitation* atomDeexcitation; 347 358 348 359 G4int nbinsLambda; … … 464 475 G4double& length) 465 476 { 466 const G4ParticleDefinition* aParticle = dp->Get Definition();477 const G4ParticleDefinition* aParticle = dp->GetParticleDefinition(); 467 478 if(aParticle != currentParticle) { 468 479 std::map<PD,G4VEnergyLossProcess*,std::less<PD> >::const_iterator pos; -
trunk/source/processes/electromagnetic/utils/include/G4VAtomDeexcitation.hh
r1337 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4VAtomDeexcitation.hh,v 1. 3 2010/03/30 09:19:56vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-04-beta-01$26 // $Id: G4VAtomDeexcitation.hh,v 1.5 2010/10/14 16:27:35 vnivanch Exp $ 27 // GEANT4 tag $Name: emutils-V09-03-23 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 51 51 52 52 #include "globals.hh" 53 #include "G4AtomicShell.hh" 54 #include "G4ProductionCutsTable.hh" 55 #include "G4Track.hh" 53 56 #include <vector> 54 57 55 class G4AtomicShell;56 58 class G4ParticleDefinition; 57 59 class G4DynamicParticle; 60 class G4MaterialCutsCouple; 61 class G4VParticleChange; 62 63 enum G4AtomicShellEnumerator 64 { 65 fKShell = 0, 66 fL1Shell, 67 fL2Shell, 68 fL3Shell, 69 fM1Shell, 70 fM2Shell, 71 fM3Shell, 72 fM4Shell, 73 fM5Shell 74 }; 58 75 59 76 class G4VAtomDeexcitation { 60 61 G4VAtomDeexcitation(const G4String& pname = ""); 77 public: 78 79 G4VAtomDeexcitation(const G4String& modname = "Deexcitation", 80 const G4String& pixename = ""); 62 81 63 82 virtual ~G4VAtomDeexcitation(); … … 65 84 //========== initialization ========== 66 85 67 virtual void PreparePhysicsTable(const G4ParticleDefinition&); 68 virtual void BuildPhysicsTable(const G4ParticleDefinition&); 86 // Overall initialisation before new run 87 void InitialiseAtomicDeexcitation(); 88 89 // Initialisation of deexcitation at the beginning of run 90 virtual void InitialiseForNewRun() = 0; 91 92 // Initialisation for a concrete atom 93 // May be called at run time 94 virtual void InitialiseForExtraAtom(G4int Z) = 0; 95 96 // Activation of deexcitation per detector region 97 void SetDeexcitationActiveRegion(const G4String& rname = ""); 98 99 // Activation of Auger electron production 100 inline void SetAugerActive(G4bool); 101 inline G4bool IsAugerActive() const; 102 103 // Activation of PIXE simulation 104 inline void SetPIXEActive(G4bool); 105 inline G4bool IsPIXEActive() const; 106 107 // Deexcitation model name 108 inline const G4String& GetName() const; 69 109 70 110 // PIXE model name … … 72 112 inline const G4String& PIXECrossSectionModel() const; 73 113 74 // Activation of deexcitation per detector region 75 void SetFluorescenceActiveRegion(const G4Region* region = 0); 76 void SetAugerActiveRegion(const G4Region* region = 0); 77 void SetPIXECrossSectionActiveRegion(const G4Region* region = 0); 78 79 void SetFluorescenceActiveRegion(const G4String& rname = ""); 80 void SetAugerActiveRegion(const G4String& rname = ""); 81 void SetPIXECrossSectionActiveRegion(const G4String& rname = ""); 114 // Access to the list of atoms active for deexcitation 115 inline const std::vector<G4bool>& GetListOfActiveAtoms() const; 116 117 // Verbosity level 118 inline void SetVerboseLevel(G4int); 119 inline G4int GetVerboseLevel() const; 82 120 83 121 //========== Run time methods ========== 84 122 85 123 // Check if deexcitation is active for a given geometry volume 86 G4bool CheckFluorescenceActiveRegion(G4int coupleIndex); 87 88 // Check if deexcitation is active for a given geometry volume 89 G4bool CheckPIXEActiveRegion(G4int coupleIndex); 124 inline G4bool CheckDeexcitationActiveRegion(G4int coupleIndex); 90 125 91 126 // Get atomic shell by shell index, used by discrete processes 92 127 // (for example, photoelectric), when shell vacancy sampled by the model 93 const G4AtomicShell* GetAtomicShell(G4int Z, G4int ShellIndex); 94 95 // selection of random shell for ionisation process 96 virtual const G4AtomicShell* SelectRandomShell(const G4DynamicParticle*, 97 G4int Z); 128 virtual 129 const G4AtomicShell* GetAtomicShell(G4int Z, 130 G4AtomicShellEnumerator shell) = 0; 98 131 99 132 // generation of deexcitation for given atom and shell vacancy 100 virtual void GenerateParticles(std::vector<G4DynamicParticle*>*, 101 const G4AtomicShell*, G4int Z) = 0; 133 inline void GenerateParticles(std::vector<G4DynamicParticle*>* secVect, 134 const G4AtomicShell*, 135 G4int Z, 136 G4int coupleIndex); 137 138 // generation of deexcitation for given atom and shell vacancy 139 virtual void GenerateParticles(std::vector<G4DynamicParticle*>* secVect, 140 const G4AtomicShell*, 141 G4int Z, 142 G4double gammaCut, 143 G4double eCut) = 0; 102 144 103 145 // access or compute PIXE cross section 104 virtual G4double GetPIXECrossSection (const G4ParticleDefinition*, 105 G4int Z, G4double kinE) = 0; 106 107 // calculate PIXE cross section from the models 108 virtual G4double CalculatePIXECrossSection(const G4ParticleDefinition*, 109 G4int Z, G4double kinE) = 0; 146 virtual G4double 147 GetShellIonisationCrossSectionPerAtom(const G4ParticleDefinition*, 148 G4int Z, 149 G4AtomicShellEnumerator shell, 150 G4double kinE) = 0; 151 152 // access or compute PIXE cross section 153 virtual G4double 154 ComputeShellIonisationCrossSectionPerAtom(const G4ParticleDefinition*, 155 G4int Z, 156 G4AtomicShellEnumerator shell, 157 G4double kinE) = 0; 110 158 111 159 // Sampling of PIXE for ionisation processes 112 virtual void 113 AlongStepDeexcitation(std::vector<G4DynamicParticle*>* secVect, 114 const G4DynamicParticle* icidentParticle, 115 const G4MaterialCutsCouple*, 116 G4double trueStepLenght, 117 G4double eLoss) = 0; 118 119 160 void AlongStepDeexcitation(G4VParticleChange* pParticleChange, 161 const G4Step& step, 162 G4double& eLoss, 163 G4int coupleIndex); 120 164 121 165 private: … … 125 169 G4VAtomDeexcitation & operator=(const G4VAtomDeexcitation &right); 126 170 171 G4ProductionCutsTable* theCoupleTable; 172 G4int verbose; 173 G4String name; 127 174 G4String namePIXE; 128 175 G4bool flagAuger; 176 G4bool flagPIXE; 177 std::vector<G4bool> activeZ; 178 std::vector<G4bool> activeDeexcitationMedia; 179 std::vector<G4String> activeRegions; 180 std::vector<G4DynamicParticle*> vdyn; 181 std::vector<G4Track*> secVect; 129 182 }; 183 184 inline void G4VAtomDeexcitation::SetAugerActive(G4bool val) 185 { 186 flagAuger = val; 187 } 188 189 inline G4bool G4VAtomDeexcitation::IsAugerActive() const 190 { 191 return flagAuger; 192 } 193 194 inline void G4VAtomDeexcitation::SetPIXEActive(G4bool val) 195 { 196 flagPIXE = val; 197 } 198 199 inline G4bool G4VAtomDeexcitation::IsPIXEActive() const 200 { 201 return flagPIXE; 202 } 203 204 inline const G4String& G4VAtomDeexcitation::GetName() const 205 { 206 return name; 207 } 130 208 131 209 inline … … 141 219 } 142 220 221 inline const std::vector<G4bool>& 222 G4VAtomDeexcitation::GetListOfActiveAtoms() const 223 { 224 return activeZ; 225 } 226 227 inline void G4VAtomDeexcitation::SetVerboseLevel(G4int val) 228 { 229 verbose = val; 230 } 231 232 inline G4int G4VAtomDeexcitation::GetVerboseLevel() const 233 { 234 return verbose; 235 } 236 237 inline G4bool 238 G4VAtomDeexcitation::CheckDeexcitationActiveRegion(G4int coupleIndex) 239 { 240 return activeDeexcitationMedia[coupleIndex]; 241 } 242 243 inline void 244 G4VAtomDeexcitation::GenerateParticles(std::vector<G4DynamicParticle*>* v, 245 const G4AtomicShell* as, 246 G4int Z, 247 G4int idx) 248 { 249 G4double gCut = (*theCoupleTable->GetEnergyCutsVector(idx))[0]; 250 if(gCut < as->BindingEnergy()) { 251 GenerateParticles(v, as, Z, gCut, 252 (*theCoupleTable->GetEnergyCutsVector(idx))[1]); 253 } 254 } 255 143 256 #endif 144 257 -
trunk/source/processes/electromagnetic/utils/include/G4VEmModel.hh
r1337 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4VEmModel.hh,v 1.7 5 2010/05/26 10:41:34vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-04-beta-01$26 // $Id: G4VEmModel.hh,v 1.77 2010/10/14 16:27:35 vnivanch Exp $ 27 // GEANT4 tag $Name: emutils-V09-03-23 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 67 67 // 16-02-09 Moved implementations of virtual methods to source (VI) 68 68 // 07-04-09 Moved msc methods from G4VEmModel to G4VMscModel (VI) 69 // 13-10-10 Added G4VEmAngularDistribution (VI) 69 70 // 70 71 // Class Description: … … 87 88 #include "G4DataVector.hh" 88 89 #include "G4VEmFluctuationModel.hh" 90 #include "G4VEmAngularDistribution.hh" 89 91 #include "G4EmElementSelector.hh" 90 92 #include "Randomize.hh" … … 146 148 147 149 // min cut in kinetic energy allowed by the model 150 // obsolete method will be removed 148 151 virtual G4double MinEnergyCut(const G4ParticleDefinition*, 149 152 const G4MaterialCutsCouple*); … … 252 255 //------------------------------------------------------------------------ 253 256 257 void SetParticleChange(G4VParticleChange*, G4VEmFluctuationModel* f=0); 258 254 259 inline G4VEmFluctuationModel* GetModelOfFluctuations(); 255 260 261 inline G4VEmAngularDistribution* GetAngularDistribution(); 262 263 inline void SetAngularDistribution(G4VEmAngularDistribution*); 264 256 265 inline G4double HighEnergyLimit() const; 257 266 … … 284 293 inline void SetDeexcitationFlag(G4bool val); 285 294 286 inline void ActivateNuclearStopping(G4bool);287 288 295 inline G4double MaxSecondaryKinEnergy(const G4DynamicParticle* dynParticle); 289 296 290 297 inline const G4String& GetName() const; 291 292 inline void SetParticleChange(G4VParticleChange*, G4VEmFluctuationModel*);293 298 294 299 inline void SetCurrentCouple(const G4MaterialCutsCouple*); … … 310 315 // ======== Parameters of the class fixed at construction ========= 311 316 312 G4VEmFluctuationModel* fluc; 317 G4VEmFluctuationModel* flucModel; 318 G4VEmAngularDistribution* anglModel; 313 319 const G4String name; 314 320 … … 329 335 330 336 G4VParticleChange* pParticleChange; 331 G4bool nuclearStopping;337 // G4bool nuclearStopping; 332 338 333 339 // ======== Cashed values - may be state dependent ================ … … 377 383 G4double G4VEmModel::MaxSecondaryKinEnergy(const G4DynamicParticle* dynPart) 378 384 { 379 return MaxSecondaryEnergy(dynPart->Get Definition(),385 return MaxSecondaryEnergy(dynPart->GetParticleDefinition(), 380 386 dynPart->GetKineticEnergy()); 381 387 } … … 479 485 inline G4VEmFluctuationModel* G4VEmModel::GetModelOfFluctuations() 480 486 { 481 return fluc; 487 return flucModel; 488 } 489 490 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 491 492 inline G4VEmAngularDistribution* G4VEmModel::GetAngularDistribution() 493 { 494 return anglModel; 495 } 496 497 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 498 499 inline void G4VEmModel::SetAngularDistribution(G4VEmAngularDistribution* p) 500 { 501 anglModel = p; 482 502 } 483 503 … … 587 607 } 588 608 589 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....590 591 inline void G4VEmModel::ActivateNuclearStopping(G4bool val)592 {593 nuclearStopping = val;594 }595 596 609 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 597 610 … … 603 616 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 604 617 605 inline void G4VEmModel::SetParticleChange(G4VParticleChange* p,606 G4VEmFluctuationModel* f = 0)607 {608 if(p && pParticleChange != p) { pParticleChange = p; }609 fluc = f;610 }611 612 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......613 614 618 #endif 615 619 -
trunk/source/processes/electromagnetic/utils/include/G4VEmProcess.hh
r1337 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4VEmProcess.hh,v 1.6 0 2010/04/28 14:43:13vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-04-beta-01$26 // $Id: G4VEmProcess.hh,v 1.61 2010/08/17 17:36:59 vnivanch Exp $ 27 // GEANT4 tag $Name: emutils-V09-03-23 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 413 413 inline void G4VEmProcess::InitialiseStep(const G4Track& track) 414 414 { 415 currentParticle = track.Get Definition();415 currentParticle = track.GetParticleDefinition(); 416 416 preStepKinEnergy = track.GetKineticEnergy(); 417 417 DefineMaterial(track.GetMaterialCutsCouple()); -
trunk/source/processes/electromagnetic/utils/include/G4VEnergyLossProcess.hh
r1315 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4VEnergyLossProcess.hh,v 1.9 2 2010/04/28 14:43:13vnivanch Exp $26 // $Id: G4VEnergyLossProcess.hh,v 1.93 2010/10/14 16:27:35 vnivanch Exp $ 27 27 // GEANT4 tag $Name: 28 28 // … … 114 114 class G4Region; 115 115 class G4SafetyHelper; 116 class G4VAtomDeexcitation; 116 117 117 118 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... … … 466 467 std::vector<G4VEmModel*> emModels; 467 468 G4VEmFluctuationModel* fluctModel; 469 G4VAtomDeexcitation* atomDeexcitation; 468 470 std::vector<const G4Region*> scoffRegions; 469 471 std::vector<const G4Region*> deRegions; -
trunk/source/processes/electromagnetic/utils/include/G4VMscModel.hh
r1337 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4VMscModel.hh,v 1. 9 2009/04/07 18:39:47vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-04-beta-01$26 // $Id: G4VMscModel.hh,v 1.10 2010/09/07 16:05:33 vnivanch Exp $ 27 // GEANT4 tag $Name: emutils-V09-03-23 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 140 140 G4double dtrl; 141 141 G4double lambdalimit; 142 G4double geommax; 142 G4double geomMin; 143 G4double geomMax; 143 144 144 145 G4MscStepLimitType steppingAlgorithm; … … 206 207 G4double limit) 207 208 { 208 G4double res = geom max;209 G4double res = geomMax; 209 210 if(track.GetVolume() != safetyHelper->GetWorldVolume()) { 210 211 res = safetyHelper->CheckNextStep(
Note: See TracChangeset
for help on using the changeset viewer.