Ignore:
Timestamp:
Nov 25, 2009, 5:13:58 PM (16 years ago)
Author:
garnier
Message:

update CVS release candidate geant4.9.3.01

Location:
trunk/source/processes/electromagnetic/xrays/include
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/xrays/include/G4Cerenkov.hh

    r1007 r1196  
    2525//
    2626//
    27 // $Id: G4Cerenkov.hh,v 1.10 2008/10/22 01:17:36 gum Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     27// $Id: G4Cerenkov.hh,v 1.11 2009/07/29 23:45:02 gum Exp $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
     
    108108
    109109        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.
    111112
    112113        G4double GetMeanFreePath(const G4Track& aTrack,
     
    212213G4bool G4Cerenkov::IsApplicable(const G4ParticleDefinition& aParticleType)
    213214{
    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);
    219219}
    220220
  • trunk/source/processes/electromagnetic/xrays/include/G4ForwardXrayTR.hh

    r1007 r1196  
    2626//
    2727// $Id: G4ForwardXrayTR.hh,v 1.14 2006/06/29 19:55:33 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030// G4ForwardXrayTR -- header file
  • trunk/source/processes/electromagnetic/xrays/include/G4GammaXTRadiator.hh

    r1007 r1196  
    2626//
    2727// $Id: G4GammaXTRadiator.hh,v 1.4 2006/06/29 19:55:35 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
  • trunk/source/processes/electromagnetic/xrays/include/G4RegularXTRadiator.hh

    r1007 r1196  
    2626//
    2727// $Id: G4RegularXTRadiator.hh,v 1.3 2006/06/29 19:55:37 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
  • trunk/source/processes/electromagnetic/xrays/include/G4Scintillation.hh

    r1007 r1196  
    2525//
    2626//
    27 // $Id: G4Scintillation.hh,v 1.15 2008/06/13 01:04:49 gum Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     27// $Id: G4Scintillation.hh,v 1.16 2009/07/29 23:45:20 gum Exp $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
     
    119119        G4bool IsApplicable(const G4ParticleDefinition& aParticleType);
    120120        // Returns true -> 'is applicable', for any particle type except
    121         // for an 'opticalphoton'
     121        // for an 'opticalphoton' and for short-lived particles
    122122
    123123        G4double GetMeanFreePath(const G4Track& aTrack,
     
    216216G4bool G4Scintillation::IsApplicable(const G4ParticleDefinition& aParticleType)
    217217{
    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;
    223222}
    224223
  • trunk/source/processes/electromagnetic/xrays/include/G4StrawTubeXTRadiator.hh

    r1007 r1196  
    2626//
    2727// $Id: G4StrawTubeXTRadiator.hh,v 1.4 2007/09/29 17:49:34 vnivanch Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
  • trunk/source/processes/electromagnetic/xrays/include/G4SynchrotronRadiation.hh

    r1007 r1196  
    2626//
    2727// $Id: G4SynchrotronRadiation.hh,v 1.4 2006/06/29 19:55:43 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030// ------------------------------------------------------------
  • trunk/source/processes/electromagnetic/xrays/include/G4SynchrotronRadiationInMat.hh

    r1007 r1196  
    2626//
    2727// $Id: G4SynchrotronRadiationInMat.hh,v 1.2 2006/06/29 19:55:45 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030// ------------------------------------------------------------
  • trunk/source/processes/electromagnetic/xrays/include/G4TransitionRadiation.hh

    r1007 r1196  
    2626//
    2727// $Id: G4TransitionRadiation.hh,v 1.9 2006/06/29 19:55:47 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030// G4TransitionRadiation  -- header file
  • trunk/source/processes/electromagnetic/xrays/include/G4TransparentRegXTRadiator.hh

    r1007 r1196  
    2626//
    2727// $Id: G4TransparentRegXTRadiator.hh,v 1.2 2006/06/29 19:55:49 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
  • trunk/source/processes/electromagnetic/xrays/include/G4VTRModel.hh

    r1007 r1196  
    2626//
    2727// $Id: G4VTRModel.hh,v 1.3 2006/06/29 19:55:51 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030// G4VTRModel  -- header file
  • trunk/source/processes/electromagnetic/xrays/include/G4VTransitionRadiation.hh

    r1007 r1196  
    2626//
    2727// $Id: G4VTransitionRadiation.hh,v 1.3 2006/06/29 19:55:53 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030// G4VTransitionRadiation  -- header file
  • trunk/source/processes/electromagnetic/xrays/include/G4VXTRenergyLoss.hh

    r1007 r1196  
    2626//
    2727// $Id: G4VXTRenergyLoss.hh,v 1.24 2007/09/29 17:49:34 vnivanch Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
Note: See TracChangeset for help on using the changeset viewer.