#include <HelixFitOnGPU.h>
Public Types | |
using | HitConstView = TrackingRecHitSoAConstView< TrackerTraits > |
using | HitView = TrackingRecHitSoAView< TrackerTraits > |
using | OutputSoAView = TrackSoAView< TrackerTraits > |
using | TrackingRecHitSoAs = TrackingRecHitSoA< TrackerTraits > |
using | TupleMultiplicity = caStructures::TupleMultiplicityT< TrackerTraits > |
using | Tuples = typename TrackSoA< TrackerTraits >::HitContainer |
Public Member Functions | |
void | allocateOnGPU (TupleMultiplicity const *tupleMultiplicity, OutputSoAView &helix_fit_results) |
void | deallocateOnGPU () |
HelixFitOnGPU (float bf, bool fitNas4) | |
void | launchBrokenLineKernels (const HitConstView &hv, uint32_t nhits, uint32_t maxNumberOfTuples, cudaStream_t cudaStream) |
void | launchBrokenLineKernelsOnCPU (const HitConstView &hv, uint32_t nhits, uint32_t maxNumberOfTuples) |
void | launchRiemannKernels (const HitConstView &hv, uint32_t nhits, uint32_t maxNumberOfTuples, cudaStream_t cudaStream) |
void | launchRiemannKernelsOnCPU (const HitConstView &hv, uint32_t nhits, uint32_t maxNumberOfTuples) |
void | setBField (double bField) |
~HelixFitOnGPU () | |
Private Attributes | |
float | bField_ |
const bool | fitNas4_ |
OutputSoAView | outputSoa_ |
TupleMultiplicity const * | tupleMultiplicity_ = nullptr |
Tuples const * | tuples_ = nullptr |
Static Private Attributes | |
static constexpr uint32_t | maxNumberOfConcurrentFits_ = riemannFit::maxNumberOfConcurrentFits |
Definition at line 44 of file HelixFitOnGPU.h.
using HelixFitOnGPU< TrackerTraits >::HitConstView = TrackingRecHitSoAConstView<TrackerTraits> |
Definition at line 49 of file HelixFitOnGPU.h.
using HelixFitOnGPU< TrackerTraits >::HitView = TrackingRecHitSoAView<TrackerTraits> |
Definition at line 48 of file HelixFitOnGPU.h.
using HelixFitOnGPU< TrackerTraits >::OutputSoAView = TrackSoAView<TrackerTraits> |
Definition at line 52 of file HelixFitOnGPU.h.
using HelixFitOnGPU< TrackerTraits >::TrackingRecHitSoAs = TrackingRecHitSoA<TrackerTraits> |
Definition at line 46 of file HelixFitOnGPU.h.
using HelixFitOnGPU< TrackerTraits >::TupleMultiplicity = caStructures::TupleMultiplicityT<TrackerTraits> |
Definition at line 54 of file HelixFitOnGPU.h.
using HelixFitOnGPU< TrackerTraits >::Tuples = typename TrackSoA<TrackerTraits>::HitContainer |
Definition at line 51 of file HelixFitOnGPU.h.
|
inlineexplicit |
Definition at line 56 of file HelixFitOnGPU.h.
|
inline |
Definition at line 57 of file HelixFitOnGPU.h.
References HelixFitOnGPU< TrackerTraits >::deallocateOnGPU().
void HelixFitOnGPU< TrackerTraits >::allocateOnGPU | ( | TupleMultiplicity const * | tupleMultiplicity, |
OutputSoAView & | helix_fit_results | ||
) |
Definition at line 5 of file HelixFitOnGPU.cc.
References cms::cuda::assert(), and tupleMultiplicity.
Referenced by CAHitNtupletGeneratorOnGPU< TrackerTraits >::makeTuples(), and CAHitNtupletGeneratorOnGPU< TrackerTraits >::makeTuplesAsync().
void HelixFitOnGPU< TrackerTraits >::deallocateOnGPU | ( | ) |
Definition at line 18 of file HelixFitOnGPU.cc.
Referenced by HelixFitOnGPU< TrackerTraits >::~HelixFitOnGPU().
void HelixFitOnGPU< TrackerTraits >::launchBrokenLineKernels | ( | const HitConstView & | hv, |
uint32_t | nhits, | ||
uint32_t | maxNumberOfTuples, | ||
cudaStream_t | cudaStream | ||
) |
void HelixFitOnGPU< TrackerTraits >::launchBrokenLineKernelsOnCPU | ( | const HitConstView & | hv, |
uint32_t | nhits, | ||
uint32_t | maxNumberOfTuples | ||
) |
Definition at line 4 of file BrokenLineFitOnGPU.cc.
References cms::cuda::assert(), mps_fire::i, HLT_IsoTrack_cff::offset, and mps_setup::stdout.
Referenced by CAHitNtupletGeneratorOnGPU< TrackerTraits >::makeTuples().
void HelixFitOnGPU< TrackerTraits >::launchRiemannKernels | ( | const HitConstView & | hv, |
uint32_t | nhits, | ||
uint32_t | maxNumberOfTuples, | ||
cudaStream_t | cudaStream | ||
) |
void HelixFitOnGPU< TrackerTraits >::launchRiemannKernelsOnCPU | ( | const HitConstView & | hv, |
uint32_t | nhits, | ||
uint32_t | maxNumberOfTuples | ||
) |
Definition at line 4 of file RiemannFitOnGPU.cc.
References cms::cuda::assert(), and HLT_IsoTrack_cff::offset.
Referenced by CAHitNtupletGeneratorOnGPU< TrackerTraits >::makeTuples().
|
inline |
Definition at line 59 of file HelixFitOnGPU.h.
References Calorimetry_cff::bField, and HelixFitOnGPU< TrackerTraits >::bField_.
|
private |
Definition at line 79 of file HelixFitOnGPU.h.
Referenced by HelixFitOnGPU< TrackerTraits >::setBField().
|
private |
Definition at line 81 of file HelixFitOnGPU.h.
|
staticprivate |
Definition at line 73 of file HelixFitOnGPU.h.
|
private |
Definition at line 78 of file HelixFitOnGPU.h.
|
private |
Definition at line 77 of file HelixFitOnGPU.h.
|
private |
Definition at line 76 of file HelixFitOnGPU.h.