From 5ce6bb4aa7466d4b0cd1927cdf482b104d05e1f5 Mon Sep 17 00:00:00 2001
From: Frank Gaede <frank.gaede@desy.de>
Date: Mon, 17 Jun 2013 13:36:36 +0000
Subject: [PATCH] - commented out debug printout
---
DDExamples/ILDExSimu/src/ILDExEventAction.cpp | 6 ++++--
DDG4/src/Geant4SensitiveDetector.cpp | 2 +-
DDG4/src/Geant4TrackerSD.cpp | 2 +-
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/DDExamples/ILDExSimu/src/ILDExEventAction.cpp b/DDExamples/ILDExSimu/src/ILDExEventAction.cpp
index e2a8aef68..50751ca74 100644
--- a/DDExamples/ILDExSimu/src/ILDExEventAction.cpp
+++ b/DDExamples/ILDExSimu/src/ILDExEventAction.cpp
@@ -28,7 +28,7 @@
#include "UTIL/ILDConf.h"
-#define DEBUG 1
+#define DEBUG 0
//------ helper functions ------------------
@@ -205,7 +205,9 @@ void ILDExEventAction::EndOfEventAction(const G4Event* evt)
col->setFlag( UTIL::make_bitset32( LCIO::CHBIT_LONG, LCIO::CHBIT_STEP ) );
- std::cout << " setting collection flag: " << col->getFlag() << std::endl ;
+#if DEBUG
+ std::cout << " setting collection flag: 0x" << std::hex << col->getFlag() << std::dec << std::endl ;
+#endif
for(int j=0,N= hCol->GetSize() ; j<N ; ++j) {
diff --git a/DDG4/src/Geant4SensitiveDetector.cpp b/DDG4/src/Geant4SensitiveDetector.cpp
index 0bd1d2e76..8bfac647f 100644
--- a/DDG4/src/Geant4SensitiveDetector.cpp
+++ b/DDG4/src/Geant4SensitiveDetector.cpp
@@ -19,7 +19,7 @@
#include "TGeoNode.h"
-#define DEBUG 1
+#define DEBUG 0
// C/C++ include files
diff --git a/DDG4/src/Geant4TrackerSD.cpp b/DDG4/src/Geant4TrackerSD.cpp
index 99ed7f886..73c09ba2c 100644
--- a/DDG4/src/Geant4TrackerSD.cpp
+++ b/DDG4/src/Geant4TrackerSD.cpp
@@ -32,7 +32,7 @@ namespace DD4hep { namespace Simulation {
direction *= new_len/hit_len;
}
- G4cout << "----------- Geant4GenericSD<Tracker>::buildHits : position : " << prePos << G4endl ;
+ // G4cout << "----------- Geant4GenericSD<Tracker>::buildHits : position : " << prePos << G4endl ;
Geant4TrackerHit* hit =
new Geant4TrackerHit(h.track->GetTrackID(),
--
GitLab