Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/tracking/src/G4SteppingManager.cc

    r1337 r1340  
    2525//
    2626//
    27 // $Id: G4SteppingManager.cc,v 1.50 2009/02/27 08:09:50 tsasaki Exp $
    28 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     27// $Id: G4SteppingManager.cc,v 1.51 2010/07/19 13:41:21 gcosmo Exp $
     28// GEANT4 tag $Name: tracking-V09-03-08 $
    2929//
    3030//---------------------------------------------------------------
     
    5757G4SteppingManager::G4SteppingManager()
    5858//////////////////////////////////////
    59   : fUserSteppingAction(NULL), verboseLevel(0)
     59  : fUserSteppingAction(0), verboseLevel(0)
    6060{
    6161
     
    241241
    242242// User intervention process.
    243    if( fUserSteppingAction != NULL ) {
     243   if( fUserSteppingAction != 0 ) {
    244244      fUserSteppingAction->UserSteppingAction(fStep);
    245245   }
     
    262262   PreStepPointIsGeom = false;
    263263   FirstStep = true;
    264    fParticleChange = NULL;
     264   fParticleChange = 0;
    265265   fPreviousStepSize = 0.;
    266266   fStepStatus = fUndefined;
     
    335335       if(fTrack->GetParentID()==0)
    336336       {
    337         G4cerr << "Primary particle starting at "
    338                << fTrack->GetPosition()
    339                << " is outside of the world volume." << G4endl;
    340         G4Exception("G4SteppingManager::Primary vertex outside of the world");
     337         G4cerr << "ERROR - G4SteppingManager::SetInitialStep()" << G4endl
     338                << "        Primary particle starting at - "
     339                << fTrack->GetPosition()
     340                << " - is outside of the world volume." << G4endl;
     341         G4Exception("G4SteppingManager::SetInitialStep()", "Tracking0010",
     342                     FatalException, "Primary vertex outside of the world!");
    341343       }
    342344
    343345       fTrack->SetTrackStatus( fStopAndKill );
    344        G4cerr << "G4SteppingManager::SetInitialStep(): warning: "
    345               << "initial track position is outside world! "
     346       G4cout << "WARNING - G4SteppingManager::SetInitialStep()" << G4endl
     347              << "          Initial track position is outside world! - "
    346348              << fTrack->GetPosition() << G4endl;
    347349   }
     
    352354#ifdef G4VERBOSE
    353355                         // !!!!! Verbose
    354            if(verboseLevel>0) fVerbose->TrackingStarted();
     356   if(verboseLevel>0) fVerbose->TrackingStarted();
    355357#endif
    356358}
Note: See TracChangeset for help on using the changeset viewer.