Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

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

    r1337 r1340  
    2525//
    2626//
    27 // $Id: G4Step.hh,v 1.19 2008/01/12 12:00:25 kurasige Exp $
    28 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     27// $Id: G4Step.hh,v 1.22 2010/10/18 23:52:04 kurasige Exp $
     28// GEANT4 tag $Name: track-V09-03-09 $
    2929//
    3030//
     
    121121   void SetControlFlag(G4SteppingControl StepControlFlag);
    122122
    123    // difference of position, time, momentum and energy
    124    G4ThreeVector GetDeltaPosition() const;
    125    G4double GetDeltaTime() const;
    126 
    127    G4ThreeVector GetDeltaMomentum() const;
    128    G4double GetDeltaEnergy() const;
    129 
    130    // manipulation of total energy deposit
     123    // manipulation of total energy deposit
    131124   void AddTotalEnergyDeposit(G4double value);
    132125   void ResetTotalEnergyDeposit();
     
    138131
    139132  // Get/Set/Clear flag for initial/last step
     133   // NOTE:  following flags are not used
     134   //        will be ready in later release
    140135   G4bool IsFirstStepInVolume() const;
    141136   G4bool IsLastStepInVolume() const;
     
    145140   void SetLastStepFlag();
    146141   void ClearLastStepFlag();
     142
     143  // difference of position, time, momentum and energy
     144   G4ThreeVector GetDeltaPosition() const;
     145   G4double GetDeltaTime() const;
     146
     147  // These methods will be deleted
     148  // NOTE: use  GetTotalEnergyDeposit() to obtain
     149  //       energy loss in the material
     150  //
     151   G4ThreeVector GetDeltaMomentum() const;
     152   G4double GetDeltaEnergy() const;
     153
    147154
    148155// Other member functions
     
    191198// Secondary buckets
    192199public:
    193    G4TrackVector* GetSecondary() const;
     200   // secodaries in the current step
     201   const std::vector<const G4Track*>* GetSecondaryInCurrentStep() const;
     202 
     203   // NOTE: Secondary bucket of the Step contains 
     204   //       all secondaries during tracking the current track
     205   //       (i.e. NOT secondaries produced in the current step)
     206   // all following methods give same object (i.e. G4TrackVector  )
     207   // but 2nd one will create bucket in addition 
     208   const G4TrackVector* GetSecondary() const ;
    194209   G4TrackVector* GetfSecondary();
    195210   G4TrackVector* NewSecondaryVector();
     211
     212   // just delete secondary bucket
     213   //  NOTE: G4Track objects inside the bucket are not deleted
    196214   void DeleteSecondaryVector();
     215
     216   // Add secondary tracks to the bucket
    197217   void SetSecondary( G4TrackVector* value);
    198 private:   
     218
     219private:
     220   // Secondaty bucket implemented by using  std::vector of G4Track*   
    199221   G4TrackVector* fSecondary;
    200222
Note: See TracChangeset for help on using the changeset viewer.