- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.