From 4644ae033b6d65a9adfbd0f2ad4dc965990abe7f Mon Sep 17 00:00:00 2001
From: Chengdong Fu <fucd@ihep.ac.cn>
Date: Fri, 8 Oct 2021 14:59:42 +0800
Subject: [PATCH] optimize print information

---
 Reconstruction/Tracking/src/Clupatra/ClupatraAlg.cpp | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/Reconstruction/Tracking/src/Clupatra/ClupatraAlg.cpp b/Reconstruction/Tracking/src/Clupatra/ClupatraAlg.cpp
index ed76016f..aed3b55e 100644
--- a/Reconstruction/Tracking/src/Clupatra/ClupatraAlg.cpp
+++ b/Reconstruction/Tracking/src/Clupatra/ClupatraAlg.cpp
@@ -233,7 +233,7 @@ StatusCode ClupatraAlg::initialize() {
 StatusCode ClupatraAlg::execute() {
 
 
-	debug() << "Clupatra Algorithm started" << endmsg;
+  info() << "Clupatra Algorithm started" << endmsg;
 
 	//  clock_t start =  clock() ;
 	Timer timer ;
@@ -537,7 +537,7 @@ StatusCode ClupatraAlg::execute() {
 				debug() <<  " call fitter for seed cluster with " << (*icv)->size() << " hits " << endmsg;
 				int counter = 0;
 				for( Clusterer::cluster_type::iterator ci=(*icv)->begin(), end= (*icv)->end() ; ci!=end; ++ci ) {
-				  debug() << counter++ << " " <<  (*ci)->first->edm4hepHit << " \nlayer " << (*ci)->first->layer << endmsg;
+				  debug() << counter++ << " " <<  (*ci)->first->edm4hepHit.id() << " layer " << (*ci)->first->layer << endmsg;
 				}
 
 
@@ -562,9 +562,8 @@ StatusCode ClupatraAlg::execute() {
 					ConstTrack edm4hepTrk( converter( *icv ) ) ;
 					// debug() << "Goes goes here" << endmsg;
 
-					// FIXME Mingrui
-					debug() << "=============  poor seed cluster - no hits added - started from row " <<  outerRow << "\n"
-						<< edm4hepTrk << endmsg;
+					debug() << "=============  poor seed cluster - no hits added - started from row " <<  outerRow << " track id="
+						<< edm4hepTrk.id() << endmsg;
 
 
 					for( Clusterer::cluster_type::iterator ci=(*icv)->begin(), end= (*icv)->end() ; ci!=end; ++ci ) {
-- 
GitLab