Project
Loading...
Searching...
No Matches
o2::gpu::Spline1DContainer< DataT, NoFlatObject > Class Template Reference

#include <Spline1DSpec.h>

Inherits o2::gpu::Spline1DContainerBase< DataT, NoFlatObject >.

Public Member Functions

 GPUd () const int32_t *getUtoKnotMapFromBuffer(const char *flatBuf) const
 Get the U->knot-index map from an explicit flat buffer pointer.
 
template<SafetyLevel SafeT = SafetyLevel::kSafe>
 GPUd () int32_t getLeftKnotIndexForUFromBuffer(const char *flatBuf
 
 if (SafeT==SafetyLevel::kSafe)
 
return getUtoKnotMapFromBuffer (flatBuf)[iu]
 
 GPUd () const Knot< DataT > *getKnotsFromBuffer(const char *flatBuf) const
 
template<SafetyLevel SafeT = SafetyLevel::kSafe>
 GPUd () const Knot< DataT > &getKnotFromBuffer(const char *flatBuf
 
void destroy ()
 
 GPUdi () void setActualBufferAddress(char *)
 
 GPUdi () void setFutureBufferAddress(char *)
 
template<class OtherFlatBase >
void importFrom (const Spline1DContainerBase< DataT, OtherFlatBase > &src)
 Copy schema fields from a spline with a different FlatBase (no pointer members to copy).
 
- Public Member Functions inherited from o2::gpu::Spline1DContainerBase< DataT, NoFlatObject >
 GPUd () static const expr int32_t getVersion()
 _____________ Version control __________________________
 
 GPUd () int32_t getUmax() const
 _______________ Getters ________________________
 
 GPUd () int32_t getYdimensions() const
 Get number of Y dimensions.
 
 GPUd () size_t getParameterAlignmentBytes() const
 Get minimal required alignment for the spline parameters.
 
 GPUd () int32_t getNumberOfParameters() const
 Number of parameters.
 
 GPUd () size_t getSizeOfParameters() const
 Size of the parameter array in bytes.
 
 GPUd () int32_t getNumberOfKnots() const
 Get a number of knots.
 
 GPUd () DataT convXtoU(DataT x) const
 _______________ Technical stuff ________________________
 
 GPUd () DataT convUtoX(DataT u) const
 Convert U coordinate to X.
 
 GPUd () DataT getXmin() const
 Get Xmin.
 
 GPUd () DataT getXmax() const
 Get Xmax.
 
 GPUd () DataT getXtoUscale() const
 Get XtoUscale.
 
 GPUd () void setXrange(DataT xMin
 Set X range.
 
 GPUd () int32_t calcNumberOfParameters(int32_t nYdim) const
 _______________ Expert tools _______________
 
 Spline1DContainerBase ()=default
 _____________ C++ constructors / destructors __________________________
 
 Spline1DContainerBase (const Spline1DContainerBase &)=delete
 Disable all other constructors.
 
 ~Spline1DContainerBase ()=default
 Destructor.
 
- Public Member Functions inherited from o2::gpu::NoFlatObject
 GPUdi () size_t getFlatBufferSize() const
 

Public Attributes

DataT u const
 
int32_t i const
 
- Public Attributes inherited from o2::gpu::Spline1DContainerBase< DataT, NoFlatObject >
DataT xMax
 
int32_t mYdim
 _____________ Data members ____________
 
int32_t mNumberOfKnots
 n knots on the grid
 
int32_t mUmax
 U of the last knot.
 
DataT mXmin
 X of the first knot.
 
DataT mXtoUscale
 a scaling factor to convert X to U
 
- Public Attributes inherited from o2::gpu::NoFlatObject
int32_t mFlatBufferSize = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from o2::gpu::NoFlatObject
static constexpr size_t getClassAlignmentBytes ()
 
static constexpr size_t getBufferAlignmentBytes ()
 

Detailed Description

template<typename DataT>
class o2::gpu::Spline1DContainer< DataT, NoFlatObject >

Definition at line 217 of file Spline1DSpec.h.

Member Function Documentation

◆ destroy()

template<typename DataT >
void o2::gpu::Spline1DContainer< DataT, NoFlatObject >::destroy ( )
inline

Definition at line 255 of file Spline1DSpec.h.

◆ getUtoKnotMapFromBuffer()

template<typename DataT >
return o2::gpu::Spline1DContainer< DataT, NoFlatObject >::getUtoKnotMapFromBuffer ( flatBuf  )

◆ GPUd() [1/4]

template<typename DataT >
o2::gpu::Spline1DContainer< DataT, NoFlatObject >::GPUd ( ) const
inline

Get the U->knot-index map from an explicit flat buffer pointer.

Definition at line 221 of file Spline1DSpec.h.

◆ GPUd() [2/4]

template<typename DataT >
template<SafetyLevel SafeT = SafetyLevel::kSafe>
o2::gpu::Spline1DContainer< DataT, NoFlatObject >::GPUd ( ) const &

Get i-th knot from an explicit flat buffer pointer. Use this instead of getKnot() on the zero-copy path.

◆ GPUd() [3/4]

template<typename DataT >
o2::gpu::Spline1DContainer< DataT, NoFlatObject >::GPUd ( ) const
inline

Get the knot array from an explicit flat buffer pointer. Use this instead of getKnots() when the object was copied across process boundaries and mFlatBufferPtr has not been fixed up (zero-copy path).

Definition at line 241 of file Spline1DSpec.h.

◆ GPUd() [4/4]

template<typename DataT >
template<SafetyLevel SafeT = SafetyLevel::kSafe>
o2::gpu::Spline1DContainer< DataT, NoFlatObject >::GPUd ( ) const

Map a U coordinate to its left knot index, using an explicit flat buffer pointer. Use this instead of getLeftKnotIndexForU() on the zero-copy path.

◆ GPUdi() [1/2]

template<typename DataT >
o2::gpu::Spline1DContainer< DataT, NoFlatObject >::GPUdi ( )
inline

Definition at line 264 of file Spline1DSpec.h.

◆ GPUdi() [2/2]

template<typename DataT >
o2::gpu::Spline1DContainer< DataT, NoFlatObject >::GPUdi ( )
inline

Definition at line 265 of file Spline1DSpec.h.

◆ if()

template<typename DataT >
o2::gpu::Spline1DContainer< DataT, NoFlatObject >::if ( SafeT  = = SafetyLevel::kSafe)
inline

Definition at line 232 of file Spline1DSpec.h.

◆ importFrom()

template<typename DataT >
template<class OtherFlatBase >
void o2::gpu::Spline1DContainer< DataT, NoFlatObject >::importFrom ( const Spline1DContainerBase< DataT, OtherFlatBase > &  src)
inline

Copy schema fields from a spline with a different FlatBase (no pointer members to copy).

Definition at line 270 of file Spline1DSpec.h.

Member Data Documentation

◆ const [1/2]

template<typename DataT >
DataT u o2::gpu::Spline1DContainer< DataT, NoFlatObject >::const
Initial value:
{
int32_t iu = u < 0 ? 0 : (u > (float)this->mUmax ? this->mUmax : (int32_t)u)
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 Compile RTC in deterministic with NO_FAST_MATH flags and GPUCA_DETERMINISTIC_MODE define Use RTC to optimize GPU code h configStandalone Processing proc_rtctech Use a file lock to serialize access to the cache folder int32_t

Definition at line 229 of file Spline1DSpec.h.

◆ const [2/2]

template<typename DataT >
int32_t i o2::gpu::Spline1DContainer< DataT, NoFlatObject >::const
Initial value:
{
if (SafeT == SafetyLevel::kSafe) {
i = (i < 0) ? 0 : (i >= this->getNumberOfKnots() ? this->getNumberOfKnots() - 1 : i);
}
return getKnotsFromBuffer(flatBuf)[i]
int32_t i

Definition at line 246 of file Spline1DSpec.h.


The documentation for this class was generated from the following file: