15#include <TObjString.h>
49#include "GPUChainTrackingGetters.inc"
97 auto const&
raw = pc.
inputs().
get<
const char*>(
"corrMap");
98 mTPCCorrMaps = &o2::gpu::TPCFastTransformPOD::get(raw);
99 float lumiCTP = mRequestCTPLumi ? pc.
inputs().
get<
float>(
"lumiCTP") : 0;
102 static bool initOnceDone =
false;
109 geo->createPadPlaneArray();
110 geo->createClusterMatrixArray();
111 mFlatGeo = std::make_unique<GeometryFlat>(*geo);
114 cfgRecoStep.
steps = gpudatatypes::RecoStep::NoRecoStep;
133 LOG(
error) <<
"Strict matching mode requested, but tracks with another close hypothesis will not be rejected. Please set trdNCandidates to at least 3.";
135 mTracker->SetProcessPerTimeFrame(
true);
136 mTracker->SetGenerateSpacePoints(
false);
142 LOG(fatal) <<
"GPUReconstruction could not be initialized";
146 LOG(info) <<
"Strict matching mode is " << ((mStrict) ?
"ON" :
"OFF");
147 LOGF(info,
"The search road in time for ITS-TPC tracks is set to %.1f sigma and %.2f us are added to it on top",
157 pc.
inputs().
get<std::array<int, constants::MAXCHAMBER>*>(
"chamberstatus");
161 const auto& trackTune = TrackTuneParams::Instance();
162 float scale = lumiCTP;
166 mCovDiagInner = trackTune.getCovInnerTotal(scale);
167 mCovDiagOuter = trackTune.getCovOuterTotal(scale);
171 mTPCTBinMUS = elParam.ZbinWidth;
172 mTPCTBinMUSInv = 1. / mTPCTBinMUS;
174 mTPCVdrift = vd.getVDrift();
175 mTPCTDriftOffset = vd.getTimeOffset();
176 LOGP(info,
"Updating TPC VDrift factor of {} wrt reference {} and DriftTimeOffset correction {} wrt {} from source {}",
177 vd.corrFact, vd.refVDrift, vd.timeOffsetCorr, vd.refTimeOffset, mTPCVDriftHelper.
getSourceName());
178 mTracker->SetTPCVdrift(mTPCVdrift);
179 mTracker->SetTPCTDriftOffset(mTPCTDriftOffset);
193 LOG(info) <<
"cluster dictionary updated";
197#ifdef ENABLE_UPGRADES
199 LOG(info) <<
"it3 cluster dictionary updated";
205 LOG(info) <<
"chamber status object updated";
206 const std::array<int, constants::MAXCHAMBER>* chamberStatus = (
const std::array<int, constants::MAXCHAMBER>*)obj;
207 for (
int iDet = 0; iDet < constants::MAXCHAMBER; iDet++) {
208 if ((*chamberStatus)[iDet] == 3) {
209 mTracker->SetChamberStatus(iDet,
false);
211 mTracker->SetChamberStatus(iDet,
true);
242 LOG(
debug) <<
"Checking seed with label: " << lblSeed;
243 std::unordered_map<o2::MCCompLabel, unsigned int> labelCounter;
244 int maxOccurences = 0;
245 for (
int iLy = 0; iLy < constants::NLAYER; ++iLy) {
246 auto trkltIndex = trk.getTrackletIndex(iLy);
247 if (trkltIndex == -1) {
251 const auto& lblsTrklt = trkltLabels->
getLabels(trkltIndex);
252 for (
const auto lblTrklt : lblsTrklt) {
253 int nOcc = ++labelCounter[lblTrklt];
254 if (nOcc > maxOccurences) {
255 maxOccurences = nOcc;
260 for (
const auto& [lbl,
count] : labelCounter) {
261 LOG(
debug) <<
"Label " << lbl <<
" occured " <<
count <<
" times.";
262 if (
count == maxOccurences) {
263 if (lblSeed == lbl) {
265 mostFrequentLabel = lbl;
266 mostFrequentLabel.
setFakeFlag(maxOccurences != trk.getNtracklets());
267 lblContainerTrd.push_back(mostFrequentLabel);
268 lblContainerMatch.push_back(lblSeed);
272 mostFrequentLabel = lbl;
276 mostFrequentLabel.
setFakeFlag(maxOccurences != trk.getNtracklets());
277 lblContainerTrd.push_back(mostFrequentLabel);
279 lblContainerMatch.push_back(lblSeed);
289 int prevCollisionID = -1;
291 for (
size_t iTrk = 0; iTrk <
tracks.size(); ++iTrk) {
292 const auto& trk =
tracks[iTrk];
293 auto collisionID = trk.getCollisionId();
295 prevCollisionID = collisionID;
297 if (collisionID != prevCollisionID) {
299 trigRec.emplace_back(trackletTrigRec[prevCollisionID].getBCData(), iTrackFirst, nTracksCurr);
300 iTrackFirst += nTracksCurr;
301 prevCollisionID = collisionID;
306 if (nTracksCurr > 0) {
308 trigRec.emplace_back(trackletTrigRec[
tracks.back().getCollisionId()].getBCData(), iTrackFirst, nTracksCurr);
317 updateTimeDependentParams(pc);
319 mTriggeredBCFT0.clear();
336 mITSClustersArray.
init(nLr);
337 for (
int lr = 0; lr < nLr; lr++) {
341 mITSClustersArray.
getClusters().reserve(mITSClustersArray.
size() + clusITS.size());
342#ifdef ENABLE_UPGRADES
358 std::vector<o2::MCCompLabel> matchLabelsITSTPC;
359 std::vector<o2::MCCompLabel> trdLabelsITSTPC;
360 std::vector<o2::MCCompLabel> matchLabelsTPC;
361 std::vector<o2::MCCompLabel> trdLabelsTPC;
362 gsl::span<const o2::MCCompLabel> tpcTrackLabels;
363 gsl::span<const o2::MCCompLabel> itstpcTrackLabels;
377 bool foundFilteredTrigger =
false;
380 foundFilteredTrigger =
true;
384 if (!foundFilteredTrigger && mTrigRecFilter) {
385 static bool warningSent =
false;
387 LOG(warning) <<
"Trigger filtering requested, but no TRD trigger is actually masked. Can be that none needed to be masked or that the setting was not active for the tracklet transformer";
390 }
else if (foundFilteredTrigger && !mTrigRecFilter) {
391 LOG(
error) <<
"Trigger filtering is not requested, but masked TRD triggers are found. Rerun tracklet transformer without trigger filtering";
395 const auto& trackTune = TrackTuneParams::Instance();
396 LOG(
debug) <<
"Start loading input seeds into TRD tracker";
397 int nTracksLoadedITSTPC = 0;
398 int nTracksLoadedTPC = 0;
402 GPUTRDTracker::HelperTrackAttributes trkAttribs;
403 trkAttribs.mTime = trkITSTPC.getTimeMUS().getTimeStamp();
404 trkAttribs.mTimeAddMax = trkITSTPC.getTimeMUS().getTimeStampError() * mRec->
GetParam().
rec.trd.nSigmaTerrITSTPC + mRec->
GetParam().
rec.trd.addTimeRoadITSTPC;
405 trkAttribs.mTimeSubMax = trkITSTPC.getTimeMUS().getTimeStampError() * mRec->
GetParam().
rec.trd.nSigmaTerrITSTPC + mRec->
GetParam().
rec.trd.addTimeRoadITSTPC;
409 if (mTracker->LoadTrack(trkLoad, trackGID.getRaw(),
true, &trkAttribs)) {
412 ++nTracksLoadedITSTPC;
413 LOGF(
debug,
"Loaded ITS-TPC track %i with time %f. Window from %f to %f", nTracksLoadedITSTPC, trkAttribs.mTime, trkAttribs.mTime - trkAttribs.mTimeSubMax, trkAttribs.mTime + trkAttribs.mTimeAddMax);
422 GPUTRDTracker::HelperTrackAttributes trkAttribs;
423 trkAttribs.mTime = trkTpc.getTime0() * mTPCTBinMUS - mTPCTDriftOffset;
424 trkAttribs.mTimeAddMax = trkTpc.getDeltaTFwd() * mTPCTBinMUS;
425 trkAttribs.mTimeSubMax = trkTpc.getDeltaTBwd() * mTPCTBinMUS;
426 if (trkTpc.hasASideClustersOnly()) {
427 trkAttribs.mSide = -1;
428 }
else if (trkTpc.hasCSideClustersOnly()) {
429 trkAttribs.mSide = 1;
432 if (!trackTune.sourceLevelTPC) {
433 if (trackTune.useTPCOuterCorr) {
434 trkLoad.updateParams(trackTune.tpcParOuter);
436 if (trackTune.tpcCovOuterType != TrackTuneParams::AddCovType::Disable) {
437 trkLoad.updateCov(mCovDiagOuter, trackTune.tpcCovOuterType == TrackTuneParams::AddCovType::WithCorrelations);
441 if (mTracker->LoadTrack(trkLoad, trackGID.getRaw(),
true, &trkAttribs)) {
445 LOGF(
debug,
"Loaded TPC track %i with time %f. Window from %f to %f", nTracksLoadedTPC, trkAttribs.mTime, trkAttribs.mTime - trkAttribs.mTimeSubMax, trkAttribs.mTime + trkAttribs.mTimeAddMax);
447 LOGF(info,
"%i tracks are loaded into the TRD tracker. Out of those %i ITS-TPC tracks and %i TPC tracks", nTracksLoadedITSTPC + nTracksLoadedTPC, nTracksLoadedITSTPC, nTracksLoadedTPC);
454 for (
size_t ft0id = 0; ft0id < ft0recPoints.size(); ft0id++) {
455 const auto& f0rec = ft0recPoints[ft0id];
457 firstOrbit = f0rec.getInteractionRecord().orbit;
460 uint32_t currentOrbit = f0rec.getInteractionRecord().orbit;
461 mTriggeredBCFT0.push_back(f0rec.getInteractionRecord().bc + (currentOrbit - firstOrbit) * o2::constants::lhc::LHCMaxBunches);
466 mTracker->SetFT0TriggeredBC(mTriggeredBCFT0.data(), mTriggeredBCFT0.size());
474 std::vector<TrackTRD> tracksOutITSTPC;
475 std::vector<TrackTRD> tracksOutTPC;
476 std::vector<TrackTriggerRecord> trackTrigRecITSTPC;
477 std::vector<TrackTriggerRecord> trackTrigRecTPC;
479 std::vector<unsigned int> trackIdxArray(mTracker->NTracks());
480 std::iota(trackIdxArray.begin(), trackIdxArray.end(), 0);
481 std::sort(trackIdxArray.begin(), trackIdxArray.end(), [tracksOutRaw](
int lhs,
int rhs) { return tracksOutRaw[lhs].getCollisionId() < tracksOutRaw[rhs].getCollisionId(); });
483 std::vector<std::pair<uint8_t, uint8_t>> pileUpDist;
484 bool ft0Seen =
false;
486 long maxDiffFwd = mTracker->Param().rec.trd.pileupFwdNBC;
487 long maxDiffBwd = mTracker->Param().rec.trd.pileupBwdNBC;
489 auto trdTriggers = tmpInputContainer->mTriggerRecords;
490 ft0Seen = ft0recPoints.size() > 0;
491 pileUpDist.resize(trdTriggers.size(), {0, 0});
493 for (
size_t itrd = 0; itrd < trdTriggers.size(); itrd++) {
494 const auto& trig = trdTriggers[itrd];
496 for (
size_t ft0id = curFT0; ft0id < ft0recPoints.size(); ft0id++) {
497 const auto& f0rec = ft0recPoints[ft0id];
499 auto bcdiff = trig.getBCData().toLong() - f0rec.getInteractionRecord().toLong();
500 if (bcdiff > maxDiffBwd) {
509 if (bcdiff < -maxDiffFwd) {
516 pileUpDist[itrd] = {bwd, fwd};
520 int nTrackletsAttached = 0;
521 int nTracksFailedTPCTRDRefit = 0;
522 int nTracksFailedITSTPCTRDRefit = 0;
523 for (
int iTrk = 0; iTrk < mTracker->NTracks(); ++iTrk) {
524 const auto& trdTrack = mTracker->Tracks()[trackIdxArray[iTrk]];
525 if (trdTrack.getCollisionId() < 0) {
529 if (mStrict && (trdTrack.getIsAmbiguous() || trdTrack.getReducedChi2() > mTracker->Param().rec.trd.chi2StrictCut)) {
533 if (trdTrack.getNtracklets() < mTracker->Param().rec.trd.nTrackletsMin) {
536 if (trdTrack.getChi2() / trdTrack.getNtracklets() > mTracker->Param().rec.trd.maxChi2Red) {
544 float sumCorr2 = 0.f;
546 mTCorrPileUp_weightedMean = 0.f;
547 for (
int iBC = 0; iBC < mTriggeredBCFT0.size(); iBC++) {
548 int deltaBC = roundf(mTriggeredBCFT0[iBC] - mChainTracking->
mIOPtrs.
trdTriggerTimes[trdTrack.getCollisionId()] / o2::constants::lhc::LHCBunchSpacingMUS);
549 if (deltaBC <= mRecoParam.getPileUpRangeBefore() || deltaBC >= mRecoParam.getPileUpRangeAfter()) {
553 std::array<int, 6> q0;
554 std::array<int, 6> q1;
555 for (
int iLy = 0; iLy < NLAYER; iLy++) {
556 int trkltId = trdTrack.getTrackletIndex(iLy);
561 q0[iLy] = mTrackletsRaw[trkltId].getQ0();
562 q1[iLy] = mTrackletsRaw[trkltId].getQ1();
566 float probBC = mRecoParam.getPileUpProbTrack(deltaBC, q0, q1);
567 sumCorr += probBC * deltaBC;
568 sumCorr2 += probBC * deltaBC * deltaBC;
570 mTCorrPileUp_weightedMean -= deltaBC * probBC;
571 if (probBC > maxProb) {
573 mTCorrPileUp = -deltaBC;
576 if (sumProb > 1
e-6) {
577 mTErrPileUp2 = sumCorr2 / sumProb - 2 * mTCorrPileUp * sumCorr / sumProb + mTCorrPileUp * mTCorrPileUp;
578 mTCorrPileUp_weightedMean /= sumProb;
581 nTrackletsAttached += trdTrack.getNtracklets();
582 auto trackGID = trdTrack.getRefGlobalTrackId();
585 tracksOutITSTPC.push_back(trdTrack);
587 tracksOutITSTPC.back().setPileUpDistance(pileUpDist[trdTrack.getCollisionId()].first, pileUpDist[trdTrack.getCollisionId()].second);
589 tracksOutITSTPC.back().setPileUpDistance(mTracker->Param().rec.trd.pileupBwdNBC, mTracker->Param().rec.trd.pileupFwdNBC);
592 tracksOutITSTPC.pop_back();
593 ++nTracksFailedITSTPCTRDRefit;
600 tracksOutITSTPC.back().setSignal(mBase->process(trdTrack, inputTracks,
false));
604 tracksOutTPC.push_back(trdTrack);
606 tracksOutTPC.back().setPileUpDistance(pileUpDist[trdTrack.getCollisionId()].first, pileUpDist[trdTrack.getCollisionId()].second);
608 tracksOutTPC.back().setPileUpDistance(mTracker->Param().rec.trd.pileupBwdNBC, mTracker->Param().rec.trd.pileupFwdNBC);
610 if (!
refitTPCTRDTrack(tracksOutTPC.back(), mChainTracking->
mIOPtrs.
trdTriggerTimes[trdTrack.getCollisionId()] - mTCorrPileUp * o2::constants::lhc::LHCBunchSpacingMUS, &inputTracks) || std::isnan(tracksOutTPC.back().getSnp())) {
611 tracksOutTPC.pop_back();
612 ++nTracksFailedTPCTRDRefit;
619 tracksOutTPC.back().setSignal(mBase->process(trdTrack, inputTracks,
true));
627 LOGF(info,
"The TRD tracker found %lu tracks from TPC seeds and %lu tracks from ITS-TPC seeds and attached in total %i tracklets out of %i",
628 tracksOutTPC.size(), tracksOutITSTPC.size(), nTrackletsAttached, mChainTracking->
mIOPtrs.
nTRDTracklets);
629 LOGF(info,
"Number of tracks failed in the refit: TPC-TRD (%i), ITS-TPC-TRD (%i)", nTracksFailedTPCTRDRefit, nTracksFailedITSTPCTRDRefit);
654 static bool first =
true;
660 md.SetOwnerKeyValue();
661 md.Add(
new TObjString(o2::gpu::internal::GPUConfigurableParamGPUSettingsRecTRD::Instance().
getName().c_str()),
new TObjString(
o2::conf::ConfigurableParam::asJSON(o2::gpu::internal::GPUConfigurableParamGPUSettingsRecTRD::Instance().
getName()).c_str()));
672 auto& outerParam = trk.getOuterParam();
674 int nCl = -1, clEntry = -1, nClRefit = 0, clRefs[14];
675 float chi2Out = 0, timeZErr = 0.;
676 bool pileUpOn = trk.hasPileUpInfo();
680 const auto& trkITS = mITSTracksArray[detRefs[
GTrackID::ITS]];
681 outerParam = trkITS.getParamOut();
682 outerParam.setPID(recoCont->
getTPCITSTrack(trk.getRefGlobalTrackId()).getPID(),
true);
683 nCl = trkITS.getNumberOfClusters();
684 clEntry = trkITS.getFirstClusterEntry();
685 chi2Out = trkITS.getChi2();
686 for (
int icl = 0; icl < nCl; icl++) {
687 clRefs[icl] = mITSTrackClusIdx[clEntry + icl];
691 nCl = trkITSABref.getNClusters();
692 clEntry = trkITSABref.getFirstEntry();
694 outerParam.resetCovariance(100);
696 for (
int icl = 0; icl < nCl; icl++) {
697 const auto& clus = mITSClustersArray[clRefs[nCl - icl - 1] = mITSABTrackClusIdx[clEntry + icl]];
698 if (!outerParam.rotate(geom->getSensorRefAlpha(clus.getSensorID())) ||
699 !propagator->propagateToX(outerParam, clus.getX(), propagator->getNominalBz(), o2::base::Propagator::MAX_SIN_PHI, o2::base::Propagator::MAX_STEP, matCorr)) {
702 chi2Out += outerParam.getPredictedChi2(clus);
703 if (!outerParam.update(clus)) {
708 if (nClRefit != nCl) {
709 LOG(
debug) <<
"ITS-AB refit outward failed";
716 !propagator->PropagateToXBxByBz(outerParam, xtogo, o2::base::Propagator::MAX_SIN_PHI, o2::base::Propagator::MAX_STEP, matCorr)) {
717 LOG(
debug) <<
"Propagation to inner TPC boundary X=" << xtogo <<
" failed, Xtr=" << outerParam.getX() <<
" snp=" << outerParam.getSnp();
720 int retVal = mTPCRefitter->RefitTrackAsTrackParCov(outerParam, mTPCTracksArray[detRefs[
GTrackID::TPC]].getClusterRef(), timeTRD * mTPCTBinMUSInv, &chi2Out,
true,
false);
722 LOG(
debug) <<
"TPC refit outwards failed";
727 LOG(
debug) <<
"TRD refit outwards failed";
734 LOG(
debug) <<
"TRD refit inwards failed";
737 auto posStart = trk.getXYZGlo();
738 retVal = mTPCRefitter->RefitTrackAsTrackParCov(trk, mTPCTracksArray[detRefs[
GTrackID::TPC]].getClusterRef(), timeTRD * mTPCTBinMUSInv, &chi2In,
false,
false);
740 LOG(
debug) <<
"TPC refit inwards failed";
745 !propagator->PropagateToXBxByBz(trk,
o2::constants::geom::XTPCInnerRef, o2::base::Propagator::MAX_SIN_PHI, o2::base::Propagator::MAX_STEP, o2::base::Propagator::MatCorrType::USEMatCorrNONE)) {
746 LOG(
debug) <<
"BACK-Propagationto inner boundary failed";
749 auto posEnd = trk.getXYZGlo();
750 auto lInt = propagator->estimateLTIncrement(trk, posStart, posEnd);
751 trk.getLTIntegralOut().addStep(lInt, trk.getQ2P2());
754 const auto& trackTune = TrackTuneParams::Instance();
755 if (trackTune.tpcCovInnerType != TrackTuneParams::AddCovType::Disable || trackTune.useTPCInnerCorr) {
756 if (!propagator->PropagateToXBxByBz(trk,
o2::constants::geom::XTPCInnerRef, o2::base::Propagator::MAX_SIN_PHI, o2::base::Propagator::MAX_STEP, matCorr, &trk.getLTIntegralOut())) {
757 LOG(
debug) <<
"Propagation to TPC inner reference X for ITS refit inwards failed";
760 if (!trackTune.useTPCInnerCorr) {
761 trk.updateParams(trackTune.tpcParInner);
763 if (trackTune.tpcCovInnerType != TrackTuneParams::AddCovType::Disable) {
764 trk.updateCov(mCovDiagInner, trackTune.tpcCovInnerType == TrackTuneParams::AddCovType::WithCorrelations);
769 for (
int icl = 0; icl < nCl; icl++) {
770 const auto& clus = mITSClustersArray[clRefs[icl]];
771 if (!trk.rotate(geom->getSensorRefAlpha(clus.getSensorID())) ||
775 !propagator->propagateToX(trk, clus.getX(), propagator->getNominalBz(), o2::base::Propagator::MAX_SIN_PHI, o2::base::Propagator::MAX_STEP, matCorr, &trk.getLTIntegralOut())) {
778 chi2In += trk.getPredictedChi2(clus);
779 if (!trk.update(clus)) {
784 if (nClRefit != nCl) {
785 LOG(
debug) <<
"ITS refit inwards failed";
793 if (!propagator->propagateToDCA(vtxDummy.getXYZ(), trkPar, propagator->getNominalBz(), o2::base::Propagator::MAX_STEP, matCorr,
nullptr, &trk.getLTIntegralOut())) {
794 LOG(
error) <<
"LTOF integral might be incorrect";
804 auto& outerParam = trk.getOuterParam();
807 float chi2Out = 0, timeZErr = 0.;
808 bool pileUpOn = trk.hasPileUpInfo();
809 int retVal = mTPCRefitter->RefitTrackAsTrackParCov(outerParam, mTPCTracksArray[detRefs[
GTrackID::TPC]].getClusterRef(), timeTRD * mTPCTBinMUSInv, &chi2Out,
true,
false);
811 LOG(
debug) <<
"TPC refit outwards failed";
816 timeZErr = mTPCVdrift * mTPCVdrift * mTErrPileUp2;
820 LOG(
debug) <<
"TRD refit outwards failed";
827 LOG(
debug) <<
"TRD refit inwards failed";
830 auto posStart = trk.getXYZGlo();
831 retVal = mTPCRefitter->RefitTrackAsTrackParCov(trk, mTPCTracksArray[detRefs[
GTrackID::TPC]].getClusterRef(), timeTRD * mTPCTBinMUSInv, &chi2In,
false,
false);
833 LOG(
debug) <<
"TPC refit inwards failed";
841 !propagator->PropagateToXBxByBz(trk,
o2::constants::geom::XTPCInnerRef, o2::base::Propagator::MAX_SIN_PHI, o2::base::Propagator::MAX_STEP, o2::base::Propagator::MatCorrType::USEMatCorrNONE)) {
842 LOG(
debug) <<
"BACK-Propagationto inner boundary failed";
845 auto posEnd = trk.getXYZGlo();
846 auto lInt = propagator->estimateLTIncrement(trk, posStart, posEnd);
847 trk.getLTIntegralOut().addStep(lInt, trk.getQ2P2());
850 if (!propagator->PropagateToXBxByBz(trk,
o2::constants::geom::XTPCInnerRef, o2::base::Propagator::MAX_SIN_PHI, o2::base::Propagator::MAX_STEP, matCorr, &trk.getLTIntegralOut())) {
851 LOG(
debug) <<
"Final propagation to inner TPC radius failed (not removing the track because of this)";
854 const auto& trackTune = TrackTuneParams::Instance();
855 if (!trackTune.useTPCInnerCorr) {
856 trk.updateParams(trackTune.tpcParInner);
858 if (trackTune.tpcCovInnerType != TrackTuneParams::AddCovType::Disable) {
859 trk.updateCov(mCovDiagInner, trackTune.tpcCovInnerType == TrackTuneParams::AddCovType::WithCorrelations);
862 propagator->estimateLTFast(trk.getLTIntegralOut(), trk);
870 int lyStart = inwards ? NLAYER - 1 : 0;
871 int direction = inwards ? -1 : 1;
872 int lyEnd = inwards ? -1 : NLAYER;
879 tofL = &trk.getLTIntegralOut();
881 trkParam = &trk.getOuterParam();
882 trkParam->setUserField(trk.getUserField());
884 const auto& trackTune = TrackTuneParams::Instance();
885 if ((trackTune.useTPCOuterCorr || trackTune.tpcCovOuterType != TrackTuneParams::AddCovType::Disable) &&
886 (!tpcSA || !trackTune.sourceLevelTPC)) {
888 LOG(
debug) <<
"Propagation to TPC outer reference X for TRD outward refit failed";
891 if (trackTune.useTPCOuterCorr) {
892 trkParam->updateParams(trackTune.tpcParOuter);
894 if (trackTune.tpcCovOuterType != TrackTuneParams::AddCovType::Disable) {
895 trkParam->updateCov(mCovDiagOuter, trackTune.tpcCovOuterType == TrackTuneParams::AddCovType::WithCorrelations);
902 trkParam->resetCovariance(100);
904 for (
int iLy = lyStart; iLy != lyEnd; iLy += direction) {
905 int trkltId = trk.getTrackletIndex(iLy);
909 int trkltDet = mTrackletsRaw[trkltId].getDetector();
910 int trkltSec = trkltDet / (NLAYER * NSTACK);
913 LOGF(
debug,
"Track at alpha=%.2f could not be rotated in tracklet coordinate system with alpha=%.2f", trkParam->getAlpha(),
o2::math_utils::sector2Angle(trkltSec));
917 if (!propagator->PropagateToXBxByBz(*trkParam, mTrackletsCalib[trkltId].getX(), o2::base::Propagator::MAX_SIN_PHI, o2::base::Propagator::MAX_STEP, matCorr, tofL)) {
918 LOGF(
debug,
"Track propagation failed in layer %i (pt=%f, xTrk=%f, xToGo=%f)", iLy, trkParam->getPt(), trkParam->getX(), mTrackletsCalib[trkltId].getX());
922 float tilt =
tan(TMath::DegToRad() * pad->getTiltingAngle());
924 float tiltCorrUp = tilt * (mTrackletsCalib[trkltId].getZ() - trkParam->getZ());
925 float zPosCorrUp = mTrackletsCalib[trkltId].getZ() + mRecoParam.getZCorrCoeffNRC() * trkParam->getTgl();
926 float padLength = pad->getRowSize(mTrackletsRaw[trkltId].getPadRow());
927 if (!((trkParam->getSigmaZ2() < (padLength * padLength / 12.f)) && (std::fabs(mTrackletsCalib[trkltId].getZ() - trkParam->getZ()) < padLength))) {
932 float slopeFactor = mTrackletsRaw[trkltId].getSlopeFloat() * pad->getWidthIPad() / 4.f;
934 float yCorrPileUp = mTCorrPileUp_weightedMean * slopeFactor;
935 float yAddErrPileUp2 = mTErrPileUp2 * slopeFactor * slopeFactor;
936 float yPosCorrUp = mTrackletsCalib[trkltId].getY() - tiltCorrUp + yCorrPileUp;
938 int nTrackletsChamber = mTracker->GetNtrackletsChamber(trk.getCollisionId(), trkltDet);
939 float angularPull = (mTrackletsCalib[trkltId].getDy() + dyTiltCorr - mRecoParam.convertAngleToDy(trkParam->getSnp())) / std::sqrt(mRecoParam.getDyRes(trkParam->getSnp(), nTrackletsChamber));
943 float corrPull = -angularPull * mRecoParam.getCorrYDy(trkParam->getSnp());
944 yPosCorrUp += corrPull;
947 std::array<float, 2> trkltPosUp{yPosCorrUp, zPosCorrUp};
948 std::array<float, 3> trkltCovUp;
949 mRecoParam.recalcTrkltCov(tilt, trkParam->getSnp(), pad->getRowSize(mTrackletsRaw[trkltId].getPadRow()), trkltCovUp, (mRec->
GetParam().
rec.trd.useAngularPull != 0 ? angularPull : 0.), nTrackletsChamber);
950 trkltCovUp[0] += yAddErrPileUp2;
952 chi2 += trkParam->getPredictedChi2(trkltPosUp, trkltCovUp);
953 if (!trkParam->update(trkltPosUp, trkltCovUp)) {
954 LOGF(
debug,
"Failed to update track with space point in layer %i", iLy);
961 if (!propagator->PropagateToXBxByBz(*trkParam,
o2::constants::geom::XTPCOuterRef, o2::base::Propagator::MAX_SIN_PHI, o2::base::Propagator::MAX_STEP, matCorr, tofL)) {
962 LOG(
debug) <<
"Propagation to TPC outer reference X after TRD inward refit failed";
969 !propagator->PropagateToXBxByBz(*trkParam,
o2::constants::geom::XTPCOuterRef, o2::base::Propagator::MAX_SIN_PHI, o2::base::Propagator::MAX_STEP, matCorr, tofL)) {
970 LOG(
debug) <<
"Propagation/rotation to TPC outer reference X after TRD inward refit failed " << trkParam->asString();
979 LOGF(info,
"TRD global tracking total timing: Cpu: %.3e Real: %.3e s in %d slots",
980 mTimer.CpuTime(), mTimer.RealTime(), mTimer.Counter() - 1);
985 std::vector<OutputSpec> outputs;
987 std::shared_ptr<DataRequest> dataRequest = std::make_shared<DataRequest>();
988 dataRequest->setITSPerLayer(itsStag);
990 dataRequest->setMatchingInputStrict();
995 dataRequest->requestTPCClusters(
false);
998#ifdef ENABLE_UPGRADES
1000 dataRequest->requestIT3Clusters(
false);
1002 dataRequest->requestITSClusters(
false);
1005 dataRequest->requestITSClusters(
false);
1009 dataRequest->requestTracks(trkSrc, useMC);
1010 auto& inputs = dataRequest->inputs;
1011 auto ggRequest = std::make_shared<o2::base::GRPGeomRequest>(
false,
1024 if (requestCTPLumi) {
1033 inputs.emplace_back(
"lq1dlut",
"TRD",
"LQ1D", 0, Lifetime::Condition,
ccdbParamSpec(
"TRD/PID/LQ1D"));
1036 inputs.emplace_back(
"lq2dlut",
"TRD",
"LQ2D", 0, Lifetime::Condition,
ccdbParamSpec(
"TRD/PID/LQ2D"));
1039 inputs.emplace_back(
"lq3dlut",
"TRD",
"LQ3D", 0, Lifetime::Condition,
ccdbParamSpec(
"TRD/PID/LQ3D"));
1041#ifdef TRDPID_WITH_ONNX
1042 case PIDPolicy::XGB:
1043 inputs.emplace_back(
"xgb",
"TRD",
"XGB", 0, Lifetime::Condition,
ccdbParamSpec(
"TRD_test/PID_new/xgb"));
1046 inputs.emplace_back(
"py",
"TRD",
"py", 0, Lifetime::Condition,
ccdbParamSpec(
"TRD_test/PID_new/py"));
1052 throw std::runtime_error(
"Unable to load requested PID policy data!");
1055 inputs.emplace_back(
"localgainfactors",
"TRD",
"LOCALGAINFACTORS", 0, Lifetime::Condition,
ccdbParamSpec(
"TRD/Calib/LocalGainFactor"));
1059 inputs.emplace_back(
"chamberstatus",
"TRD",
"CHAMBERSTATUS", 0, Lifetime::Condition,
ccdbParamSpec(
"TRD/Calib/DCSDPsFedChamberStatus"));
1080 if (trigRecFilterActive) {
1081 LOG(info) <<
"Matching to TPC-only tracks requested, but IRs without ITS contribution are filtered out (used strict matching mode to constrain TPC tracks before matching to ITS)";
1085 outputs.emplace_back(
"META",
"TRDTRACKER", 0, Lifetime::Sporadic);
1088 std::regex reg(
"[,\\[\\]]+");
1089 processorName = regex_replace(processorName, reg,
"_");
1095 AlgorithmSpec{adaptFromTask<TRDGlobalTracking>(useMC, withPID, policy, dataRequest, ggRequest,
src, trigRecFilterActive, strict, requestCTPLumi)},
std::string getName(const TDataMember *dm, int index, int size)
Definition of the Names Generator class.
Definition of the GeometryManager class.
o2::raw::RawFileWriter * raw
configStandalone Light OpenGL display display_light Apply smoothing to points Enable Z buffer Highlight links Highlight seeds Highlight sector tracks Highlight final tracks Show individual sector
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char e
configStandalone Reconstruction rec_tpc multiplier for the combined cluster track error during track following area in cm for the search of for z only used if decrease removal by when above this local occupancy rowx Shift of TPC revert cluster flag edge bit distance to edge exceeds this ZOffset for secondary multiple of radius max P of electron K BB bands crossing max P of electron p BB bands crossing max P of electron d BB bands crossing max P of electron t BB bands crossing min accepted dEdxMaxTPC of the track Additive extra cluster error for Y2 if edge flag set Additive extra cluster error for Y2 if single set Additive extra cluster error for Y2 if or single set Additive extra cluster error for Z2 if or single set Extra errors to add to track when crossing depending on addErrorsCECrossing Inner portion of y range in sector that is not used in searching for extrapolated track candidates factor2YS for track merging factor2K for track merging Margin in cm of Y position when rejecting edge clusters based on uncorrected track Y Max fraction of shared clusters for tracklet Except pad from cluster finding if total number of charges in a fragment is above this Except pad from cluster finding if number of consecutive charges in a fragment is above this Threshold where a timebin is considered disabling the noisy pad check for that pad Treat signal above this minimum as saturated Smoothing factor for the exponential Highly Ionising Particle tail filter Number of timebins to use for the averaging Add additional custom track errors when crossing relative as fraction of Do N fit passes in final fit of< 0:reject at max -n hits") AddOptionRTC(rejectIFCLowRadiusCluster, uint8_t, 1, "", 0, "Reject clusters that get the IFC mask error during refit") AddOptionRTC(dEdxTruncLow, uint8_t, 2, "", 0, "Low truncation threshold, fraction of 128") AddOptionRTC(dEdxTruncHigh, uint8_t, 77, "", 0, "High truncation threshold, fraction of 128") AddOptionRTC(extrapolationTracking, int8_t, 1, "", 0, "Enable Extrapolation Tracking(prolong tracks to adjacent sectors to find short segments)") AddOptionRTC(disableRefitAttachment, uint8_t, 0, "", 0, "Bitmask to disable certain attachment steps during refit(1:attachment, 2:propagation, 4:loop following, 8:mirroring)") AddOptionRTC(rejectionStrategy, uint8_t, o2::gpu::GPUSettings::RejectionStrategyA, "", 0, "Enable rejection of TPC clusters for compression(0=no, 1=strategy A, 2=strategy B)") AddOptionRTC(mergeLoopersAfterburner, uint8_t, 1, "", 0, "Run afterburner for additional looper merging") AddOptionRTC(compressionTypeMask, uint8_t, o2::gpu::GPUSettings::CompressionFull, "", 0, "TPC Compression mode bits(1=truncate charge/width LSB, 2=differences, 4=track-model)") AddOptionRTC(compressionSortOrder, uint8_t, o2::gpu::GPUSettings::SortTime, "", 0, "Sort order of TPC compression(0=time, 1=pad, 2=Z-time-pad, 3=Z-pad-time, 4=no sorting(use incoming order))") AddOptionRTC(sigBitsCharge, uint8_t, 4, "", 0, "Number of significant bits for TPC cluster charge in compression mode 1") AddOptionRTC(sigBitsWidth, uint8_t, 3, "", 0, "Number of significant bits for TPC cluster width in compression mode 1") AddOptionRTC(dropLoopers, uint8_t, 0, "", 0, "Drop looping tracks starting from second loop") AddOptionRTC(mergerInterpolateErrors, uint8_t, 1, "", 0, "Use interpolation instead of extrapolation for chi2 based cluster rejection") AddOptionRTC(mergerInterpolateRejectAlsoOnCurrentPosition, uint8_t, 1, "", 0, "When using mergerInterpolateErrors, reject based on chi2 twice computed with interpolated and current track position starting from NDF > mergerNonInterpolateRejectMinNDF Merge tracks accross the central electrode Enable PID response Add sub threshold clusters in TPC dEdx computation OR mask of TPC flags that will reject the cluster in alternative dEdx Reject edge clusters based on uncorrected track Y during track fit Increase decrease removal by when on this number of pads from the edge h trd
configStandalone Reconstruction rec_tpc multiplier for the combined cluster track error during track following area in cm for the search of for z only used if decrease removal by when above this local occupancy rowx Shift of TPC revert cluster flag edge bit distance to edge exceeds this ZOffset for secondary multiple of radius max P of electron K BB bands crossing max P of electron p BB bands crossing max P of electron d BB bands crossing max P of electron t BB bands crossing min accepted dEdxMaxTPC of the track Additive extra cluster error for Y2 if edge flag set Additive extra cluster error for Y2 if single set Additive extra cluster error for Y2 if or single set Additive extra cluster error for Z2 if or single set Extra errors to add to track when crossing depending on addErrorsCECrossing Inner portion of y range in sector that is not used in searching for extrapolated track candidates factor2YS for track merging factor2K for track merging Margin in cm of Y position when rejecting edge clusters based on uncorrected track Y Max fraction of shared clusters for tracklet Except pad from cluster finding if total number of charges in a fragment is above this Except pad from cluster finding if number of consecutive charges in a fragment is above this Threshold where a timebin is considered disabling the noisy pad check for that pad Treat signal above this minimum as saturated Smoothing factor for the exponential Highly Ionising Particle tail filter Number of timebins to use for the averaging Add additional custom track errors when crossing relative as fraction of Do N fit passes in final fit of< 0:reject at max -n hits") AddOptionRTC(rejectIFCLowRadiusCluster, uint8_t, 1, "", 0, "Reject clusters that get the IFC mask error during refit") AddOptionRTC(dEdxTruncLow, uint8_t, 2, "", 0, "Low truncation threshold, fraction of 128") AddOptionRTC(dEdxTruncHigh, uint8_t, 77, "", 0, "High truncation threshold, fraction of 128") AddOptionRTC(extrapolationTracking, int8_t, 1, "", 0, "Enable Extrapolation Tracking(prolong tracks to adjacent sectors to find short segments)") AddOptionRTC(disableRefitAttachment, uint8_t, 0, "", 0, "Bitmask to disable certain attachment steps during refit(1:attachment, 2:propagation, 4:loop following, 8:mirroring)") AddOptionRTC(rejectionStrategy, uint8_t, o2::gpu::GPUSettings::RejectionStrategyA, "", 0, "Enable rejection of TPC clusters for compression(0=no, 1=strategy A, 2=strategy B)") AddOptionRTC(mergeLoopersAfterburner, uint8_t, 1, "", 0, "Run afterburner for additional looper merging") AddOptionRTC(compressionTypeMask, uint8_t, o2::gpu::GPUSettings::CompressionFull, "", 0, "TPC Compression mode bits(1=truncate charge/width LSB, 2=differences, 4=track-model)") AddOptionRTC(compressionSortOrder, uint8_t, o2::gpu::GPUSettings::SortTime, "", 0, "Sort order of TPC compression(0=time, 1=pad, 2=Z-time-pad, 3=Z-pad-time, 4=no sorting(use incoming order))") AddOptionRTC(sigBitsCharge, uint8_t, 4, "", 0, "Number of significant bits for TPC cluster charge in compression mode 1") AddOptionRTC(sigBitsWidth, uint8_t, 3, "", 0, "Number of significant bits for TPC cluster width in compression mode 1") AddOptionRTC(dropLoopers, uint8_t, 0, "", 0, "Drop looping tracks starting from second loop") AddOptionRTC(mergerInterpolateErrors, uint8_t, 1, "", 0, "Use interpolation instead of extrapolation for chi2 based cluster rejection") AddOptionRTC(mergerInterpolateRejectAlsoOnCurrentPosition, uint8_t, 1, "", 0, "When using mergerInterpolateErrors, reject based on chi2 twice computed with interpolated and current track position starting from NDF > mergerNonInterpolateRejectMinNDF Merge tracks accross the central electrode Enable PID response Add sub threshold clusters in TPC dEdx computation OR mask of TPC flags that will reject the cluster in alternative dEdx Reject edge clusters based on uncorrected track Y during track fit Increase decrease removal by when on this number of pads from the edge h configStandalone Reconstruction rec_trd Max chi2 for TRD tracklets to be matched to a track Chi2 cut for strict matching mode Number of sigmas for ITS TPC track time error estimate Addition to search road around track prolongation along Y in cm Optimal tracklet rphi resolution in tan(phi) dependence of tracklet error due to radial misalignment(centered at 0 angle)") AddOptionRTC(maxChi2Red
TRD Tracklet word for GPU tracker - 32bit tracklet info + half chamber ID + index.
Some ALICE geometry constants of common interest.
char error[CURL_ERROR_SIZE]
Definition of the GeometryTGeo class.
Definition of the ITS/MFT clusterer settings.
std::vector< o2::its::TrackITS > tracks
Definition of the parameter class for the detector electronics.
Declarations of the helper class for clusters / roadwidth matching.
Result of refitting TPC-ITS matched track.
Configurable params for tracks ad hoc tuning.
Helper class to obtain TPC clusters / digits / labels from DPL.
void setFakeFlag(bool v=true)
void checkUpdates(o2::framework::ProcessingContext &pc)
static GRPGeomHelper & instance()
void setRequest(std::shared_ptr< GRPGeomRequest > req)
static std::string getConfigOutputFileName(const std::string &procName, const std::string &confName="", bool json=true)
GPUd() value_type estimateLTFast(o2 static GPUd() float estimateLTIncrement(const o2 PropagatorImpl * Instance(bool uninitialized=false)
static const ParameterElectronics & Instance()
static std::string asJSON(std::string const &keyOnly="")
static void write(std::string const &filename, std::string const &keyOnly="")
void snapshot(const Output &spec, T const &object)
DataAllocator & outputs()
The data allocator is used to allocate memory for the output data.
InputRecord & inputs()
The inputs associated with this processing context.
ServiceRegistryRef services()
The services registry associated with this processing context.
void SetTRDGeometry(std::unique_ptr< o2::trd::GeometryFlat > &&geo)
void SetO2Propagator(const o2::base::Propagator *prop)
void SetTRDRecoParam(std::unique_ptr< GPUTRDRecoParam > &&par)
int32_t DoTRDGPUTracking(T *externalInstance=nullptr)
GPUTrackingInOutPointers & mIOPtrs
static float getNominalGPUBz(T &src)
void SetupGPUProcessor(T *proc, bool allocate)
void RegisterGPUProcessor(T *proc, bool deviceSlave)
void SetSettings(float solenoidBzNominalGPU, const GPURecoStepConfiguration *workflow=nullptr)
T * AddChain(Args... args)
static GPUReconstruction * CreateInstance(const GPUSettingsDeviceBackend &cfg)
const GPUParam & GetParam() const
const GPUSettingsProcessing & GetProcessingSettings() const
void init(float bz, const GPUSettingsRec *rec=nullptr)
Load parameterization for given magnetic field.
void PrintSettings() const
void SetNCandidates(int32_t n)
static std::shared_ptr< const tmpDataContainer > fillIOPtr(GPUTrackingInOutPointers &ioPtr, const o2::globaltracking::RecoContainer &recoCont, bool useMC, const GPUCalibObjectsConst *calib=nullptr, GID::mask_t maskCl=GID::MASK_ALL, GID::mask_t maskTrk=GID::MASK_ALL, GID::mask_t maskMatch=GID::MASK_ALL)
static GeometryTGeo * Instance()
void fillMatrixCache(int mask) override
void beginLayer(int lr)
to be called once all the layers were filled
void init(int nLr)
< prepare for filling nLr layer slots, discarding the previous content
static void requestCCDBInputs(std::vector< o2::framework::InputSpec > &inputs, bool laser=true, bool itstpcTgl=true)
void extractCCDBInputs(o2::framework::ProcessingContext &pc, bool laser=true, bool itstpcTgl=true)
const VDriftCorrFact & getVDriftObject() const
bool accountCCDBInputs(const o2::framework::ConcreteDataMatcher &matcher, void *obj)
static std::string_view getSourceName(Source s)
static Geometry * instance()
void fillMCTruthInfo(const TrackTRD &trk, o2::MCCompLabel lblSeed, std::vector< o2::MCCompLabel > &lblContainerTrd, std::vector< o2::MCCompLabel > &lblContainerMatch, const o2::dataformats::MCTruthContainer< o2::MCCompLabel > *trkltLabels) const
void finaliseCCDB(o2::framework::ConcreteDataMatcher &matcher, void *obj) final
void endOfStream(o2::framework::EndOfStreamContext &ec) final
This is invoked whenever we have an EndOfStream event.
void run(o2::framework::ProcessingContext &pc) final
bool refitTRDTrack(TrackTRD &trk, float &chi2, bool inwards, bool tpcSA)
void init(o2::framework::InitContext &ic) final
bool refitITSTPCTRDTrack(TrackTRD &trk, float timeTRD, o2::globaltracking::RecoContainer *recoCont)
void fillTrackTriggerRecord(const std::vector< TrackTRD > &tracks, std::vector< TrackTriggerRecord > &trigRec, const gsl::span< const o2::trd::TriggerRecord > &trackletTrigRec) const
bool refitTPCTRDTrack(TrackTRD &trk, float timeTRD, o2::globaltracking::RecoContainer *recoCont)
constexpr o2::header::DataOrigin gDataOriginCTP
constexpr o2::header::DataOrigin gDataOriginTPC
constexpr o2::header::DataOrigin gDataOriginTRD
constexpr float XTPCOuterRef
reference radius to propagate outer TPC track
constexpr float XTPCInnerRef
reference radius at which TPC provides the tracks
Defining ITS Vertex explicitly as messageable.
std::vector< ConfigParamSpec > ccdbParamSpec(std::string const &path, int runDependent, std::vector< CCDBMetadata > metadata={}, int qrate=0)
constexpr int MaxITSLayers
GPUTRDTracker_t< GPUTRDTrack, GPUTRDPropagator > GPUTRDTracker
void convertCompactClusters(gsl::span< const itsmft::CompClusterExt > clusters, gsl::span< const unsigned char >::iterator &pattIt, std::vector< o2::BaseCluster< float > > &output, const o2::its3::TopologyDictionary *dict)
convert compact clusters to 3D spacepoints
void convertCompactClusters(gsl::span< const itsmft::CompClusterExt > clusters, gsl::span< const unsigned char >::iterator &pattIt, std::vector< o2::BaseCluster< float > > &output, const itsmft::TopologyDictionary *dict)
convert compact clusters to 3D spacepoints
int angle2Sector(float phi)
float sector2Angle(int sect)
std::unique_ptr< PIDBase > getTRDPIDPolicy(PIDPolicy policy)
Factory function to create a PID policy.
framework::DataProcessorSpec getTRDGlobalTrackingSpec(bool useMC, o2::dataformats::GlobalTrackID::mask_t src, bool trigRecFilterActive, bool strict, bool withPID, PIDPolicy policy, bool requestCTPLumi, bool itsStag)
create a processor spec
PIDPolicy
Option for available PID policies.
@ LQ3D
3-Dimensional Likelihood model
@ LQ2D
2-Dimensional Likelihood model
@ Dummy
Dummy object outputting -1.f.
@ LQ1D
1-Dimensional Likelihood model
auto getRecoInputContainer(o2::framework::ProcessingContext &pc, o2::gpu::GPUTrackingInOutPointers *ptrs, const o2::globaltracking::RecoContainer *inputTracks, bool mc=false)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::string name
The name of the associated DataProcessorSpec.
size_t inputTimesliceId
The time pipelining id of this particular device.
auto getITSTracks() const
GlobalIDSet getSingleDetectorRefs(GTrackID gidx) const
gsl::span< const o2::trd::CalibratedTracklet > getTRDCalibratedTracklets() const
auto getITSTracksClusterRefs() const
auto getITSABRefs() const
auto getTPCTracksClusterRefs() const
auto getITSClustersPatterns(int layer=0) const
const o2::dataformats::MCTruthContainer< o2::MCCompLabel > * getTRDTrackletsMCLabels() const
gsl::span< const unsigned char > clusterShMapTPC
externally set TPC clusters sharing map
const o2::dataformats::TrackTPCITS & getTPCITSTrack(GTrackID gid) const
void collectData(o2::framework::ProcessingContext &pc, const DataRequest &request)
auto getTPCTracksMCLabels() const
auto getFT0RecPoints() const
std::unique_ptr< o2::tpc::internal::getWorkflowTPCInput_ret > inputsTPCclusters
auto getTPCTracks() const
gsl::span< const unsigned int > occupancyMapTPC
externally set TPC clusters occupancy map
auto getITSClusters(int layer=0) const
auto getITSABClusterRefs() const
auto getTPCITSTracksMCLabels() const
gsl::span< const o2::trd::Tracklet64 > getTRDTracklets() const
GPUSettingsProcessing configProcessing
GPUSettingsO2 ReadConfigurableParam()
GPUSettingsRec configReconstruction
gpudatatypes::RecoStepField steps
gpudatatypes::InOutTypeField inputs
gpudatatypes::InOutTypeField outputs
float solenoidBzNominalGPU
const o2::dataformats::TrackTPCITS * tracksTPCITSO2
uint32_t nOutputTracksTPCO2
const o2::tpc::TrackTPC * outputTracksTPCO2
const float * trdTriggerTimes
const uint8_t * trdTrigRecMask
uint32_t nTRDTriggerRecords
static std::string concat_string(Ts const &... ts)
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"