@@ -112,10 +112,7 @@ void ITSFhrTask::initialize(o2::framework::InitContext& /*ctx*/)
112112 mDecoder ->setNThreads (mNThreads );
113113 mDecoder ->setUserDataOrigin (header::DataOrigin (" DS" )); // set user data origin in dpl
114114 mDecoder ->setUserDataDescription (header::DataDescription (" RAWDATA0" ));
115- mChipsBuffer .resize (mGeom ->getNumberOfChips ());
116-
117- mGeom ->fillMatrixCache (o2::math_utils::bit2Mask (o2::math_utils::TransformType::L2G ));
118- const math_utils::Point3D<float > loc (0 ., 0 ., 0 .);
115+ mChipsBuffer .resize (24120 );
119116
120117 if (mLayer != -1 ) {
121118 // define the hitnumber, occupancy, errorcount array
@@ -401,6 +398,7 @@ void ITSFhrTask::monitorData(o2::framework::ProcessingContext& ctx)
401398{
402399 if (ctx.services ().get <o2::framework::TimingInfo>().globalRunNumberChanged ) {
403400 mGeom = o2::its::GeometryTGeo::Instance ();
401+ mGeom ->fillMatrixCache (o2::math_utils::bit2Mask (o2::math_utils::TransformType::L2G ));
404402 }
405403 // set timer
406404 std::chrono::time_point<std::chrono::high_resolution_clock> start;
@@ -729,9 +727,6 @@ void ITSFhrTask::monitorData(o2::framework::ProcessingContext& ctx)
729727
730728void ITSFhrTask::getParameters ()
731729{
732- mLocalGeometryFile = o2::quality_control_modules::common::getFromConfig<int >(mCustomParameters , " isLocalGeometry" , mLocalGeometryFile );
733- mGeoTimestamp = o2::quality_control_modules::common::getFromConfig<string>(mCustomParameters , " geomstamp" , mGeoTimestamp );
734- mGeomPath = o2::quality_control_modules::common::getFromConfig<string>(mCustomParameters , " geomPath" , mGeomPath );
735730 mNThreads = o2::quality_control_modules::common::getFromConfig<int >(mCustomParameters , " decoderThreads" , mNThreads );
736731 mLayer = o2::quality_control_modules::common::getFromConfig<int >(mCustomParameters , " Layer" , mLayer );
737732 mHitCutForCheck = o2::quality_control_modules::common::getFromConfig<int >(mCustomParameters , " HitNumberCut" , mHitCutForCheck );
0 commit comments