Skip to content

Commit

Permalink
increase ClassDef for TimeSeriesITSTPC
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-kleiner committed Oct 20, 2023
1 parent 12a1d9e commit ac268b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ struct TimeSeriesITSTPC {
vertexZ_RMS.resize(nTotalVtx);
}

ClassDefNV(TimeSeriesITSTPC, 1);
ClassDefNV(TimeSeriesITSTPC, 2);
};

} // end namespace tpc
Expand Down
5 changes: 1 addition & 4 deletions Detectors/TPC/workflow/src/TPCTimeSeriesSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -754,13 +754,10 @@ class TPCTimeSeries : public Task
// store TPC only DCAs
// propagate to vertex in case the track belongs to vertex
const bool contributeToVertex = (idxITSTPC.back() != -1);
o2::gpu::gpustd::array<float, 2> dcaITSTPCTmp{0, 0};
o2::gpu::gpustd::array<float, 2> dcaITSTPCTmp{-1, -1};

if (contributeToVertex) {
propagator->propagateToDCA(vertex.getXYZ(), trackITSTPCTmp, propagator->getNominalBz(), mFineStep, mMatType, &dcaITSTPCTmp);
} else {
dcaITSTPCTmp[0] == -1;
dcaITSTPCTmp[1] == -1;
}

// make cut around DCA to vertex due to gammas
Expand Down

0 comments on commit ac268b8

Please sign in to comment.