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

update CVS release candidate geant4.9.3.01

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/tracking/src/G4SmoothTrajectory.cc

    r1011 r1196  
    2525//
    2626//
    27 // $Id: G4SmoothTrajectory.cc,v 1.18 2006/10/16 13:37:17 allison Exp $
    28 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     27// $Id: G4SmoothTrajectory.cc,v 1.19 2009/11/12 09:09:56 allison Exp $
     28// GEANT4 tag $Name: geant4-09-03-cand-01 $
    2929//
    3030//
     
    6060:  positionRecord(0), fTrackID(0), fParentID(0),
    6161   PDGEncoding( 0 ), PDGCharge(0.0), ParticleName(""),
    62    initialMomentum( G4ThreeVector() )
     62   initialKineticEnergy( 0. ), initialMomentum( G4ThreeVector() )
    6363{;}
    6464
     
    7171   fTrackID = aTrack->GetTrackID();
    7272   fParentID = aTrack->GetParentID();
     73   initialKineticEnergy = aTrack->GetKineticEnergy();
    7374   initialMomentum = aTrack->GetMomentum();
    7475   positionRecord = new TrajectoryPointContainer();
     
    8889  fTrackID = right.fTrackID;
    8990  fParentID = right.fParentID;
     91  initialKineticEnergy = right.initialKineticEnergy;
    9092  initialMomentum = right.initialMomentum;
    9193  positionRecord = new TrajectoryPointContainer();
     
    147149    (*store)[PDG] = G4AttDef(PDG,"PDG Encoding","Physics","","G4int");
    148150
     151    G4String IKE("IKE");
     152    (*store)[IKE] =
     153      G4AttDef(IKE, "Initial kinetic energy",
     154               "Physics","G4BestUnit","G4double");
     155
    149156    G4String IMom("IMom");
    150     (*store)[IMom] = G4AttDef(IMom, "Momentum of track at start of trajectory",
     157    (*store)[IMom] = G4AttDef(IMom, "Initial momentum",
    151158                              "Physics","G4BestUnit","G4ThreeVector");
    152159
    153160    G4String IMag("IMag");
    154161    (*store)[IMag] = G4AttDef
    155       (IMag, "Magnitude of momentum of track at start of trajectory",
     162      (IMag, "Initial momentum magnitude",
    156163       "Physics","G4BestUnit","G4double");
    157164
     
    181188  values->push_back
    182189    (G4AttValue("PDG",G4UIcommand::ConvertToString(PDGEncoding),""));
     190
     191  values->push_back
     192    (G4AttValue("IKE",G4BestUnit(initialKineticEnergy,"Energy"),""));
    183193
    184194  values->push_back
Note: See TracChangeset for help on using the changeset viewer.