File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -461,6 +461,13 @@ void AODProducerWorkflowDPL::addToTRDsExtra(const o2::globaltracking::RecoContai
461461
462462 if (mStreamerFlags [AODProducerStreamerFlags::TRDExtra]) {
463463 const auto & tpctrk = recoData.getTrack <o2::tpc::TrackTPC>(contributorsGID[GIndex::Source::TPC]);
464+ o2::dataformats::MatchInfoTOF tofMtc;
465+ o2::track::TrackParCov toftrk;
466+ toftrk.invalidate ();
467+ if (contributorsGID[GIndex::Source::TOF].isIndexSet ()) {
468+ tofMtc = recoData.getTOFMatch (trkIdx);
469+ toftrk = recoData.getTrackParamOut (trkIdx);
470+ }
464471 (*mStreamer ) << " trdExtra"
465472 << " dEdx=" << dEdx
466473 << " eProb=" << trk.getSignal ()
@@ -476,6 +483,8 @@ void AODProducerWorkflowDPL::addToTRDsExtra(const o2::globaltracking::RecoContai
476483 << " cloctracklets=" << cloctrkletsa
477484 << " tpctrk=" << tpctrk
478485 << " trdtrk=" << trk
486+ << " toftrk=" << toftrk
487+ << " tofMtc=" << tofMtc
479488 << " globaltrk=" << recoData.getTrack <o2::track::TrackParCov>(trkIdx)
480489 << " \n " ;
481490 }
You can’t perform that action at this time.
0 commit comments