From fe762d9052c8eb5ebf12f96c20bac978e648a638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Jacazio?= Date: Sun, 7 Jun 2026 12:09:41 +0200 Subject: [PATCH 1/2] Implement conditional saving of hit maps Added conditional saving of hit maps in destructor. --- ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx b/ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx index 59950f4a243..7c76c529bcf 100644 --- a/ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx +++ b/ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx @@ -307,10 +307,12 @@ struct OnTheFlyTofPid { public: ~TOFLayerEfficiency() { + if(0){ hHitMap->SaveAs(Form("/tmp/%s.png", hHitMap->GetName())); hHitMapInPixel->SaveAs(Form("/tmp/%s.png", hHitMapInPixel->GetName())); hHitMapInPixelBefore->SaveAs(Form("/tmp/%s.png", hHitMapInPixelBefore->GetName())); - + } + delete axisZ; delete axisRPhi; delete axisInPixelZ; From af4333401e43653834d62aa53f0f1af88fcfa61c Mon Sep 17 00:00:00 2001 From: ALICE Builder Date: Sun, 7 Jun 2026 12:10:49 +0200 Subject: [PATCH 2/2] Please consider the following formatting changes to #16552 (#16553) --- ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx b/ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx index 7c76c529bcf..13f70c2980c 100644 --- a/ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx +++ b/ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx @@ -307,12 +307,12 @@ struct OnTheFlyTofPid { public: ~TOFLayerEfficiency() { - if(0){ - hHitMap->SaveAs(Form("/tmp/%s.png", hHitMap->GetName())); - hHitMapInPixel->SaveAs(Form("/tmp/%s.png", hHitMapInPixel->GetName())); - hHitMapInPixelBefore->SaveAs(Form("/tmp/%s.png", hHitMapInPixelBefore->GetName())); + if (0) { + hHitMap->SaveAs(Form("/tmp/%s.png", hHitMap->GetName())); + hHitMapInPixel->SaveAs(Form("/tmp/%s.png", hHitMapInPixel->GetName())); + hHitMapInPixelBefore->SaveAs(Form("/tmp/%s.png", hHitMapInPixelBefore->GetName())); } - + delete axisZ; delete axisRPhi; delete axisInPixelZ;