Changeset 921 for trunk/source/track


Ignore:
Timestamp:
Feb 16, 2009, 10:14:30 AM (16 years ago)
Author:
garnier
Message:

en test de gl2ps. Problemes de libraries

Location:
trunk/source/track
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/track/History

    r850 r921  
    1 $Id: History,v 1.101 2008/02/05 01:46:57 kurasige Exp $
     1$Id: History,v 1.102 2008/10/24 08:22:20 kurasige Exp $
    22-------------------------------------------------------------------
    33
     
    1717     * Reverse chronological order (last date on top), please *
    1818     ----------------------------------------------------------
     19Oct. 24, 2008 Hisaya Kurashige (track-V09-01-02)
     20- change fpCreatorProcess and fpLCAtVertex in G4Track to  'const' pointer   
     21- change fpProcessDefinedStep in G4StepPoint to  'const' pointer   
     22
     23 
    1924Feb. 5, 2008 Hisaya Kurashige (track-V09-01-01)
    2025- reset non-ionizing energy loss in G4Step::ResetTotalEnergyDeposit
  • trunk/source/track/include/G4StepPoint.hh

    r850 r921  
    2525//
    2626//
    27 // $Id: G4StepPoint.hh,v 1.18 2007/03/11 07:19:06 kurasige Exp $
    28 // GEANT4 tag $Name: HEAD $
     27// $Id: G4StepPoint.hh,v 1.19 2008/10/24 08:22:20 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-02-cand-01 $
    2929//
    3030//
     
    157157     // If the pointer is 0, this means the Step is defined
    158158     // by the user defined limit in the current volume.
    159   inline void SetProcessDefinedStep(G4VProcess* aValue);
     159  inline void SetProcessDefinedStep(const G4VProcess* aValue);
    160160
    161161 
     
    206206   G4StepStatus fStepStatus;
    207207      // DoIt type which defined the current Step.
    208    G4VProcess* fpProcessDefinedStep;
     208   const G4VProcess* fpProcessDefinedStep;
    209209      // Process which defined the current Step.
    210210   G4double fMass;
  • trunk/source/track/include/G4StepPoint.icc

    r850 r921  
    2525//
    2626//
    27 // $Id: G4StepPoint.icc,v 1.13 2007/03/11 07:19:06 kurasige Exp $
    28 // GEANT4 tag $Name: HEAD $
     27// $Id: G4StepPoint.icc,v 1.14 2008/10/24 08:22:20 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-02-cand-01 $
    2929//
    3030//
     
    173173     // If the pointer is 0, this means the Step is defined
    174174     // by the user defined limit in the current volume.
    175    inline void G4StepPoint::SetProcessDefinedStep(G4VProcess* aValue)
     175   inline void G4StepPoint::SetProcessDefinedStep(const G4VProcess* aValue)
    176176   { fpProcessDefinedStep = aValue; }
    177177
  • trunk/source/track/include/G4Track.hh

    r850 r921  
    2525//
    2626//
    27 // $Id: G4Track.hh,v 1.18 2006/06/29 21:14:47 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     27// $Id: G4Track.hh,v 1.19 2008/10/24 08:22:20 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-02-cand-01 $
    2929//
    3030//
     
    217217   void SetVertexKineticEnergy(const G4double aValue);
    218218
    219    G4LogicalVolume* GetLogicalVolumeAtVertex() const;
    220    void SetLogicalVolumeAtVertex(G4LogicalVolume* );
     219   const G4LogicalVolume* GetLogicalVolumeAtVertex() const;
     220   void SetLogicalVolumeAtVertex(const G4LogicalVolume* );
    221221
    222222   const G4VProcess* GetCreatorProcess() const;
    223    void SetCreatorProcess(G4VProcess* aValue);
     223   void SetCreatorProcess(const G4VProcess* aValue);
    224224
    225225  // track weight
     
    273273   G4ThreeVector fVtxMomentumDirection; // Momentum direction at the vertex
    274274   G4double fVtxKineticEnergy;          // Kinetic energy at the vertex
    275    G4LogicalVolume* fpLVAtVertex;      //Logical Volume at the vertex
    276    G4VProcess* fpCreatorProcess;        // Process which created the track
     275   const G4LogicalVolume* fpLVAtVertex; //Logical Volume at the vertex
     276   const G4VProcess* fpCreatorProcess; // Process which created the track
    277277   
    278278   G4VUserTrackInformation* fpUserInformation;
  • trunk/source/track/include/G4Track.icc

    r850 r921  
    2525//
    2626//
    27 // $Id: G4Track.icc,v 1.15 2007/10/02 00:46:21 kurasige Exp $
    28 // GEANT4 tag $Name: HEAD $
     27// $Id: G4Track.icc,v 1.16 2008/10/24 08:22:20 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-02-cand-01 $
    2929//
    3030//-----------------------------------------------------------------
     
    247247   { fVtxKineticEnergy = aValue; }
    248248
    249    inline  G4LogicalVolume* G4Track::GetLogicalVolumeAtVertex() const
     249   inline  const G4LogicalVolume* G4Track::GetLogicalVolumeAtVertex() const
    250250   { return fpLVAtVertex; }
    251251
    252    inline void G4Track::SetLogicalVolumeAtVertex(G4LogicalVolume* aValue)
     252   inline void G4Track::SetLogicalVolumeAtVertex(const G4LogicalVolume* aValue)
    253253   { fpLVAtVertex = aValue; }
    254254
     
    259259     // 0, it points to the process which created this track.
    260260
    261    inline void G4Track::SetCreatorProcess(G4VProcess* aValue)
     261   inline void G4Track::SetCreatorProcess(const G4VProcess* aValue)
    262262   { fpCreatorProcess = aValue; }
    263263
Note: See TracChangeset for help on using the changeset viewer.