#include "G4ios.hh"
#include "g4std/iomanip"
-#define G4DEBUG_NAVIGATION 1
-#define G4VERBOSE 1
+#ifdef G4GEOMETRY_DEBUG
+# define G4DEBUG_NAVIGATION 1
+# define G4VERBOSE 1
+#endif
FluggNavigator::FluggNavigator() :
G4Navigator()
{
+#ifdef G4GEOMETRY_DEBUG
G4cout << "==> Flugg FluggNavigator constructor" << G4endl;
- G4cout << "\t+fHistory=" << fHistory << ") ..." << G4endl;
+#endif
+
ResetStackAndState();
+
+#ifdef G4GEOMETRY_DEBUG
G4cout << "<== Flugg FluggNavigator constructor" << G4endl;
+#endif
}
void FluggNavigator::UpdateNavigatorHistory(const G4NavigationHistory* newNavHistory)
{
+#ifdef G4GEOMETRY_DEBUG
cout << "==> Flugg FluggNavigator::UpdateNavigatorHistory(" << newNavHistory
<< ")" << endl;
cout << "\t+fHistory=" << fHistory << ") ..." << G4endl;
+#endif
+
ResetStackAndState();
fHistory = *newNavHistory;
SetupHierarchy();
+
+#ifdef G4GEOMETRY_DEBUG
cout << "<== Flugg FluggNavigator::UpdateNavigatorHistory(" << newNavHistory
<< ")" << endl;
+#endif
}