Project
Loading...
Searching...
No Matches
o2::gpu::GPUO2InterfaceRefit Class Reference

#include <GPUO2InterfaceRefit.h>

Public Member Functions

 GPUO2InterfaceRefit (const o2::tpc::ClusterNativeAccess *cl, const o2::gpu::CorrectionMapsHelper *trans, float bzNominalGPU, const o2::tpc::TPCClRefElem *trackRef, uint32_t nHbfPerTf=0, const uint8_t *sharedmap=nullptr, const uint32_t *occupancymap=nullptr, int32_t occupancyMapSize=-1, const std::vector< o2::tpc::TrackTPC > *trks=nullptr, o2::base::Propagator *p=nullptr)
 
 ~GPUO2InterfaceRefit ()
 
int32_t RefitTrackAsGPU (o2::tpc::TrackTPC &trk, bool outward=false, bool resetCov=false)
 
int32_t RefitTrackAsTrackParCov (o2::tpc::TrackTPC &trk, bool outward=false, bool resetCov=false)
 
int32_t RefitTrackAsGPU (o2::track::TrackParCov &trk, const o2::tpc::TrackTPCClusRef &clusRef, float time0, float *chi2=nullptr, bool outward=false, bool resetCov=false)
 
int32_t RefitTrackAsTrackParCov (o2::track::TrackParCov &trk, const o2::tpc::TrackTPCClusRef &clusRef, float time0, float *chi2=nullptr, bool outward=false, bool resetCov=false)
 
void setTrackReferenceX (float v)
 
void setIgnoreErrorsAtTrackEnds (bool v)
 
void updateCalib (const o2::gpu::CorrectionMapsHelper *trans, float bzNominalGPU)
 
auto getParam () const
 

Static Public Member Functions

static void fillSharedClustersAndOccupancyMap (const o2::tpc::ClusterNativeAccess *cl, const gsl::span< const o2::tpc::TrackTPC > trks, const o2::tpc::TPCClRefElem *trackRef, uint8_t *shmap, uint32_t *ocmap=nullptr, uint32_t nHbfPerTf=0, const GPUParam *param=nullptr)
 
static size_t fillOccupancyMapGetSize (uint32_t nHbfPerTf, const GPUParam *param=nullptr)
 

Detailed Description

Definition at line 61 of file GPUO2InterfaceRefit.h.

Constructor & Destructor Documentation

◆ GPUO2InterfaceRefit()

GPUO2InterfaceRefit::GPUO2InterfaceRefit ( const o2::tpc::ClusterNativeAccess cl,
const o2::gpu::CorrectionMapsHelper trans,
float  bzNominalGPU,
const o2::tpc::TPCClRefElem trackRef,
uint32_t  nHbfPerTf = 0,
const uint8_t *  sharedmap = nullptr,
const uint32_t *  occupancymap = nullptr,
int32_t  occupancyMapSize = -1,
const std::vector< o2::tpc::TrackTPC > *  trks = nullptr,
o2::base::Propagator p = nullptr 
)

Definition at line 99 of file GPUO2InterfaceRefit.cxx.

◆ ~GPUO2InterfaceRefit()

GPUO2InterfaceRefit::~GPUO2InterfaceRefit ( )
default

Member Function Documentation

◆ fillOccupancyMapGetSize()

size_t GPUO2InterfaceRefit::fillOccupancyMapGetSize ( uint32_t  nHbfPerTf,
const GPUParam param = nullptr 
)
static

Definition at line 80 of file GPUO2InterfaceRefit.cxx.

◆ fillSharedClustersAndOccupancyMap()

void GPUO2InterfaceRefit::fillSharedClustersAndOccupancyMap ( const o2::tpc::ClusterNativeAccess cl,
const gsl::span< const o2::tpc::TrackTPC trks,
const o2::tpc::TPCClRefElem trackRef,
uint8_t *  shmap,
uint32_t *  ocmap = nullptr,
uint32_t  nHbfPerTf = 0,
const GPUParam param = nullptr 
)
static

Definition at line 28 of file GPUO2InterfaceRefit.cxx.

◆ getParam()

auto o2::gpu::GPUO2InterfaceRefit::getParam ( ) const
inline

Definition at line 80 of file GPUO2InterfaceRefit.h.

◆ RefitTrackAsGPU() [1/2]

int32_t GPUO2InterfaceRefit::RefitTrackAsGPU ( o2::tpc::TrackTPC trk,
bool  outward = false,
bool  resetCov = false 
)

Definition at line 136 of file GPUO2InterfaceRefit.cxx.

◆ RefitTrackAsGPU() [2/2]

int32_t GPUO2InterfaceRefit::RefitTrackAsGPU ( o2::track::TrackParCov trk,
const o2::tpc::TrackTPCClusRef clusRef,
float  time0,
float *  chi2 = nullptr,
bool  outward = false,
bool  resetCov = false 
)

Definition at line 138 of file GPUO2InterfaceRefit.cxx.

◆ RefitTrackAsTrackParCov() [1/2]

int32_t GPUO2InterfaceRefit::RefitTrackAsTrackParCov ( o2::tpc::TrackTPC trk,
bool  outward = false,
bool  resetCov = false 
)

Definition at line 137 of file GPUO2InterfaceRefit.cxx.

◆ RefitTrackAsTrackParCov() [2/2]

int32_t GPUO2InterfaceRefit::RefitTrackAsTrackParCov ( o2::track::TrackParCov trk,
const o2::tpc::TrackTPCClusRef clusRef,
float  time0,
float *  chi2 = nullptr,
bool  outward = false,
bool  resetCov = false 
)

Definition at line 139 of file GPUO2InterfaceRefit.cxx.

◆ setIgnoreErrorsAtTrackEnds()

void GPUO2InterfaceRefit::setIgnoreErrorsAtTrackEnds ( bool  v)

Definition at line 140 of file GPUO2InterfaceRefit.cxx.

◆ setTrackReferenceX()

void GPUO2InterfaceRefit::setTrackReferenceX ( float  v)

Definition at line 141 of file GPUO2InterfaceRefit.cxx.

◆ updateCalib()

void GPUO2InterfaceRefit::updateCalib ( const o2::gpu::CorrectionMapsHelper trans,
float  bzNominalGPU 
)

Definition at line 130 of file GPUO2InterfaceRefit.cxx.


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