From d62ceeefe0f86e5502d442c9d9c762eab62d9b09 Mon Sep 17 00:00:00 2001 From: lintao Date: Fri, 1 Mar 2024 15:31:20 +0800 Subject: [PATCH] clean the code. --- Generator/src/LCAscHepRdr.cc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Generator/src/LCAscHepRdr.cc b/Generator/src/LCAscHepRdr.cc index 92a4f7fa5..ac99d8f22 100644 --- a/Generator/src/LCAscHepRdr.cc +++ b/Generator/src/LCAscHepRdr.cc @@ -65,7 +65,7 @@ namespace UTIL{ std::getline(inputFile, line); std::stringstream ss_(line); ss_ >> NHEP >> NOUT >> BRE >> WEIGHT; - std::cout << "NHEP: " << NHEP << std::endl; + // std::cout << "NHEP: " << NHEP << std::endl; if( inputFile.eof() ) { // @@ -79,7 +79,7 @@ namespace UTIL{ // Create a Collection Vector // mcVec = new IMPL::LCCollectionVec(LCIO::MCPARTICLE); - std::cout << "mc size: " << mcVec->size() << std::endl; + // std::cout << "mc size: " << mcVec->size() << std::endl; MCParticleImpl* p; MCParticleImpl* d; @@ -108,7 +108,10 @@ namespace UTIL{ for( int IHEP=0; IHEP> VHEP1 >> VHEP2 >> VHEP3 >> VHEP4; - std::cout << "ISTHEP: " << ISTHEP << std::endl; + // std::cout << "ISTHEP: " << ISTHEP << std::endl; - if(inputFile.eof()) - return nullptr; // // Create a MCParticle and fill it from stdhep info // @@ -135,7 +136,7 @@ namespace UTIL{ // PDGID // mcp->setPDG(IDHEP); - std::cout << "PDG: " << IDHEP << std::endl; + // std::cout << "PDG: " << IDHEP << std::endl; // // Momentum vector // @@ -233,7 +234,7 @@ namespace UTIL{ // for( int IHEP=0; IHEP