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