@@ -47,7 +47,6 @@ ITSFhrTask::~ITSFhrTask()
4747 delete mGeneralNoisyPixel ;
4848 delete mDecoder ;
4949 delete mChipDataBuffer ;
50- delete mTFInfo ;
5150 delete mErrorPlots ;
5251 delete mErrorVsFeeid ;
5352 delete mChipStaveOccupancy ;
@@ -270,9 +269,6 @@ void ITSFhrTask::createGeneralPlots()
270269
271270 createErrorTriggerPlots ();
272271
273- mTFInfo = new TH1F (" General/TFInfo" , " TF vs count" , 15000 , 0 , 15000 );
274- getObjectsManager ()->startPublishing (mTFInfo ); // mTFInfo
275-
276272 mErrorVsFeeid = new TH2I (" General/ErrorVsFeeid" , " Error count vs Error id and Fee id" , (3 * StaveBoundary[3 ]) + (2 * (StaveBoundary[7 ] - StaveBoundary[3 ])), 0 , (3 * StaveBoundary[3 ]) + (2 * (StaveBoundary[7 ] - StaveBoundary[3 ])), o2::itsmft::GBTLinkDecodingStat::NErrorsDefined, 0.5 , o2::itsmft::GBTLinkDecodingStat::NErrorsDefined + 0.5 );
277273 mErrorVsFeeid ->SetMinimum (0 );
278274 mErrorVsFeeid ->SetStats (0 );
@@ -371,9 +367,6 @@ void ITSFhrTask::setPlotsFormat()
371367 if (mErrorPlots ) {
372368 setAxisTitle (mErrorPlots , " Error ID" , " Counts" );
373369 }
374- if (mTFInfo ) {
375- setAxisTitle (mTFInfo , " TF ID" , " Counts" );
376- }
377370 if (mErrorVsFeeid ) {
378371 setAxisTitle (mErrorVsFeeid , " FeeID" , " Error ID" );
379372 }
@@ -426,17 +419,6 @@ void ITSFhrTask::monitorData(o2::framework::ProcessingContext& ctx)
426419 std::chrono::time_point<std::chrono::high_resolution_clock> end;
427420 int difference;
428421 start = std::chrono::high_resolution_clock::now ();
429- // get TF id by dataorigin and datadescription
430- const InputSpec TFIdFilter{ " " , ConcreteDataTypeMatcher{ " DS" , " RAWDATA1" }, Lifetime::Timeframe }; // after Data Sampling the dataorigin will become to "DS" and the datadescription will become to "RAWDATAX"
431- if (!mGetTFFromBinding ) {
432- for (auto & input : ctx.inputs ()) {
433- if (DataRefUtils::match (input, TFIdFilter)) {
434- mTimeFrameId = (unsigned int )*input.payload ;
435- }
436- }
437- } else {
438- mTimeFrameId = ctx.inputs ().get <int >(" G" );
439- }
440422
441423 // set Decoder
442424 mDecoder ->startNewTF (ctx.inputs ());
@@ -750,11 +732,6 @@ void ITSFhrTask::monitorData(o2::framework::ProcessingContext& ctx)
750732 }
751733 delete[] occupancyPlotTmp;
752734
753- // temporarily reverting to get TFId by querying binding
754- // mTimeFrameId = ctx.inputs().get<int>("G");
755- // Timer LOG
756- mTFInfo ->Fill (mTimeFrameId );
757-
758735 end = std::chrono::high_resolution_clock::now ();
759736 difference = std::chrono::duration_cast<std::chrono::microseconds>(end - start).count ();
760737
@@ -770,7 +747,6 @@ void ITSFhrTask::getParameters()
770747 mNThreads = o2::quality_control_modules::common::getFromConfig<int >(mCustomParameters , " decoderThreads" , mNThreads );
771748 mLayer = o2::quality_control_modules::common::getFromConfig<int >(mCustomParameters , " Layer" , mLayer );
772749 mHitCutForCheck = o2::quality_control_modules::common::getFromConfig<int >(mCustomParameters , " HitNumberCut" , mHitCutForCheck );
773- mGetTFFromBinding = o2::quality_control_modules::common::getFromConfig<int >(mCustomParameters , " GetTFFromBinding" , mGetTFFromBinding );
774750 mHitCutForNoisyPixel = o2::quality_control_modules::common::getFromConfig<int >(mCustomParameters , " HitNumberCutForNoisyPixel" , mHitCutForNoisyPixel );
775751 mOccupancyCutForNoisyPixel = o2::quality_control_modules::common::getFromConfig<float >(mCustomParameters , " OccupancyNumberCutForNoisyPixel" , mOccupancyCutForNoisyPixel );
776752 mMaxGeneralAxisRange = o2::quality_control_modules::common::getFromConfig<float >(mCustomParameters , " MaxGeneralAxisRange" , mMaxGeneralAxisRange );
@@ -798,7 +774,6 @@ void ITSFhrTask::endOfActivity(Activity& /*activity*/)
798774
799775void ITSFhrTask::resetGeneralPlots ()
800776{
801- resetObject (mTFInfo );
802777 resetObject (mErrorPlots );
803778 resetObject (mErrorVsFeeid );
804779}
@@ -807,7 +782,6 @@ void ITSFhrTask::resetOccupancyPlots()
807782{
808783 memset (mHitNumberOfChip , 0 , sizeof (mHitNumberOfChip ));
809784 memset (mErrors , 0 , sizeof (mErrors ));
810- mTimeFrameId = 0 ;
811785 mChipStaveOccupancy ->Reset ();
812786 mChipStaveEventHitCheck ->Reset ();
813787 mOccupancyPlot ->Reset ();
0 commit comments