@@ -872,7 +872,7 @@ struct NonPromptCascadeTask {
872872 const int mcid = mcp.mcCollisionId ();
873873 // std::cout << "mcid:" << mcid << std::endl;
874874 if (mcid < 0 || static_cast <size_t >(mcid) >= mcMult.size ()) {
875- std::cout << " 0 This should never happen ?" << std::endl ;
875+ LOG (info) << " 0 This should never happen ?" ;
876876 continue ;
877877 }
878878 if (!isAcceptedMCParticle (mcp)) {
@@ -898,7 +898,7 @@ struct NonPromptCascadeTask {
898898 if (collRowId >= 0 && collRowId <= maxCollRowId) {
899899 collRowIdToDense[collRowId] = denseIdx;
900900 } else {
901- std::cout << " 1 This should never happen ?" << std::endl ;
901+ LOG (info) << " 1 This should never happen ?" ;
902902 }
903903 ++denseIdx;
904904 }
@@ -922,7 +922,7 @@ struct NonPromptCascadeTask {
922922 const int dIdx = collRowIdToDense[collRowId];
923923 if (dIdx < 0 ) {
924924 // Tracks has collId which is not in the list created above
925- std::cout << " 3 This should never happen ?" << std::endl ;
925+ LOG (info) << " 3 This should never happen ?" ;
926926 continue ;
927927 }
928928 ++recoMultDense[dIdx];
@@ -942,7 +942,7 @@ struct NonPromptCascadeTask {
942942 if (mcid >= 0 && static_cast <size_t >(mcid) < mcCollisionHasRecoCollision.size ()) {
943943 mcCollisionHasRecoCollision[mcid] = 1 ;
944944 } else {
945- std::cout << " 4 This should never happen ?" << std::endl ;
945+ LOG (info) << " 4 This should never happen ?" ;
946946 }
947947 }
948948
@@ -952,7 +952,7 @@ struct NonPromptCascadeTask {
952952 for (auto const & mcColl : mcCollisions) {
953953 const int mcid = mcColl.globalIndex ();
954954 if (mcid < 0 || static_cast <size_t >(mcid) >= writeMcCollision.size ()) {
955- std::cout << " 5 This should never happen ?" << std::endl ;
955+ LOG (info) << " 5 This should never happen ?" ;
956956 continue ;
957957 }
958958 if ((ds % cfgDownscaleMB) == 0 ) {
@@ -1158,7 +1158,7 @@ struct NonPromptCascadeTask {
11581158 coll.centFT0M (),
11591159 coll.multFT0M ());
11601160 auto collIdx = NPCollsTable.lastIndex ();
1161- for (auto const pt : recoPts) {
1161+ for (auto const & pt : recoPts) {
11621162 NPRecoCandTable (collIdx, pt);
11631163 }
11641164 }
0 commit comments