Cleanup of output messages...
[u/mrichter/AliRoot.git] / Flugg / NavHistWithCount.icc
index d45f4d5ad77fe390d10493d4fc90eec5a8c6d8d7..c4468cdc0ab77b9ab3a817bc4f576a38069df6fa 100644 (file)
@@ -11,7 +11,9 @@
 
 inline NavHistWithCount::NavHistWithCount(const G4NavigationHistory &history)
    {
+#ifdef G4GEOMETRY_DEBUG
    G4cout << "NavHistWithCount::NavHistWithCount created" << G4endl;
+#endif
    fhistory = new G4NavigationHistory(history);
    fDelate=0;
    count=0;
@@ -19,7 +21,9 @@ inline NavHistWithCount::NavHistWithCount(const G4NavigationHistory &history)
 
 inline NavHistWithCount::~NavHistWithCount()
    {
+#ifdef G4GEOMETRY_DEBUG
    G4cout << "NavHistWithCount::NavHistWithCount deleted" << G4endl;
+#endif
    delete fhistory;
    fDelate=1;
    fhistory=0;