Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ struct UnbinnedResid {
bool isITS() const { return row >= 180; }
int getDetID() const { return isTPC() ? 1 : (isITS() ? 0 : (isTRD() ? 2 : (isTOF() ? 3 : -1))); }
int getITSLayer() const { return row - 180; }
int getTRDLayer() const { return row - 170; }
int getTRDLayer() const { return row - 160; }
float getAlpha() const;
float getX() const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,7 @@ void TrackInterpolation::extrapolateTrack(int iSeed)
if (gidTableFull[GTrackID::TRD].isIndexSet()) {
const auto& trkTRD = mRecoCont->getITSTPCTRDTrack<o2::trd::TrackTRD>(gidTableFull[GTrackID::ITSTPCTRD]);
trackData.nTrkltsTRD = trkTRD.getNtracklets();
trackData.chi2TRD = trkTRD.getChi2();
for (int iLayer = 0; iLayer < o2::trd::constants::NLAYER; iLayer++) {
std::array<float, 2> trkltTRDYZ{};
int res = processTRDLayer(trkTRD, iLayer, trkWork, &trkltTRDYZ, nullptr, &trackData, &trkl64, &trklCalib);
Expand Down