Changeset 1340 for trunk/source/tracking/src/G4TrackingManager.cc
- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/tracking/src/G4TrackingManager.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4TrackingManager.cc,v 1.2 2 2006/11/14 10:58:47 tsasakiExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4TrackingManager.cc,v 1.23 2010/07/19 13:41:21 gcosmo Exp $ 28 // GEANT4 tag $Name: tracking-V09-03-08 $ 29 29 // 30 30 //--------------------------------------------------------------- … … 49 49 G4TrackingManager::G4TrackingManager() 50 50 ////////////////////////////////////// 51 : fpUserTrackingAction( NULL), fpTrajectory(NULL),51 : fpUserTrackingAction(0), fpTrajectory(0), 52 52 StoreTrajectory(0), verboseLevel(0), EventIsAborted(false) 53 53 { … … 92 92 // Pre tracking user intervention process. 93 93 fpTrajectory = 0; 94 if( fpUserTrackingAction != NULL) {94 if( fpUserTrackingAction != 0 ) { 95 95 fpUserTrackingAction->PreUserTrackingAction(fpTrack); 96 96 } … … 137 137 138 138 // Post tracking user intervention process. 139 if( fpUserTrackingAction != NULL) {139 if( fpUserTrackingAction != 0 ) { 140 140 fpUserTrackingAction->PostUserTrackingAction(fpTrack); 141 141 } … … 154 154 { 155 155 #ifndef G4_STORE_TRAJECTORY 156 G4Exception("G4TrackingManager::SetTrajectory is invoked without G4_STORE_TRAJECTORY compilor option"); 156 G4Exception("G4TrackingManager::SetTrajectory()", 157 "Tracking0015", FatalException, 158 "Invoked without G4_STORE_TRAJECTORY option set!"); 157 159 #endif 158 160 fpTrajectory = aTrajectory;
Note: See TracChangeset
for help on using the changeset viewer.