2012{
2013
2014
2015
2016
2017
2018
2019 G4long oldcoutPrec = os.precision(4);
2020 if(
n.fVerbose >= 4 )
2021 {
2022 os <<
"The current state of G4Navigator is: " <<
G4endl;
2023 os <<
" ValidExitNormal= " <<
n.fValidExitNormal <<
G4endl
2024 <<
" ExitNormal = " <<
n.fExitNormal <<
G4endl
2025 <<
" Exiting = " <<
n.fExiting <<
G4endl
2026 <<
" Entering = " <<
n.fEntering <<
G4endl
2027 << " BlockedPhysicalVolume= " ;
2028 if (
n.fBlockedPhysicalVolume==
nullptr)
2029 {
2030 os << "None";
2031 }
2032 else
2033 {
2034 os <<
n.fBlockedPhysicalVolume->GetName();
2035 }
2037 <<
" BlockedReplicaNo = " <<
n.fBlockedReplicaNo <<
G4endl
2038 <<
" LastStepWasZero = " <<
n.fLastStepWasZero <<
G4endl
2040 }
2041 if( ( 1 <
n.fVerbose) && (
n.fVerbose < 4) )
2042 {
2044 os << std::setw(30) << " ExitNormal " << " "
2045 << std::setw( 5) << " Valid " << " "
2046 << std::setw( 9) << " Exiting " << " "
2047 << std::setw( 9) << " Entering" << " "
2048 << std::setw(15) << " Blocked:Volume " << " "
2049 << std::setw( 9) << " ReplicaNo" << " "
2050 << std::setw( 8) << " LastStepZero " << " "
2052 os <<
"( " << std::setw(7) <<
n.fExitNormal.x()
2053 <<
", " << std::setw(7) <<
n.fExitNormal.y()
2054 <<
", " << std::setw(7) <<
n.fExitNormal.z() <<
" ) "
2055 << std::setw( 5) <<
n.fValidExitNormal <<
" "
2056 << std::setw( 9) <<
n.fExiting <<
" "
2057 << std::setw( 9) <<
n.fEntering <<
" ";
2058 if (
n.fBlockedPhysicalVolume==
nullptr )
2059 { os << std::setw(15) << "None"; }
2060 else
2061 { os << std::setw(15)<<
n.fBlockedPhysicalVolume->GetName(); }
2062 os << std::setw( 9) <<
n.fBlockedReplicaNo <<
" "
2063 << std::setw( 8) <<
n.fLastStepWasZero <<
" "
2065 }
2066 if(
n.fVerbose > 2 )
2067 {
2068 os.precision(8);
2069 os <<
" Current Localpoint = " <<
n.fLastLocatedPointLocal <<
G4endl;
2070 os <<
" PreviousSftOrigin = " <<
n.fPreviousSftOrigin <<
G4endl;
2071 os <<
" PreviousSafety = " <<
n.fPreviousSafety <<
G4endl;
2072 }
2073 if(
n.fVerbose > 3 ||
n.fVerbose == 0 )
2074 {
2075 os <<
"Current History: " <<
G4endl <<
n.fHistory;
2076 }
2077
2078 os.precision(oldcoutPrec);
2079 return os;
2080}