26#ifndef INCLUDE_RECONSTRUCTIONDATAFORMATS_TRACKPARAMETRIZATION_H_
27#define INCLUDE_RECONSTRUCTIONDATAFORMATS_TRACKPARAMETRIZATION_H_
34#ifndef GPUCA_GPUCODE_DEVICE
44#ifndef GPUCA_ALIGPUCODE
115 {10, 11, 12, 13, 14}};
131template <typename value_T =
float>
146#ifndef GPUCA_GPUCODE_DEVICE
147 static_assert(std::is_floating_point_v<value_t>);
173 GPUd()
int getAbsCharge() const;
189 GPUd()
void setAbsCharge(
int q);
214 GPUdi() int nELossSteps(value_T dE, value_T ekin) const noexcept
216 const int n = 1 + int(gpu::CAMath::Abs(dE) / ekin * ELoss2EKinThreshInv);
220 GPUdi() static
value_t getBetheBlochSolidDerivativeApprox(value_T
dedx, value_T
bg) {
return BetheBlochSolidDerivative(
dedx,
bg); }
262 GPUd()
void printParam() const;
263 GPUd()
void printParamHexadecimal();
264#ifndef GPUCA_ALIGPUCODE
268 size_t hash()
const {
return hash(getX(), getAlpha(), getY(), getZ(), getSnp(), getTgl(), getQ2Pt()); }
269 static size_t hash(
float x,
float alp,
float y,
float z,
float snp,
float tgl,
float q2pt);
276 GPUd()
yzerr_t getVertexInTrackFrame(const
o2::dataformats::VertexBase& vtx) const;
288 ClassDefNV(TrackParametrization, 3);
292template <
typename value_T>
297 math_utils::detail::bringToPMPi<value_t>(mAlpha);
298 for (
int i = 0;
i < kNParams;
i++) {
304template <
typename value_T>
305GPUdi()
void TrackParametrization<value_T>::set(value_t
x, value_t
alpha, const params_t& par,
int charge, const
PID pid)
311template <
typename value_T>
312GPUdi()
void TrackParametrization<value_T>::set(value_t
x, value_t
alpha, const value_t* par,
int charge, const
PID pid)
316 math_utils::detail::bringToPMPi<value_t>(mAlpha);
318 for (
int i = 0;
i < kNParams;
i++) {
325template <
typename value_T>
326GPUdi()
auto TrackParametrization<value_T>::getParams() const -> const value_t*
332template <
typename value_T>
333GPUdi()
auto TrackParametrization<value_T>::getParam(
int i) const -> value_t
339template <
typename value_T>
340GPUdi()
auto TrackParametrization<value_T>::getX() const -> value_t
346template <
typename value_T>
347GPUdi()
auto TrackParametrization<value_T>::getAlpha() const -> value_t
353template <
typename value_T>
354GPUdi()
auto TrackParametrization<value_T>::getY() const -> value_t
360template <
typename value_T>
361GPUdi()
auto TrackParametrization<value_T>::getZ() const -> value_t
367template <
typename value_T>
368GPUdi()
auto TrackParametrization<value_T>::getSnp() const -> value_t
374template <
typename value_T>
375GPUdi()
auto TrackParametrization<value_T>::getTgl() const -> value_t
381template <
typename value_T>
382GPUhdi()
auto TrackParametrization<value_T>::getQ2Pt() const -> value_t
388template <
typename value_T>
389GPUdi()
auto TrackParametrization<value_T>::getCharge2Pt() const -> value_t
391 return mAbsCharge ? mP[
kQ2Pt] : 0.f;
395template <
typename value_T>
396GPUdi()
auto TrackParametrization<value_T>::getR2() const -> value_t
398 return mX * mX + mP[
kY] * mP[
kY];
402template <
typename value_T>
403GPUdi()
auto TrackParametrization<value_T>::getR() const -> value_t
405 return math_utils::detail::sqrt<value_t>(getR2());
409template <
typename value_T>
410GPUdi() int TrackParametrization<value_T>::getAbsCharge()
const
416template <
typename value_T>
417GPUdi()
PID TrackParametrization<value_T>::getPID()
const
423template <
typename value_T>
424GPUdi()
void TrackParametrization<value_T>::setPID(const
PID pid,
bool passCharge)
428 setAbsCharge(
pid.getCharge());
433template <
typename value_T>
434GPUdi()
auto TrackParametrization<value_T>::getCsp2() const -> value_t
437 return csp2 > o2::constants::math::Almost0 ? csp2 : o2::constants::math::Almost0;
441template <
typename value_T>
442GPUdi()
auto TrackParametrization<value_T>::getCsp() const -> value_t
444 return math_utils::detail::sqrt<value_t>(getCsp2());
448template <
typename value_T>
449GPUdi()
void TrackParametrization<value_T>::setX(value_t
v)
455template <
typename value_T>
456GPUdi()
void TrackParametrization<value_T>::setParam(value_t
v,
int i)
462template <
typename value_T>
463GPUdi()
void TrackParametrization<value_T>::setAlpha(value_t
v)
466 math_utils::detail::bringToPMPi<value_t>(mAlpha);
470template <
typename value_T>
471GPUdi()
void TrackParametrization<value_T>::setY(value_t
v)
477template <
typename value_T>
478GPUdi()
void TrackParametrization<value_T>::setZ(value_t
v)
484template <
typename value_T>
485GPUdi()
void TrackParametrization<value_T>::setSnp(value_t
v)
491template <
typename value_T>
492GPUdi()
void TrackParametrization<value_T>::setTgl(value_t
v)
498template <
typename value_T>
499GPUdi()
void TrackParametrization<value_T>::setQ2Pt(value_t
v)
505template <
typename value_T>
506GPUdi()
void TrackParametrization<value_T>::setAbsCharge(
int q)
508 mAbsCharge = gpu::CAMath::Abs(q);
512template <
typename value_T>
513GPUdi()
void TrackParametrization<value_T>::getCircleParamsLoc(value_t bz,
o2::
math_utils::CircleXY<value_t>&
c)
const
516 c.rC = getCurvature(bz);
518 constexpr value_t MinSagitta = 0.01f, TPCMidR = 160.f, MinCurv = 8 * MinSagitta / (TPCMidR * TPCMidR);
519 if (gpu::CAMath::Abs(
c.rC) > MinCurv) {
520 c.rC = 1.f / getCurvature(bz);
521 value_t sn = getSnp(), cs = math_utils::detail::sqrt<value_t>((1.f - sn) * (1.f + sn));
522 c.xC =
getX() - sn *
c.rC;
523 c.yC =
getY() + cs *
c.rC;
524 c.rC = gpu::CAMath::Abs(
c.rC);
533template <
typename value_T>
534GPUdi()
void TrackParametrization<value_T>::getCircleParams(value_t bz,
o2::
math_utils::CircleXY<value_t>&
c, value_t& sna, value_t& csa)
const
537 getCircleParamsLoc(bz,
c);
538 o2::math_utils::detail::sincos(getAlpha(), sna, csa);
539 o2::math_utils::detail::rotateZ<value_t>(
c.xC,
c.yC,
c.xC,
c.yC, sna, csa);
543template <
typename value_T>
544GPUdi()
void TrackParametrization<value_T>::getLineParams(
o2::
math_utils::IntervalXY<value_t>& ln, value_t& sna, value_t& csa)
const
547 o2::math_utils::detail::sincos(getAlpha(), sna, csa);
548 o2::math_utils::detail::rotateZ<value_t>(
getX(),
getY(), ln.getX0(), ln.getY0(), sna, csa);
549 value_t snp = getSnp(), csp = math_utils::detail::sqrt<value_t>((1.f - snp) * (1.f + snp));
550 ln.setDX(csp * csa - snp * sna);
551 ln.setDY(snp * csa + csp * sna);
555template <
typename value_T>
556GPUdi()
auto TrackParametrization<value_T>::getCurvature(value_t
b) const -> value_t
558 return mAbsCharge ? mP[
kQ2Pt] *
b * o2::constants::math::B2C : value_T(0);
562template <
typename value_T>
563GPUdi() int TrackParametrization<value_T>::getCharge()
const
565 return getSign() > 0 ? mAbsCharge : -mAbsCharge;
569template <
typename value_T>
570GPUdi() int TrackParametrization<value_T>::getSign()
const
572 return mAbsCharge ? (mP[
kQ2Pt] > 0.f ? 1 : -1) : 0;
576template <
typename value_T>
577GPUdi()
auto TrackParametrization<value_T>::getPhi() const -> value_t
580 value_t phi = math_utils::detail::asin<value_t>(getSnp()) + getAlpha();
581 math_utils::detail::bringTo02Pi<value_t>(phi);
586template <
typename value_T>
587GPUdi()
auto TrackParametrization<value_T>::getPhiPos() const -> value_t
591 math_utils::detail::bringTo02Pi<value_t>(phi);
596template <
typename value_T>
597GPUdi()
auto TrackParametrization<value_T>::getQ2P2() const -> value_t
601 if (q2pt2 < MinPTInv * MinPTInv) {
602 q2pt2 = MinPTInv * MinPTInv;
604 return q2pt2 / (1.f + getTgl() * getTgl());
608template <
typename value_T>
609GPUdi()
auto TrackParametrization<value_T>::getPtInv() const -> value_t
613 if (ptInv < MinPTInv) {
616 return (mAbsCharge > 1) ?
ptInv / mAbsCharge :
ptInv;
620template <
typename value_T>
621GPUdi()
auto TrackParametrization<value_T>::getP2Inv() const -> value_t
625 return p2 *
p2 / (1.f + getTgl() * getTgl());
629template <
typename value_T>
630GPUdi()
auto TrackParametrization<value_T>::getP2() const -> value_t
633 return 1.f / getP2Inv();
637template <
typename value_T>
638GPUdi()
auto TrackParametrization<value_T>::getPInv() const -> value_t
641 return getPtInv() / math_utils::detail::sqrt<value_t>(1.f + getTgl() * getTgl());
645template <
typename value_T>
646GPUdi()
auto TrackParametrization<value_T>::getP() const -> value_t
649 return 1.f / getPInv();
653template <
typename value_T>
654GPUdi()
auto TrackParametrization<value_T>::getE2() const -> value_t
657 return getP2() + getPID().getMass2();
661template <
typename value_T>
662GPUdi()
auto TrackParametrization<value_T>::getE() const -> value_t
665 return math_utils::detail::sqrt<value_t>(getE2());
669template <
typename value_T>
670GPUdi()
auto TrackParametrization<value_T>::getPt() const -> value_t
673 return 1.f / getPtInv();
677template <
typename value_T>
678GPUdi()
auto TrackParametrization<value_T>::getTheta() const -> value_t
680 return constants::math::PIHalf - math_utils::detail::atan<value_t>(mP[3]);
684template <
typename value_T>
685GPUdi()
auto TrackParametrization<value_T>::getEta() const -> value_t
687 return -math_utils::detail::log<value_t>(math_utils::detail::tan<value_t>(0.5f * getTheta()));
691template <
typename value_T>
694#ifndef GPUCA_ALIGPUCODE
695 return math_utils::Rotation2D<value_t>(getAlpha())(math_utils::Point3D<value_t>(
getX(),
getY(), getZ()));
698 gpu::CAMath::SinCos(getAlpha(), sina, cosa);
699 return math_utils::Point3D<value_t>(cosa *
getX() - sina *
getY(), cosa *
getY() + sina *
getX(), getZ());
704template <
typename value_T>
705GPUdi()
void TrackParametrization<value_T>::getXYZGlo(dim3_t& xyz)
const
711 math_utils::detail::rotateZ<value_t>(xyz, getAlpha());
715template <
typename value_T>
722 ok = getYZAt(xk,
b,
y,
z);
724#ifndef GPUCA_ALIGPUCODE
725 return math_utils::Rotation2D<value_t>(getAlpha())(math_utils::Point3D<value_t>(xk,
y,
z));
728 gpu::CAMath::SinCos(getAlpha(), sina, cosa);
729 return math_utils::Point3D<value_t>(cosa * xk - sina *
y, cosa *
y + sina * xk,
z);
732 return math_utils::Point3D<value_t>();
737template <
typename value_T>
740 return mX != InvalidX;
744template <
typename value_T>
745GPUdi()
void TrackParametrization<value_T>::invalidate()
750template <
typename value_T>
756template <
typename value_T>
763template <
typename value_T>
764GPUdi()
void TrackParametrization<value_T>::updateParam(value_t delta,
int i)
770template <
typename value_T>
771GPUdi()
void TrackParametrization<value_T>::updateParams(const params_t& delta)
773 updateParams(delta.data());
777template <
typename value_T>
778GPUdi()
void TrackParametrization<value_T>::updateParams(const value_t* delta)
780 for (
int i = kNParams;
i--;) {
784 if (mP[
kSnp] > constants::math::Almost1) {
785 mP[
kSnp] = constants::math::Almost1;
786 }
else if (mP[
kSnp] < -constants::math::Almost1) {
787 mP[
kSnp] = -constants::math::Almost1;
791#ifndef GPUCA_ALIGPUCODE
792template <
typename value_T>
795 size_t h = std::hash<float>{}(o2::math_utils::detail::truncateFloatFraction(
x, 0xFFFFFFF0));
796 h ^= std::hash<float>{}(o2::math_utils::detail::truncateFloatFraction(alp, 0xFFFFFFF0)) << 1;
797 h ^= std::hash<float>{}(o2::math_utils::detail::truncateFloatFraction(
y, 0xFFFFFFF0)) << 1;
798 h ^= std::hash<float>{}(o2::math_utils::detail::truncateFloatFraction(
z, 0xFFFFFFF0)) << 1;
799 h ^= std::hash<float>{}(o2::math_utils::detail::truncateFloatFraction(snp, 0xFFFFFF00)) << 1;
800 h ^= std::hash<float>{}(o2::math_utils::detail::truncateFloatFraction(tgl, 0xFFFFFF00)) << 1;
801 h ^= std::hash<float>{}(o2::math_utils::detail::truncateFloatFraction(q2pt, 0xFFFFFC00)) << 1;
General auxilliary methods.
unsigned short int uint16_t
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 Show related Highlight grid Show only individual collision Color clusters belonging to track objects Set line Enable drawing TPC data Enable drawing TOF data Enable drawing magnetic field Set field line step count Invert colors configStandalone Heavy OpenGL display display_heavy Show tracks with ITS contribution Show tracks with TOF contribution Enable propagation of loopers Show clusters at nominal x of pad row for early transformed data Split CE tracks when they cross the central Mark clusters Mark adjacent clusters Hide rejected tracks Apply filter on tracks to be displayed Separate increase X h configStandalone Camera window renderer OpenGL display display_camera Orient the camera such that the y axis is always upwards Full Screen MultiSample Anti Downsampling Anti Enable Vertical Sync Target frame or if the backend cannot limit to the refresh Use OpenGL indirect draws to reduce number of draw calls Display h configStandalone Vulkan display display_vulkan Have uniform buffers in host accessible device memory h configStandalone Internal display display_internal Number of updates the Qt GUI may send ahead of the last one the display has before it waits for the display Opacity of the console background Number of console lines the history is shortened to this when it reaches twice the size Time in seconds an info message fades out after setInfoTime h OpenGL display display Font size Do not use Freetype for font auto
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 maximum chi2 per attached tracklet for TRD tracks take into account the full likelihood of the slope including exponential tails Tracks with less attached tracklets are discarded after the tracking Post trigger Pile up integration time in BCs fits all iterations but the last one in projections Use material lookup table for TPC refit Apply workarounds to avoid cyclic merge should not be needed tpc dyn configStandalone Processing proc_rtc Replace constant variables static by constexpr expressions false
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 maximum chi2 per attached tracklet for TRD tracks take into account the full likelihood of the slope including exponential tails Tracks with less attached tracklets are discarded after the tracking Post trigger Pile up integration time in BCs fits all iterations but the last one in projections Use material lookup table for TPC refit Apply workarounds to avoid cyclic merge should not be needed tpc dyn configStandalone Processing proc_rtc bool
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 maximum chi2 per attached tracklet for TRD tracks take into account the full likelihood of the slope including exponential tails Tracks with less attached tracklets are discarded after the tracking Post trigger Pile up integration time in BCs fits all iterations but the last one in projections Use material lookup table for TPC refit Apply workarounds to avoid cyclic merge should not be needed tpc dyn configStandalone Processing proc_rtc true
configStandalone Reconstruction rec_tpc float
Declarations of 2D primitives.
Class for time synchronization of RawReader instances.
std::array< value_t, 2 > dim2_t
void toFwdTrackPar(TrackParFwd &t) const
static size_t hash(float x, float alp, float y, float z, float snp, float tgl, float q2pt)
std::string asStringHexadecimal()
return n MaxELossIter MaxELossIter
GPUdi() int nELossSteps(value_T dE
std::array< value_t, kNParams > params_t
GPUd() value_t getTheta() const
GPUd() bool propagateTo(value_t xk
std::string asString() const
GPUdDefault() TrackParametrization()=default
GPUd() bool propagateToDCA(const math_utils
GPUdi() static value_t getdEdxBBOpt(value_t betagamma)
GPUd() void updateParam(value_t delta
GPUd() bool isValid() const
std::array< value_t, 3 > dim3_t
GLfloat GLfloat GLfloat alpha
GLboolean GLboolean GLboolean b
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLdouble GLdouble GLdouble z
typename trackParam_t::value_t value_t
const bool const int TrackITSInternal< NLayers > & track
o2::track::TrackParametrization< float > par
double * getX(double *xyDxy, int N)
double * getY(double *xyDxy, int N)
GPUhdi() uint16_t TrackParametrization< value_T >
GPUdi() TrackParametrization< value_T >
GPUconstexpr() int CovarMap[kNParams][kNParams]
GPUd() value_T BetheBlochSolid(value_T bg
GPUglobalconstexpr() int kNParams
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
bool isValid(std::string alias)