Skip to content

Commit b005b4c

Browse files
committed
Add missing T2L matrices filling, suppress unneeded aux. structures
1 parent 86f40de commit b005b4c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Detectors/GlobalTracking/include/GlobalTracking/MatchTPCITS.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,6 @@ class MatchTPCITS
658658
std::unique_ptr<o2::dataformats::FlatHisto2D_f> mHistoDTgl; ///< histo for VDrift calibration data
659659

660660
std::unique_ptr<TPCTransform> mTPCTransform; ///< TPC cluster transformation
661-
std::unique_ptr<o2::gpu::GPUParam> mTPCClusterParam; ///< TPC clusters error param
662661
std::unique_ptr<o2::gpu::GPUO2InterfaceRefit> mTPCRefitter; ///< TPC refitter used for TPC tracks refit during the reconstruction
663662

664663
o2::BunchFilling mBunchFilling;

Detectors/GlobalTracking/src/MatchTPCITS.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,12 +340,11 @@ void MatchTPCITS::init()
340340
}
341341

342342
// make sure T2GRot matrices are loaded into ITS geometry helper
343-
o2::its::GeometryTGeo::Instance()->fillMatrixCache(o2::math_utils::bit2Mask(o2::math_utils::TransformType::T2GRot));
343+
o2::its::GeometryTGeo::Instance()->fillMatrixCache(o2::math_utils::bit2Mask(o2::math_utils::TransformType::T2GRot) | o2::math_utils::bit2Mask(o2::math_utils::TransformType::T2L));
344344

345345
mSectEdgeMargin2 = mParams->crudeAbsDiffCut[o2::track::kY] * mParams->crudeAbsDiffCut[o2::track::kY]; ///< precalculated ^2
346346
std::unique_ptr<TPCTransform> fastTransform = (o2::tpc::TPCFastTransformHelperO2::instance()->create(0));
347347
mTPCTransform = std::move(fastTransform);
348-
mTPCClusterParam = std::make_unique<o2::gpu::GPUParam>();
349348

350349
if (mVDriftCalibOn) {
351350
float maxDTgl = std::min(0.02f, mParams->maxVDriftUncertainty) * mParams->maxTglForVDriftCalib;
@@ -397,7 +396,6 @@ void MatchTPCITS::updateTimeDependentParams()
397396
mTPCTimeEdgeTSafeMargin = z2TPCBin(mParams->safeMarginTPCTimeEdge);
398397

399398
mBz = o2::base::Propagator::Instance()->getNominalBz();
400-
mTPCClusterParam->SetDefaults(mBz); // TODO this may change
401399
mFieldON = std::abs(mBz) > 0.01;
402400

403401
mMinTPCTrackPtInv = (mFieldON && mParams->minTPCTrackR > 0) ? 1. / std::abs(mParams->minTPCTrackR * mBz * o2::constants::math::B2C) : 999.;

0 commit comments

Comments
 (0)