Skip to content

Commit f446feb

Browse files
shahor02matthiasrichter
authored andcommitted
Fix in matching: impose ITS Z to TPC track for refit in cont.mode
1 parent 0b08de5 commit f446feb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Detectors/GlobalTracking/src/MatchTPCITS.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ bool MatchTPCITS::refitTrackITSTPC(const TrackLocITS& tITS)
11101110
auto& trfit = mMatchedTracks.back();
11111111
// in continuos mode the Z of TPC track is meaningless, unless it is CE crossing
11121112
// track (currently absent, TODO)
1113-
if (mCompareTracksDZ) {
1113+
if (!mCompareTracksDZ) {
11141114
trfit.setZ(tITS.getZ()); // fix the seed Z
11151115
}
11161116
float deltaT = (trfit.getZ() - tTPC.getZ()) * mZ2TPCBin; // time correction in time-bins

macro/run_match_TPCITS.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void run_match_TPCITS(std::string path = "./", std::string outputfile = "o2match
6868
std::array<float, o2::track::kNParams> cutsNSig2 = { 49.f, 49.f, 49.f, 49.f, 49.f };
6969
matching.setCrudeAbsDiffCut(cutsAbs);
7070
matching.setCrudeNSigma2Cut(cutsNSig2);
71-
71+
matching.setTPCTimeEdgeZSafeMargin(3);
7272
matching.init();
7373

7474
matching.run();

0 commit comments

Comments
 (0)