Changeset 1196 for trunk/source/processes/electromagnetic/xrays
- Timestamp:
- Nov 25, 2009, 5:13:58 PM (15 years ago)
- Location:
- trunk/source/processes/electromagnetic/xrays
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/xrays/History
r961 r1196 1 $Id: History,v 1. 69 2008/11/14 20:47:11gum Exp $1 $Id: History,v 1.70 2009/07/29 23:43:27 gum Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 17 17 * Reverse chronological order (last date on top), please * 18 18 ---------------------------------------------------------- 19 20 29 July 09: P. Gumplinger (xrays-V09-02-00) 21 - Change IsApplicable for G4Cerenkov and G4Scintillation to 22 exclude short-lived particles. 19 23 20 24 14 November 08: P. Gumplinger (xrays-V09-01-06) -
trunk/source/processes/electromagnetic/xrays/include/G4Cerenkov.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4Cerenkov.hh,v 1.1 0 2008/10/22 01:17:36gum Exp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4Cerenkov.hh,v 1.11 2009/07/29 23:45:02 gum Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 108 108 109 109 G4bool IsApplicable(const G4ParticleDefinition& aParticleType); 110 // Returns true -> 'is applicable', for all charged particles. 110 // Returns true -> 'is applicable', for all charged particles 111 // except short-lived particles. 111 112 112 113 G4double GetMeanFreePath(const G4Track& aTrack, … … 212 213 G4bool G4Cerenkov::IsApplicable(const G4ParticleDefinition& aParticleType) 213 214 { 214 if (aParticleType.GetParticleName() != "chargedgeantino" ) { 215 return (aParticleType.GetPDGCharge() != 0); 216 } else { 217 return false; 218 } 215 if (aParticleType.GetParticleName() == "chargedgeantino") return false; 216 if (aParticleType.IsShortLived()) return false; 217 218 return (aParticleType.GetPDGCharge() != 0); 219 219 } 220 220 -
trunk/source/processes/electromagnetic/xrays/include/G4ForwardXrayTR.hh
r1007 r1196 26 26 // 27 27 // $Id: G4ForwardXrayTR.hh,v 1.14 2006/06/29 19:55:33 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // G4ForwardXrayTR -- header file -
trunk/source/processes/electromagnetic/xrays/include/G4GammaXTRadiator.hh
r1007 r1196 26 26 // 27 27 // $Id: G4GammaXTRadiator.hh,v 1.4 2006/06/29 19:55:35 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/electromagnetic/xrays/include/G4RegularXTRadiator.hh
r1007 r1196 26 26 // 27 27 // $Id: G4RegularXTRadiator.hh,v 1.3 2006/06/29 19:55:37 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/electromagnetic/xrays/include/G4Scintillation.hh
r1007 r1196 25 25 // 26 26 // 27 // $Id: G4Scintillation.hh,v 1.1 5 2008/06/13 01:04:49gum Exp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4Scintillation.hh,v 1.16 2009/07/29 23:45:20 gum Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 119 119 G4bool IsApplicable(const G4ParticleDefinition& aParticleType); 120 120 // Returns true -> 'is applicable', for any particle type except 121 // for an 'opticalphoton' 121 // for an 'opticalphoton' and for short-lived particles 122 122 123 123 G4double GetMeanFreePath(const G4Track& aTrack, … … 216 216 G4bool G4Scintillation::IsApplicable(const G4ParticleDefinition& aParticleType) 217 217 { 218 if (aParticleType.GetParticleName() == "opticalphoton"){ 219 return false; 220 } else { 221 return true; 222 } 218 if (aParticleType.GetParticleName() == "opticalphoton") return false; 219 if (aParticleType.IsShortLived()) return false; 220 221 return true; 223 222 } 224 223 -
trunk/source/processes/electromagnetic/xrays/include/G4StrawTubeXTRadiator.hh
r1007 r1196 26 26 // 27 27 // $Id: G4StrawTubeXTRadiator.hh,v 1.4 2007/09/29 17:49:34 vnivanch 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/electromagnetic/xrays/include/G4SynchrotronRadiation.hh
r1007 r1196 26 26 // 27 27 // $Id: G4SynchrotronRadiation.hh,v 1.4 2006/06/29 19:55:43 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/electromagnetic/xrays/include/G4SynchrotronRadiationInMat.hh
r1007 r1196 26 26 // 27 27 // $Id: G4SynchrotronRadiationInMat.hh,v 1.2 2006/06/29 19:55:45 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/electromagnetic/xrays/include/G4TransitionRadiation.hh
r1007 r1196 26 26 // 27 27 // $Id: G4TransitionRadiation.hh,v 1.9 2006/06/29 19:55:47 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // G4TransitionRadiation -- header file -
trunk/source/processes/electromagnetic/xrays/include/G4TransparentRegXTRadiator.hh
r1007 r1196 26 26 // 27 27 // $Id: G4TransparentRegXTRadiator.hh,v 1.2 2006/06/29 19:55:49 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/electromagnetic/xrays/include/G4VTRModel.hh
r1007 r1196 26 26 // 27 27 // $Id: G4VTRModel.hh,v 1.3 2006/06/29 19:55:51 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // G4VTRModel -- header file -
trunk/source/processes/electromagnetic/xrays/include/G4VTransitionRadiation.hh
r1007 r1196 26 26 // 27 27 // $Id: G4VTransitionRadiation.hh,v 1.3 2006/06/29 19:55:53 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // G4VTransitionRadiation -- header file -
trunk/source/processes/electromagnetic/xrays/include/G4VXTRenergyLoss.hh
r1007 r1196 26 26 // 27 27 // $Id: G4VXTRenergyLoss.hh,v 1.24 2007/09/29 17:49:34 vnivanch 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/electromagnetic/xrays/src/G4Cerenkov.cc
r1007 r1196 26 26 // 27 27 // $Id: G4Cerenkov.cc,v 1.26 2008/11/14 20:16:51 gum 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/electromagnetic/xrays/src/G4ForwardXrayTR.cc
r1007 r1196 26 26 // 27 27 // $Id: G4ForwardXrayTR.cc,v 1.14 2007/05/11 14:23:04 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // G4ForwardXrayTR class -- implementation file -
trunk/source/processes/electromagnetic/xrays/src/G4GammaXTRadiator.cc
r1007 r1196 26 26 // 27 27 // $Id: G4GammaXTRadiator.cc,v 1.5 2006/06/29 19:56:07 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/electromagnetic/xrays/src/G4RegularXTRadiator.cc
r1007 r1196 26 26 // 27 27 // $Id: G4RegularXTRadiator.cc,v 1.9 2006/06/29 19:56:09 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/electromagnetic/xrays/src/G4Scintillation.cc
r1007 r1196 26 26 // 27 27 // $Id: G4Scintillation.cc,v 1.30 2008/10/22 01:19:11 gum 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/electromagnetic/xrays/src/G4StrawTubeXTRadiator.cc
r1007 r1196 26 26 // 27 27 // $Id: G4StrawTubeXTRadiator.cc,v 1.6 2007/09/29 17:49:34 vnivanch 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/electromagnetic/xrays/src/G4SynchrotronRadiation.cc
r1007 r1196 26 26 // 27 27 // $Id: G4SynchrotronRadiation.cc,v 1.5 2006/06/29 19:56:15 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/electromagnetic/xrays/src/G4SynchrotronRadiationInMat.cc
r1007 r1196 26 26 // 27 27 // $Id: G4SynchrotronRadiationInMat.cc,v 1.2 2006/06/29 19:56:17 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/electromagnetic/xrays/src/G4TransitionRadiation.cc
r1007 r1196 26 26 // 27 27 // $Id: G4TransitionRadiation.cc,v 1.7 2006/06/29 19:56:19 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // G4TransitionRadiation class -- implementation file -
trunk/source/processes/electromagnetic/xrays/src/G4TransparentRegXTRadiator.cc
r1007 r1196 26 26 // 27 27 // $Id: G4TransparentRegXTRadiator.cc,v 1.11 2007/09/29 17:49:34 vnivanch 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/electromagnetic/xrays/src/G4VTransitionRadiation.cc
r1007 r1196 26 26 // 27 27 // $Id: G4VTransitionRadiation.cc,v 1.5 2006/06/29 19:56:23 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // G4VTransitionRadiation class -- implementation file -
trunk/source/processes/electromagnetic/xrays/src/G4VXTRenergyLoss.cc
r1007 r1196 26 26 // 27 27 // $Id: G4VXTRenergyLoss.cc,v 1.44 2007/09/29 17:49:34 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2$28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // History:
Note: See TracChangeset
for help on using the changeset viewer.