@@ -1444,15 +1444,15 @@ bool MatchTPCITS::refitTrackTPCITSloopITS(int iITS, int& iTPC)
14441444 mTPCTransform ->Transform (sector, row, cl.getPad (), cl.getTime (), clsX, clsYZ[0 ], clsYZ[1 ], timeTB);
14451445 // rotate to 1 cluster's sector
14461446 if (!tracOut.rotate (o2::math_utils::sector2Angle (sector % 18 ))) {
1447- LOG (WARNING ) << " Rotation to sector " << int (sector % 18 ) << " failed" ;
1447+ LOG (DEBUG ) << " Rotation to sector " << int (sector % 18 ) << " failed" ;
14481448 mMatchedTracks .pop_back (); // destroy failed track
14491449 return false ;
14501450 }
14511451 // TODO: consider propagating in empty space till TPC entrance in large step, and then in more detailed propagation with mat. corrections
14521452
14531453 // propagate to 1st cluster X
14541454 if (!propagator->PropagateToXBxByBz (tracOut, clsX, o2::constants::physics::MassPionCharged, MaxSnp, 10 ., mUseMatCorrFlag , &trfit.getLTIntegralOut ())) {
1455- LOG (WARNING ) << " Propagation to 1st cluster at X=" << clsX << " failed, Xtr=" << tracOut.getX () << " snp=" << tracOut.getSnp ();
1455+ LOG (DEBUG ) << " Propagation to 1st cluster at X=" << clsX << " failed, Xtr=" << tracOut.getX () << " snp=" << tracOut.getSnp ();
14561456 mMatchedTracks .pop_back (); // destroy failed track
14571457 return false ;
14581458 }
@@ -1471,8 +1471,8 @@ bool MatchTPCITS::refitTrackTPCITSloopITS(int iITS, int& iTPC)
14711471 for (; icl--;) {
14721472 const auto & cl = tpcTrOrig.getCluster (mTPCTrackClusIdx , icl, *mTPCClusterIdxStruct , sector, row);
14731473 if (row <= prevrow) {
1474- LOG (WARNING ) << " New row/sect " << int (row) << ' /' << int (sector) << " is <= the previous " << int (prevrow)
1475- << ' /' << int (prevsector) << " TrackID: " << tTPC.sourceID << " Pt:" << tracOut.getPt ();
1474+ LOG (DEBUG ) << " New row/sect " << int (row) << ' /' << int (sector) << " is <= the previous " << int (prevrow)
1475+ << ' /' << int (prevsector) << " TrackID: " << tTPC.sourceID << " Pt:" << tracOut.getPt ();
14761476 if (row < prevrow) {
14771477 break ;
14781478 } else {
@@ -1484,21 +1484,21 @@ bool MatchTPCITS::refitTrackTPCITSloopITS(int iITS, int& iTPC)
14841484 if (prevsector != sector) {
14851485 prevsector = sector;
14861486 if (!tracOut.rotate (o2::math_utils::sector2Angle (sector % 18 ))) {
1487- LOG (WARNING ) << " Rotation to sector " << int (sector % 18 ) << " failed" ;
1487+ LOG (DEBUG ) << " Rotation to sector " << int (sector % 18 ) << " failed" ;
14881488 mMatchedTracks .pop_back (); // destroy failed track
14891489 return false ;
14901490 }
14911491 }
14921492 if (!propagator->PropagateToXBxByBz (tracOut, clsX, o2::constants::physics::MassPionCharged, MaxSnp,
14931493 10 ., MatCorrType::USEMatCorrNONE, &trfit.getLTIntegralOut ())) { // no material correction!
1494- LOG (INFO ) << " Propagation to cluster " << icl << " (of " << tpcTrOrig.getNClusterReferences () << " ) at X="
1495- << clsX << " failed, Xtr=" << tracOut.getX () << " snp=" << tracOut.getSnp () << " pT=" << tracOut.getPt ();
1494+ LOG (DEBUG ) << " Propagation to cluster " << icl << " (of " << tpcTrOrig.getNClusterReferences () << " ) at X="
1495+ << clsX << " failed, Xtr=" << tracOut.getX () << " snp=" << tracOut.getSnp () << " pT=" << tracOut.getPt ();
14961496 mMatchedTracks .pop_back (); // destroy failed track
14971497 return false ;
14981498 }
14991499 chi2Out += tracOut.getPredictedChi2 (clsYZ, clsCov);
15001500 if (!tracOut.update (clsYZ, clsCov)) {
1501- LOG (WARNING ) << " Update failed at cluster " << icl << " , chi2 =" << chi2Out;
1501+ LOG (DEBUG ) << " Update failed at cluster " << icl << " , chi2 =" << chi2Out;
15021502 mMatchedTracks .pop_back (); // destroy failed track
15031503 return false ;
15041504 }
@@ -1637,15 +1637,15 @@ bool MatchTPCITS::refitTrackTPCITSloopTPC(int iTPC, int& iITS)
16371637 mTPCTransform ->Transform (sector, row, cl.getPad (), cl.getTime () - timeTB, clsX, clsYZ[0 ], clsYZ[1 ]);
16381638 // rotate to 1 cluster's sector
16391639 if (!tracOut.rotate (o2::math_utils::sector2Angle (sector % 18 ))) {
1640- LOG (WARNING ) << " Rotation to sector " << int (sector % 18 ) << " failed" ;
1640+ LOG (DEBUG ) << " Rotation to sector " << int (sector % 18 ) << " failed" ;
16411641 mMatchedTracks .pop_back (); // destroy failed track
16421642 return false ;
16431643 }
16441644 // TODO: consider propagating in empty space till TPC entrance in large step, and then in more detailed propagation with mat. corrections
16451645
16461646 // propagate to 1st cluster X
16471647 if (!propagator->PropagateToXBxByBz (tracOut, clsX, o2::constants::physics::MassPionCharged, MaxSnp, 10 ., mUseMatCorrFlag , &trfit.getLTIntegralOut ())) {
1648- LOG (WARNING ) << " Propagation to 1st cluster at X=" << clsX << " failed, Xtr=" << tracOut.getX () << " snp=" << tracOut.getSnp ();
1648+ LOG (DEBUG ) << " Propagation to 1st cluster at X=" << clsX << " failed, Xtr=" << tracOut.getX () << " snp=" << tracOut.getSnp ();
16491649 mMatchedTracks .pop_back (); // destroy failed track
16501650 return false ;
16511651 }
@@ -1664,8 +1664,8 @@ bool MatchTPCITS::refitTrackTPCITSloopTPC(int iTPC, int& iITS)
16641664 for (; icl--;) {
16651665 const auto & cl = tpcTrOrig.getCluster (mTPCTrackClusIdx , icl, *mTPCClusterIdxStruct , sector, row);
16661666 if (row <= prevrow) {
1667- LOG (WARNING ) << " New row/sect " << int (row) << ' /' << int (sector) << " is <= the previous " << int (prevrow)
1668- << ' /' << int (prevsector) << " TrackID: " << tTPC.sourceID << " Pt:" << tracOut.getPt ();
1667+ LOG (DEBUG ) << " New row/sect " << int (row) << ' /' << int (sector) << " is <= the previous " << int (prevrow)
1668+ << ' /' << int (prevsector) << " TrackID: " << tTPC.sourceID << " Pt:" << tracOut.getPt ();
16691669 if (row < prevrow) {
16701670 break ;
16711671 } else {
@@ -1677,21 +1677,21 @@ bool MatchTPCITS::refitTrackTPCITSloopTPC(int iTPC, int& iITS)
16771677 if (prevsector != sector) {
16781678 prevsector = sector;
16791679 if (!tracOut.rotate (o2::math_utils::sector2Angle (sector % 18 ))) {
1680- LOG (WARNING ) << " Rotation to sector " << int (sector % 18 ) << " failed" ;
1680+ LOG (DEBUG ) << " Rotation to sector " << int (sector % 18 ) << " failed" ;
16811681 mMatchedTracks .pop_back (); // destroy failed track
16821682 return false ;
16831683 }
16841684 }
16851685 if (!propagator->PropagateToXBxByBz (tracOut, clsX, o2::constants::physics::MassPionCharged, MaxSnp,
16861686 10 ., MatCorrType::USEMatCorrNONE, &trfit.getLTIntegralOut ())) { // no material correction!
1687- LOG (INFO ) << " Propagation to cluster " << icl << " (of " << tpcTrOrig.getNClusterReferences () << " ) at X="
1688- << clsX << " failed, Xtr=" << tracOut.getX () << " snp=" << tracOut.getSnp () << " pT=" << tracOut.getPt ();
1687+ LOG (DEBUG ) << " Propagation to cluster " << icl << " (of " << tpcTrOrig.getNClusterReferences () << " ) at X="
1688+ << clsX << " failed, Xtr=" << tracOut.getX () << " snp=" << tracOut.getSnp () << " pT=" << tracOut.getPt ();
16891689 mMatchedTracks .pop_back (); // destroy failed track
16901690 return false ;
16911691 }
16921692 chi2Out += tracOut.getPredictedChi2 (clsYZ, clsCov);
16931693 if (!tracOut.update (clsYZ, clsCov)) {
1694- LOG (WARNING ) << " Update failed at cluster " << icl << " , chi2 =" << chi2Out;
1694+ LOG (DEBUG ) << " Update failed at cluster " << icl << " , chi2 =" << chi2Out;
16951695 mMatchedTracks .pop_back (); // destroy failed track
16961696 return false ;
16971697 }
@@ -1764,14 +1764,14 @@ bool MatchTPCITS::refitTPCInward(o2::track::TrackParCov& trcIn, float& chi2, flo
17641764 chi2 = 0 ;
17651765 icl = nclAcc - 1 ;
17661766
1767- printf (" RowsSpan: %d %d | %d clusters of %d\n " , rowArr[0 ], rowArr[icl], nclAcc, tpcTrOrig.getNClusterReferences ()); // tmp
1767+ // printf("RowsSpan: %d %d | %d clusters of %d\n", rowArr[0], rowArr[icl], nclAcc, tpcTrOrig.getNClusterReferences()); // tmp
17681768
17691769 auto propagator = o2::base::Propagator::Instance ();
17701770 mTPCTransform ->Transform (sectArr[icl], rowArr[icl], clsArr[icl]->getPad (), clsArr[icl]->getTime (), clsX, clsYZ[0 ], clsYZ[1 ], timeTB);
17711771 mTPCClusterParam ->GetClusterErrors2 (rowArr[icl], clsYZ[1 ], trcIn.getSnp (), trcIn.getTgl (), clsCov[0 ], clsCov[2 ]);
17721772 uint8_t sectCurr = sectArr[icl];
17731773 if (!trcIn.rotate (o2::math_utils::sector2Angle (sectCurr % 18 ))) {
1774- LOG (WARNING ) << " Rotation to sector " << int (sectCurr % 18 ) << " failed" ;
1774+ LOG (DEBUG ) << " Rotation to sector " << int (sectCurr % 18 ) << " failed" ;
17751775 return false ;
17761776 }
17771777 trcIn.setX (clsX);
@@ -1786,17 +1786,17 @@ bool MatchTPCITS::refitTPCInward(o2::track::TrackParCov& trcIn, float& chi2, flo
17861786 if (sectArr[icl] != sectCurr) {
17871787 sectCurr = sectArr[icl];
17881788 if (!trcIn.rotate (o2::math_utils::sector2Angle (sectCurr % 18 ))) {
1789- LOG (WARNING ) << " Rotation to sector " << int (sectCurr % 18 ) << " failed" ;
1790- LOG (WARNING ) << trcIn.asString ();
1789+ LOG (DEBUG ) << " Rotation to sector " << int (sectCurr % 18 ) << " failed" ;
1790+ LOG (DEBUG ) << trcIn.asString ();
17911791 return false ;
17921792 }
17931793 }
17941794 mTPCTransform ->Transform (sectArr[icl], rowArr[icl], clsArr[icl]->getPad (), clsArr[icl]->getTime (), clsX, clsYZ[0 ], clsYZ[1 ], timeTB);
17951795 mTPCClusterParam ->GetClusterErrors2 (rowArr[icl], clsYZ[1 ], trcIn.getSnp (), trcIn.getTgl (), clsCov[0 ], clsCov[2 ]);
17961796 if (!propagator->PropagateToXBxByBz (trcIn, clsX, m, TolSNP, 10 ., MatCorrType::USEMatCorrNONE)) { // no material correction!
1797- LOG (INFO ) << " Propagation to cluster at X="
1798- << clsX << " failed, Xtr=" << trcIn.getX () << " snp=" << trcIn.getSnp () << " pT=" << trcIn.getPt ();
1799- LOG (WARNING ) << trcIn.asString ();
1797+ LOG (DEBUG ) << " Propagation to cluster at X="
1798+ << clsX << " failed, Xtr=" << trcIn.getX () << " snp=" << trcIn.getSnp () << " pT=" << trcIn.getPt ();
1799+ LOG (DEBUG ) << trcIn.asString ();
18001800 return false ;
18011801 }
18021802 chi2 += trcIn.getPredictedChi2 (clsYZ, clsCov);
@@ -1809,8 +1809,8 @@ bool MatchTPCITS::refitTPCInward(o2::track::TrackParCov& trcIn, float& chi2, flo
18091809 // propagate to the inner edge of the TPC
18101810 // Note: it is allowed to not reach the requested radius
18111811 if (!propagator->PropagateToXBxByBz (trcIn, xTgt, m, MaxSnp, 2 ., mUseMatCorrFlag )) {
1812- LOG (INFO ) << " Propagation to target X=" << xTgt << " failed, Xtr=" << trcIn.getX () << " snp=" << trcIn.getSnp () << " pT=" << trcIn.getPt ();
1813- LOG (WARNING ) << trcIn.asString ();
1812+ LOG (DEBUG ) << " Propagation to target X=" << xTgt << " failed, Xtr=" << trcIn.getX () << " snp=" << trcIn.getSnp () << " pT=" << trcIn.getPt ();
1813+ LOG (DEBUG ) << trcIn.asString ();
18141814 return false ;
18151815 }
18161816 return true ;
0 commit comments