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

update CVS release candidate geant4.9.3.01

Location:
trunk/source/track/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/track/include/G4ParticleChangeForLoss.hh

    r1058 r1196  
    2525//
    2626//
    27 // $Id: G4ParticleChangeForLoss.hh,v 1.20 2008/01/11 19:57:12 vnivanch Exp $
    28 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     27// $Id: G4ParticleChangeForLoss.hh,v 1.22 2009/06/17 17:25:57 vnivanch Exp $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
     
    4242//                         and ProposeWeight for PostStep
    4343//   07.06.06 V.Ivanchenko RemoveProposedMomentumDirection from AlongStep
    44 //   28.08.06 V.Ivanchenko Add access to current track and polarizaion
     44//   28.08.06 V.Ivanchenko Added access to current track and polarizaion
     45//   17.06.09 V.Ivanchenko Added SetLowEnergyLimit method
    4546//
    4647// ------------------------------------------------------------
     
    108109  const G4Track* GetCurrentTrack() const;
    109110
     111  void SetLowEnergyLimit(G4double elimit);
     112
    110113  virtual void DumpInfo() const;
    111114
     
    125128  G4double proposedKinEnergy;
    126129  //  The final kinetic energy of the current particle.
     130
     131  G4double lowEnergyLimit;
     132  //  The limit kinetic energy below which particle is stopped
    127133
    128134  G4double currentCharge;
     
    263269
    264270  // update kinetic energy and charge
    265   if (kinEnergy < DBL_MIN) {
     271  if (kinEnergy < lowEnergyLimit) {
    266272    theLocalEnergyDeposit += kinEnergy;
    267273    kinEnergy = 0.0;
     
    311317}
    312318
     319inline void G4ParticleChangeForLoss::SetLowEnergyLimit(G4double elimit)
     320{
     321  lowEnergyLimit = elimit;
     322}
     323
    313324#endif
    314325
  • trunk/source/track/include/G4VUserTrackInformation.hh

    r1058 r1196  
    2525//
    2626//
    27 // $Id: G4VUserTrackInformation.hh,v 1.6 2006/06/29 21:14:59 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     27// $Id: G4VUserTrackInformation.hh,v 1.8 2009/10/19 17:11:43 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
     
    5757#define G4VUserTrackInformation_H 1
    5858
     59#include "globals.hh"
     60
    5961class G4VUserTrackInformation
    60 {
    61   public:
     62{ 
     63  public: // With Description
    6264    G4VUserTrackInformation();
     65    G4VUserTrackInformation(const G4String& infoType);
     66    // String is provided to indicate Type of UserTrackInfo class 
     67    // User is recommended to set the type of his/her class 
     68
    6369    virtual ~G4VUserTrackInformation();
    6470
    65   public:
    6671    virtual void Print() const = 0;
     72   
     73    const G4String& GetType() const;
     74    // get Type of this UserTrackInfo     
     75 
     76  protected:
     77    G4String fType;   
    6778};
    6879
     80inline
     81 const G4String& G4VUserTrackInformation::GetType() const
     82{
     83  return fType;
     84}
     85   
    6986#endif
    7087
Note: See TracChangeset for help on using the changeset viewer.