91 template <typename track_T>
95 return bzOnly ? propagateToX(track,
x, getBz(track.getXYZGlo()),
maxSnp,
maxStep,
matCorr,
tofInfo,
signCorr) : PropagateToXBxByBz(track,
x,
maxSnp,
maxStep,
matCorr,
tofInfo,
signCorr);
98 template <
typename track_T>
102 template <typename track_T>
108 o2::dataformats::DCA* dcaInfo =
nullptr, track::TrackLTIntegral*
tofInfo =
nullptr,
111 GPUd()
bool propagateToDCABxByBz(
const o2::dataformats::VertexBase& vtx,
o2::track::TrackParametrizationWithError<
value_type>& track,
113 o2::dataformats::DCA* dcaInfo =
nullptr, track::TrackLTIntegral*
tofInfo =
nullptr,
134 GPUd()
void setTGeoFallBackAllowed(
bool v) { mTGeoFallBackAllowed =
v; }
135 GPUd() bool isTGeoFallBackAllowed()
const {
return mTGeoFallBackAllowed; }
138 GPUd()
void setGPUField(
const o2::gpu::GPUTPCGMPolynomialField* field) { mGPUField = field; }
139 GPUd()
const o2::gpu::GPUTPCGMPolynomialField* getGPUField()
const {
return mGPUField; }
141 GPUd() bool hasMagFieldSet()
const {
return mField !=
nullptr; }
155 static int initFieldFromGRP(
const std::string grpFileName =
"",
bool verbose =
false);
173 static constexpr value_type Epsilon = 0.00001;
174 template <
typename T>
176 template <typename T>
179 const o2::field::MagFieldFast* mFieldFast =
nullptr;
180 o2::field::MagneticField* mField =
nullptr;
183 bool mTGeoFallBackAllowed = true;
185 const o2::gpu::GPUTPCGMPolynomialField* mGPUField =
nullptr;