Skip to content

Commit d5cd513

Browse files
committed
Add to t_corrected to TPCITS debud output
1 parent 038e493 commit d5cd513

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Detectors/GlobalTracking/include/GlobalTracking/MatchTPCITS.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ class MatchTPCITS
395395
const std::string& getDebugTreeFileName() const { return mDebugTreeFileName; }
396396

397397
///< fill matching debug tree
398-
void fillTPCITSmatchTree(int itsID, int tpcID, int rejFlag, float chi2 = -1.);
398+
void fillTPCITSmatchTree(int itsID, int tpcID, int rejFlag, float chi2 = -1., float tCorr = 0.);
399399
void dumpWinnerMatches();
400400
#endif
401401

Detectors/GlobalTracking/src/MatchTPCITS.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ void MatchTPCITS::doMatching(int sec)
756756

757757
#ifdef _ALLOW_DEBUG_TREES_
758758
if (mDBGOut && ((rejFlag == Accept && isDebugFlag(MatchTreeAccOnly)) || isDebugFlag(MatchTreeAll))) {
759-
fillTPCITSmatchTree(cacheITS[iits], cacheTPC[itpc], rejFlag, chi2);
759+
fillTPCITSmatchTree(cacheITS[iits], cacheTPC[itpc], rejFlag, chi2, timeCorr);
760760
}
761761
#endif
762762
/*
@@ -1318,7 +1318,7 @@ bool MatchTPCITS::refitTrackTPCITS(int iTPC, int& iITS)
13181318
mMatchedTracks.pop_back(); // destroy failed track
13191319
return false;
13201320
}
1321-
int retVal = mTPCRefitter->RefitTrackAsTrackParCov(tracOut, mTPCTracksArray[tTPC.sourceID].getClusterRef(), timeC * mTPCTBinMUSInv, &chi2Out, true, false); // outward refit
1321+
int retVal = mTPCRefitter->RefitTrackAsTrackParCov(tracOut, mTPCTracksArray[tTPC.sourceID].getClusterRef(), tImposed, &chi2Out, true, false); // outward refit
13221322
if (retVal < 0) {
13231323
LOG(DEBUG) << "Refit failed";
13241324
mMatchedTracks.pop_back(); // destroy failed track
@@ -2283,7 +2283,7 @@ void MatchTPCITS::setDebugFlag(UInt_t flag, bool on)
22832283
}
22842284

22852285
//_________________________________________________________
2286-
void MatchTPCITS::fillTPCITSmatchTree(int itsID, int tpcID, int rejFlag, float chi2)
2286+
void MatchTPCITS::fillTPCITSmatchTree(int itsID, int tpcID, int rejFlag, float chi2, float tCorr)
22872287
{
22882288
///< fill debug tree for ITS TPC tracks matching check
22892289

@@ -2296,7 +2296,7 @@ void MatchTPCITS::fillTPCITSmatchTree(int itsID, int tpcID, int rejFlag, float c
22962296
}
22972297
o2::MCCompLabel lblITS, lblTPC;
22982298
(*mDBGOut) << "match"
2299-
<< "tf=" << mTFCount << "chi2Match=" << chi2 << "its=" << trackITS << "tpc=" << trackTPC;
2299+
<< "tf=" << mTFCount << "chi2Match=" << chi2 << "its=" << trackITS << "tpc=" << trackTPC << "tcorr=" << tCorr;
23002300
if (mMCTruthON) {
23012301
lblITS = mITSLblWork[itsID];
23022302
lblTPC = mTPCLblWork[tpcID];

0 commit comments

Comments
 (0)