diff --git a/DDExamples/ILDExSimu/src/ILDExEventAction.cpp b/DDExamples/ILDExSimu/src/ILDExEventAction.cpp index e2a8aef68fcb03fcc8f6c5da00e15d2f79011d54..50751ca740b9e5073470b6ba6f3383ffb7f4ea5a 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 0bd1d2e76e06d8a2f9da124a65a86e92c972f2a9..8bfac647f82ca9a6272a2ba29b05744a2da3ac5a 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 99ed7f8863157d770a04164edc7306376d54794d..73c09ba2c8c82c12b51a4dd450bb25440e6db7b6 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(),