Skip to content
Merged
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 @@ -1440,8 +1440,7 @@ RecoContainer::GlobalIDSet RecoContainer::getSingleDetectorRefs(GTrackID gidx) c
table[GTrackID::TRD] = parent0.getTrackRef(); // there is no standalone TRD track, so use the index for the ITSTPCTRD track array
} else if (src == GTrackID::TPCTRDTOF) {
const auto& parent0 = getTOFMatch(gidx); // TPCTRD : TOF
const auto& parent1 = getITSTPCTRDTrack<o2::trd::TrackTRD>(parent0.getTrackRef());
const auto& parent2 = getTPCITSTrack(parent1.getRefGlobalTrackId());
const auto& parent1 = getTPCTRDTrack<o2::trd::TrackTRD>(parent0.getTrackRef());
table[GTrackID::TPCTRD] = parent0.getTrackRef();
table[GTrackID::TPC] = parent1.getRefGlobalTrackId();
table[GTrackID::TOF] = {unsigned(parent0.getIdxTOFCl()), GTrackID::TOF};
Expand Down Expand Up @@ -1547,8 +1546,6 @@ const o2::dataformats::MCTruthContainer<o2::emcal::MCLabel>* RecoContainer::getE
void RecoContainer::getTrackTimeITSTPCTRDTOF(GTrackID gid, float& t, float& tErr) const
{
const auto& match = getITSTPCTRDTOFMatches()[gid];
auto gidx = match.getTrackRef(); // this should be corresponding ITS-TPC-TRD track
// const auto& tofCl = getTOFClusters()[match.getTOFClIndex()];
t = (match.getSignal() - match.getLTIntegralOut().getTOF(o2::track::PID::Pion)) * PS2MUS; // tof time in \mus, FIXME: account for time of flight to R TOF
tErr = 0.010f;
}
Expand All @@ -1557,8 +1554,6 @@ void RecoContainer::getTrackTimeITSTPCTRDTOF(GTrackID gid, float& t, float& tErr
void RecoContainer::getTrackTimeTPCTRDTOF(GTrackID gid, float& t, float& tErr) const
{
const auto& match = getTPCTRDTOFMatches()[gid];
auto gidx = match.getTrackRef(); // this should be corresponding ITS-TPC-TRD track
// const auto& tofCl = getTOFClusters()[match.getTOFClIndex()];
t = (match.getSignal() - match.getLTIntegralOut().getTOF(o2::track::PID::Pion)) * PS2MUS; // tof time in \mus, FIXME: account for time of flight to R TOF
tErr = 0.010f;
}
Expand All @@ -1567,8 +1562,6 @@ void RecoContainer::getTrackTimeTPCTRDTOF(GTrackID gid, float& t, float& tErr) c
void RecoContainer::getTrackTimeITSTPCTOF(GTrackID gid, float& t, float& tErr) const
{
const auto& match = getITSTPCTOFMatches()[gid];
auto gidx = match.getTrackRef(); // this should be corresponding ITS-TPC track
// const auto& tofCl = getTOFClusters()[match.getTOFClIndex()];
t = (match.getSignal() - match.getLTIntegralOut().getTOF(o2::track::PID::Pion)) * PS2MUS; // tof time in \mus, FIXME: account for time of flight to R TOF
tErr = 0.010f;
}
Expand Down