![]()  | 
  
    Project
    
   | 
 
#include <GPUTRDTracker.h>
Inherits o2::gpu::GPUProcessor.
Classes | |
| struct | HelperTrackAttributes | 
| struct | Hypothesis | 
Public Types | |
| enum | EGPUTRDTracker { kNLayers = 6 , kNStacks = 5 , kNSectors = 18 , kNChambers = 540 } | 
  Public Types inherited from o2::gpu::GPUProcessor | |
| enum | ProcessorType { PROCESSOR_TYPE_CPU = 0 , PROCESSOR_TYPE_DEVICE = 1 , PROCESSOR_TYPE_SLAVE = 2 } | 
Public Member Functions | |
| GPUTRDTracker_t () | |
| GPUTRDTracker_t (const GPUTRDTracker_t &tracker)=delete | |
| GPUTRDTracker_t & | operator= (const GPUTRDTracker_t &tracker)=delete | 
| ~GPUTRDTracker_t () | |
| void | SetMaxData (const GPUTrackingInOutPointers &io) | 
| void | RegisterMemoryAllocation () | 
| void | InitializeProcessor () | 
| void | UpdateGeometry () | 
| void * | SetPointersBase (void *base) | 
| void * | SetPointersTracklets (void *base) | 
| void * | SetPointersTracks (void *base) | 
| void | PrepareTracking (GPUChainTracking *chainTracking) | 
| void | SetNCandidates (int32_t n) | 
| void | PrintSettings () const | 
| bool | IsInitialized () const | 
| void | StartDebugging () | 
| int16_t | MemoryPermanent () const | 
| GPUhd () void OverrideGPUGeometry(const GPUTRDGeometry *geo) | |
| void | Reset () | 
| template<class T > | |
| GPUd () bool PreCheckTrackTRDCandidate(const T &trk) const | |
| GPUd () bool PreCheckTrackTRDCandidate(const GPUTPCGMMergedTrack &trk) const | |
| GPUd () bool CheckTrackTRDCandidate(const TRDTRK &trk) const | |
| GPUd () int32_t LoadTrack(const TRDTRK &trk | |
| GPUd () int32_t GetCollisionIDs(int32_t iTrk | |
| GPUd () void DoTrackingThread(int32_t iTrk | |
| GPUd () bool CalculateSpacePoints(int32_t iCollision=0) | |
| GPUd () bool FollowProlongation(PROP *prop | |
| GPUd () int32_t GetDetectorNumber(const float zPos | |
| GPUd () bool AdjustSector(PROP *prop | |
| GPUd () int32_t GetSector(float alpha) const | |
| GPUd () float GetAlphaOfSector(const int32_t sec) const | |
| GPUd () float GetRPhiRes(float snp) const | |
| GPUd () float GetAngularResolution(float snp) const | |
| GPUd () float ConvertAngleToDy(float snp) const | |
| GPUd () float GetAngularPull(float dYtracklet | |
| GPUd () void RecalcTrkltCov(const float tilt | |
| GPUd () void FindChambersInRoad(const TRDTRK *t | |
| GPUd () bool IsGeoFindable(const TRDTRK *t | |
| GPUd () void InsertHypothesis(Hypothesis hypo | |
| GPUd () void SetGenerateSpacePoints(bool flag) | |
| GPUd () bool GenerateSpacepoints() const | |
| GPUd () void SetProcessPerTimeFrame(bool flag) | |
| GPUd () void EnableDebugOutput() | |
| GPUd () void SetMaxEta(float maxEta) | |
| GPUd () void SetRoadZ(float roadZ) | |
| GPUd () void SetTPCVdrift(float vDrift) | |
| GPUd () void SetTPCTDriftOffset(float t) | |
| GPUd () bool GetIsDebugOutputOn() const | |
| GPUd () float GetMaxEta() const | |
| GPUd () int32_t GetNCandidates() const | |
| GPUd () float GetRoadZ() const | |
| GPUd () int32_t NTracks() const | |
| GPUd () GPUTRDSpacePoint *SpacePoints() const | |
| GPUd () TRDTRK *Tracks() const | |
| GPUd () void DumpTracks() | |
  Public Member Functions inherited from o2::gpu::GPUProcessor | |
| GPUProcessor () | |
| ~GPUProcessor () | |
| GPUProcessor (const GPUProcessor &)=delete | |
| GPUProcessor & | operator= (const GPUProcessor &)=delete | 
| GPUd () GPUconstantref() const GPUConstantMem *GetConstantMem() const | |
| GPUd () GPUconstantref() const GPUParam &Param() const | |
| GPUd () void raiseError(uint32_t code | |
| const GPUReconstruction & | GetRec () const | 
| void | InitGPUProcessor (GPUReconstruction *rec, ProcessorType type=PROCESSOR_TYPE_CPU, GPUProcessor *slaveProcessor=nullptr) | 
| void | Clear () | 
| template<class T > | |
| T & | HostProcessor (T *) | 
Static Public Member Functions | |
| static | GPUd () bool ConvertTrkltToSpacePoint(const GPUTRDGeometry &geo | 
  Static Public Member Functions inherited from o2::gpu::GPUProcessor | |
| template<size_t alignment = GPUCA_BUFFER_ALIGNMENT> | |
| static constexpr size_t | getAlignmentMod (size_t addr) | 
| template<size_t alignment = GPUCA_BUFFER_ALIGNMENT> | |
| static constexpr size_t | getAlignment (size_t addr) | 
| template<size_t alignment = GPUCA_BUFFER_ALIGNMENT> | |
| static constexpr size_t | nextMultipleOf (size_t size) | 
| static constexpr size_t | nextMultipleOf (size_t size, size_t alignment) | 
| template<size_t alignment = GPUCA_BUFFER_ALIGNMENT> | |
| static void * | alignPointer (void *ptr) | 
| template<size_t alignment = GPUCA_BUFFER_ALIGNMENT> | |
| static size_t | getAlignmentMod (void *addr) | 
| template<size_t alignment = GPUCA_BUFFER_ALIGNMENT> | |
| static size_t | getAlignment (void *addr) | 
| template<size_t alignment = GPUCA_BUFFER_ALIGNMENT, class S > | |
| static S * | getPointerWithAlignment (size_t &basePtr, size_t nEntries=1) | 
| template<size_t alignment = GPUCA_BUFFER_ALIGNMENT, class S > | |
| static S * | getPointerWithAlignment (void *&basePtr, size_t nEntries=1) | 
| template<size_t alignment = GPUCA_BUFFER_ALIGNMENT, class T , class S > | |
| static void | computePointerWithAlignment (T *&basePtr, S *&objPtr, size_t nEntries=1) | 
| template<class T , class S > | |
| static void | computePointerWithoutAlignment (T *&basePtr, S *&objPtr, size_t nEntries=1) | 
Public Attributes | |
| uint32_t | tpcTrackId | 
| uint32_t bool | checkTrack = true | 
| uint32_t bool HelperTrackAttributes * | attribs = nullptr) | 
| int32_t *collisionIds | const | 
| int32_t | threadId = 0) | 
| static GPUTRDTrackletWord & | trklt | 
| static GPUTRDTrackletWord GPUTRDSpacePoint & | sp | 
| TRDTRK * | t | 
| TRDTRK int32_t | iTrk | 
| TRDTRK int32_t int32_t | threadId | 
| TRDTRK int32_t int32_t int32_t | collisionId | 
| const float | alpha | 
| const float const int32_t layer | const | 
| TRDTRK *t | const | 
| float snp | const | 
| const float | snp | 
| const float const float | rowSize | 
| const float const float float(& | cov )[3] | 
| const float | roadY | 
| const float const float | roadZ | 
| const float const float const int32_t | iLayer | 
| const float const float const int32_t int32_t * | det | 
| const float const float const int32_t int32_t const float | zMax | 
| const float const float const int32_t int32_t const float const float | alpha | 
| const float const float const int32_t int32_t const float const float const float zShiftTrk | const | 
| const int32_t | layer | 
| const int32_t const float | alpha | 
| const int32_t const float const float zShiftTrk | const | 
| int32_t & | nCurrHypothesis | 
| int32_t int32_t | idxOffset | 
  Public Attributes inherited from o2::gpu::GPUProcessor | |
| uint32_t | param1 = 0 | 
| uint32_t uint32_t | param2 = 0 | 
| uint32_t uint32_t uint32_t | param3 = 0) const | 
Static Protected Attributes | |
| static constexpr const float | sRadialOffset = -0.1f | 
Additional Inherited Members | |
  Protected Member Functions inherited from o2::gpu::GPUProcessor | |
| void | AllocateAndInitializeLate () | 
| GPUconstantref () const GPUConstantMem *mConstantMem | |
Definition at line 44 of file GPUTRDTracker.h.
| enum o2::gpu::GPUTRDTracker_t::EGPUTRDTracker | 
| Enumerator | |
|---|---|
| kNLayers | |
| kNStacks | |
| kNSectors | |
| kNChambers | |
Definition at line 68 of file GPUTRDTracker.h.
| GPUTRDTracker_t::GPUTRDTracker_t | ( | ) | 
Definition at line 95 of file GPUTRDTracker.cxx.
      
  | 
  delete | 
| GPUTRDTracker_t::~GPUTRDTracker_t | ( | ) | 
Definition at line 103 of file GPUTRDTracker.cxx.
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | 
      
  | 
  pure virtual | 
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | const & | 
      
  | 
  static | 
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | 
      
  | 
  inline | 
Definition at line 128 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 136 of file GPUTRDTracker.h.
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | const | 
      
  | 
  inline | 
Definition at line 104 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 100 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 119 of file GPUTRDTracker.h.
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | const | 
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | 
      
  | 
  inline | 
Definition at line 118 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 137 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 139 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 117 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 143 of file GPUTRDTracker.h.
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | 
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | const | 
      
  | 
  inline | 
Definition at line 138 of file GPUTRDTracker.h.
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | const | 
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | const & | 
      
  | 
  inline | 
Definition at line 142 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 144 of file GPUTRDTracker.h.
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | 
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | 
      
  | 
  inline | 
Definition at line 130 of file GPUTRDTracker.h.
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | const | 
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | 
| o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::GPUd | ( | ) | const | 
      
  | 
  inline | 
Definition at line 127 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 131 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 129 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 132 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 134 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 133 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 97 of file GPUTRDTracker.h.
| void GPUTRDTracker_t::InitializeProcessor | ( | ) | 
Definition at line 112 of file GPUTRDTracker.cxx.
      
  | 
  inline | 
Definition at line 64 of file GPUTRDTracker.h.
      
  | 
  inline | 
Definition at line 95 of file GPUTRDTracker.h.
      
  | 
  delete | 
| void GPUTRDTracker_t::PrepareTracking | ( | GPUChainTracking * | chainTracking | ) | 
Definition at line 196 of file GPUTRDTracker.cxx.
| void GPUTRDTracker_t::PrintSettings | ( | ) | const | 
Definition at line 262 of file GPUTRDTracker.cxx.
| void GPUTRDTracker_t::RegisterMemoryAllocation | ( | ) | 
Definition at line 48 of file GPUTRDTracker.cxx.
| void GPUTRDTracker_t::Reset | ( | ) | 
Definition at line 187 of file GPUTRDTracker.cxx.
| void GPUTRDTracker_t::SetMaxData | ( | const GPUTrackingInOutPointers & | io | ) | 
Definition at line 40 of file GPUTRDTracker.cxx.
| void GPUTRDTracker_t::SetNCandidates | ( | int32_t | n | ) | 
Definition at line 249 of file GPUTRDTracker.cxx.
Definition at line 57 of file GPUTRDTracker.cxx.
Definition at line 70 of file GPUTRDTracker.cxx.
Definition at line 84 of file GPUTRDTracker.cxx.
| void GPUTRDTracker_t::StartDebugging | ( | ) | 
Definition at line 275 of file GPUTRDTracker.cxx.
| void GPUTRDTracker_t::UpdateGeometry | ( | ) | 
Definition at line 125 of file GPUTRDTracker.cxx.
| const float o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::alpha | 
Definition at line 113 of file GPUTRDTracker.h.
| const float const float const int32_t int32_t const float const float o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::alpha | 
Definition at line 122 of file GPUTRDTracker.h.
| const int32_t const float o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::alpha | 
Definition at line 123 of file GPUTRDTracker.h.
| uint32_t bool HelperTrackAttributes* o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::attribs = nullptr) | 
Definition at line 106 of file GPUTRDTracker.h.
| uint32_t bool o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::checkTrack = true | 
Definition at line 106 of file GPUTRDTracker.h.
| TRDTRK int32_t int32_t int32_t o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::collisionId | 
Definition at line 112 of file GPUTRDTracker.h.
| int32_t* collisionIds o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::const | 
Definition at line 108 of file GPUTRDTracker.h.
| const float const int32_t layer o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::const | 
Definition at line 113 of file GPUTRDTracker.h.
| TRDTRK* t o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::const | 
Definition at line 114 of file GPUTRDTracker.h.
| float snp o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::const | 
Definition at line 120 of file GPUTRDTracker.h.
| const float const float const int32_t int32_t const float const float const float zShiftTrk o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::const | 
Definition at line 122 of file GPUTRDTracker.h.
| const int32_t const float const float zShiftTrk o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::const | 
Definition at line 123 of file GPUTRDTracker.h.
| const float const float float(& o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::cov)[3] | 
Definition at line 121 of file GPUTRDTracker.h.
| const float const float const int32_t int32_t* o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::det | 
Definition at line 122 of file GPUTRDTracker.h.
| int32_t int32_t o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::idxOffset | 
Definition at line 124 of file GPUTRDTracker.h.
| const float const float const int32_t o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::iLayer | 
Definition at line 122 of file GPUTRDTracker.h.
| TRDTRK int32_t o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::iTrk | 
Definition at line 112 of file GPUTRDTracker.h.
| const int32_t o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::layer | 
Definition at line 123 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 156 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 184 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 185 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 186 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 174 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 195 of file GPUTRDTracker.h.
      
  | 
  protected | 
-— end error parametrization -—
Definition at line 188 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 181 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 182 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 183 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 153 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 176 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 173 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 152 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 168 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 190 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 157 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 158 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 159 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 155 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 165 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 167 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 160 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 162 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 161 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 166 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 154 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 151 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 191 of file GPUTRDTracker.h.
      
  | 
  protected | 
-— error parametrization depending on magnetic field -—
Definition at line 178 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 179 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 180 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 175 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 194 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 193 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 164 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 172 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 163 of file GPUTRDTracker.h.
      
  | 
  protected | 
Definition at line 192 of file GPUTRDTracker.h.
| int32_t& o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::nCurrHypothesis | 
Definition at line 124 of file GPUTRDTracker.h.
| const float o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::roadY | 
Definition at line 122 of file GPUTRDTracker.h.
| const float const float o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::roadZ | 
Definition at line 122 of file GPUTRDTracker.h.
| const float const float o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::rowSize | 
Definition at line 121 of file GPUTRDTracker.h.
| const float o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::snp | 
Definition at line 121 of file GPUTRDTracker.h.
| GPUTRDTrackletWord GPUTRDSpacePoint& o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::sp | 
Definition at line 110 of file GPUTRDTracker.h.
      
  | 
  staticconstexprprotected | 
Definition at line 189 of file GPUTRDTracker.h.
| TRDTRK* o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::t | 
Definition at line 112 of file GPUTRDTracker.h.
| int32_t o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::threadId = 0) | 
Definition at line 109 of file GPUTRDTracker.h.
| TRDTRK int32_t int32_t o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::threadId | 
Definition at line 112 of file GPUTRDTracker.h.
| uint32_t o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::tpcTrackId | 
Definition at line 106 of file GPUTRDTracker.h.
| GPUTRDTrackletWord& o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::trklt | 
Definition at line 110 of file GPUTRDTracker.h.
| const float const float const int32_t int32_t const float o2::gpu::GPUTRDTracker_t< TRDTRK, PROP >::zMax | 
Definition at line 122 of file GPUTRDTracker.h.