- Timestamp:
- Nov 19, 2009, 2:53:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/lowenergy/src/G4PenelopeComptonModel.cc
r1055 r1192 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4PenelopeComptonModel.cc,v 1. 4 2009/04/18 18:29:34 vnivanchExp $27 // GEANT4 tag $Name: geant4-09-03-beta-cand-01$26 // $Id: G4PenelopeComptonModel.cc,v 1.8 2009/10/23 09:29:24 pandola Exp $ 27 // GEANT4 tag $Name: emlowen-V09-02-64 $ 28 28 // 29 29 // Author: Luciano Pandola … … 44 44 // - do not apply low-energy limit (default is 0) 45 45 // - do not apply production threshold on level of the model 46 // 21 Oct 2009 L Pandola Remove un-necessary fUseAtomicDeexcitation flag - now managed by 47 // G4VEmModel::DeexcitationFlag() 48 // Add ActivateAuger() method 46 49 // 47 50 … … 58 61 #include "G4PenelopeIntegrator.hh" 59 62 #include "G4AtomicTransitionManager.hh" 60 #include "G4AtomicDeexcitation.hh"61 63 #include "G4AtomicShell.hh" 62 64 #include "G4Gamma.hh" … … 79 81 ZForIntegration = 1; 80 82 81 fUseAtomicDeexcitation = true; 83 //by default, the model will use atomic deexcitation 84 SetDeexcitationFlag(true); 85 ActivateAuger(false); 86 82 87 verboseLevel= 0; 83 88 // Verbosity scale: … … 523 528 { 524 529 G4DynamicParticle* aPhoton; 525 G4AtomicDeexcitation deexcitationManager;526 530 deexcitationManager.SetCutForSecondaryPhotons(cutg); 527 531 deexcitationManager.SetCutForAugerElectrons(cute); 528 deexcitationManager.ActivateAugerElectronProduction(false);529 532 530 533 photonVector = deexcitationManager.GenerateParticles(Z,shellId); … … 749 752 } 750 753 754 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 755 756 void G4PenelopeComptonModel::ActivateAuger(G4bool augerbool) 757 { 758 if (!DeexcitationFlag() && augerbool) 759 { 760 G4cout << "WARNING - G4PenelopeComptonModel" << G4endl; 761 G4cout << "The use of the Atomic Deexcitation Manager is set to false " << G4endl; 762 G4cout << "Therefore, Auger electrons will be not generated anyway" << G4endl; 763 } 764 deexcitationManager.ActivateAugerElectronProduction(augerbool); 765 if (verboseLevel > 1) 766 G4cout << "Auger production set to " << augerbool << G4endl; 767 } 768 769 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
Note: See TracChangeset
for help on using the changeset viewer.