Changeset 921 for trunk/source/track/include
- Timestamp:
- Feb 16, 2009, 10:14:30 AM (16 years ago)
- Location:
- trunk/source/track/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/track/include/G4StepPoint.hh
r850 r921 25 25 // 26 26 // 27 // $Id: G4StepPoint.hh,v 1.1 8 2007/03/11 07:19:06kurasige 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 $ 29 29 // 30 30 // … … 157 157 // If the pointer is 0, this means the Step is defined 158 158 // by the user defined limit in the current volume. 159 inline void SetProcessDefinedStep( G4VProcess* aValue);159 inline void SetProcessDefinedStep(const G4VProcess* aValue); 160 160 161 161 … … 206 206 G4StepStatus fStepStatus; 207 207 // DoIt type which defined the current Step. 208 G4VProcess* fpProcessDefinedStep;208 const G4VProcess* fpProcessDefinedStep; 209 209 // Process which defined the current Step. 210 210 G4double fMass; -
trunk/source/track/include/G4StepPoint.icc
r850 r921 25 25 // 26 26 // 27 // $Id: G4StepPoint.icc,v 1.1 3 2007/03/11 07:19:06kurasige 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 $ 29 29 // 30 30 // … … 173 173 // If the pointer is 0, this means the Step is defined 174 174 // by the user defined limit in the current volume. 175 inline void G4StepPoint::SetProcessDefinedStep( G4VProcess* aValue)175 inline void G4StepPoint::SetProcessDefinedStep(const G4VProcess* aValue) 176 176 { fpProcessDefinedStep = aValue; } 177 177 -
trunk/source/track/include/G4Track.hh
r850 r921 25 25 // 26 26 // 27 // $Id: G4Track.hh,v 1.1 8 2006/06/29 21:14:47 gunterExp $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 $ 29 29 // 30 30 // … … 217 217 void SetVertexKineticEnergy(const G4double aValue); 218 218 219 G4LogicalVolume* GetLogicalVolumeAtVertex() const;220 void SetLogicalVolumeAtVertex( G4LogicalVolume* );219 const G4LogicalVolume* GetLogicalVolumeAtVertex() const; 220 void SetLogicalVolumeAtVertex(const G4LogicalVolume* ); 221 221 222 222 const G4VProcess* GetCreatorProcess() const; 223 void SetCreatorProcess( G4VProcess* aValue);223 void SetCreatorProcess(const G4VProcess* aValue); 224 224 225 225 // track weight … … 273 273 G4ThreeVector fVtxMomentumDirection; // Momentum direction at the vertex 274 274 G4double fVtxKineticEnergy; // Kinetic energy at the vertex 275 G4LogicalVolume* fpLVAtVertex;//Logical Volume at the vertex276 G4VProcess* fpCreatorProcess;// Process which created the track275 const G4LogicalVolume* fpLVAtVertex; //Logical Volume at the vertex 276 const G4VProcess* fpCreatorProcess; // Process which created the track 277 277 278 278 G4VUserTrackInformation* fpUserInformation; -
trunk/source/track/include/G4Track.icc
r850 r921 25 25 // 26 26 // 27 // $Id: G4Track.icc,v 1.1 5 2007/10/02 00:46:21kurasige 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 $ 29 29 // 30 30 //----------------------------------------------------------------- … … 247 247 { fVtxKineticEnergy = aValue; } 248 248 249 inline G4LogicalVolume* G4Track::GetLogicalVolumeAtVertex() const249 inline const G4LogicalVolume* G4Track::GetLogicalVolumeAtVertex() const 250 250 { return fpLVAtVertex; } 251 251 252 inline void G4Track::SetLogicalVolumeAtVertex( G4LogicalVolume* aValue)252 inline void G4Track::SetLogicalVolumeAtVertex(const G4LogicalVolume* aValue) 253 253 { fpLVAtVertex = aValue; } 254 254 … … 259 259 // 0, it points to the process which created this track. 260 260 261 inline void G4Track::SetCreatorProcess( G4VProcess* aValue)261 inline void G4Track::SetCreatorProcess(const G4VProcess* aValue) 262 262 { fpCreatorProcess = aValue; } 263 263
Note: See TracChangeset
for help on using the changeset viewer.