Changeset 1340 for trunk/source/tracking/src/G4UserSteppingAction.cc
- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/tracking/src/G4UserSteppingAction.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4UserSteppingAction.cc,v 1.1 0 2006/06/29 21:16:17 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4UserSteppingAction.cc,v 1.11 2010/07/19 13:41:21 gcosmo Exp $ 28 // GEANT4 tag $Name: tracking-V09-03-08 $ 29 29 // 30 30 // --------------------------------------------------------------- … … 50 50 G4UserSteppingAction::G4UserSteppingAction() 51 51 ///////////////////////////////////////////////////////// 52 : fpSteppingManager(0) 52 53 { 53 54 if(!(G4ParticleTable::GetParticleTable()->GetReadiness())) … … 56 57 msg = " You are instantiating G4UserSteppingAction BEFORE your\n"; 57 58 msg += "G4VUserPhysicsList is instantiated and assigned to G4RunManager.\n"; 58 msg += " Such an instantiation is prohibited byGeant4 version 8.0. To fix this problem,\n";59 msg += " Such an instantiation is prohibited since Geant4 version 8.0. To fix this problem,\n"; 59 60 msg += "please make sure that your main() instantiates G4VUserPhysicsList AND\n"; 60 61 msg += "set it to G4RunManager before instantiating other user action classes\n"; 61 62 msg += "such as G4UserSteppingAction."; 62 63 G4Exception("G4UserSteppingAction::G4UserSteppingAction()", 63 "Tracking0002",FatalException,msg);64 "Tracking0002", FatalException, msg); 64 65 } 65 66 } … … 77 78 fpSteppingManager = pValue; 78 79 } 79 80 81 82
Note: See TracChangeset
for help on using the changeset viewer.