Skip to content

Commit 1d91a94

Browse files
authored
[ALICE3] Implement conditional saving of hit maps (#16552)
1 parent 40ac982 commit 1d91a94

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,11 @@ struct OnTheFlyTofPid {
307307
public:
308308
~TOFLayerEfficiency()
309309
{
310-
hHitMap->SaveAs(Form("/tmp/%s.png", hHitMap->GetName()));
311-
hHitMapInPixel->SaveAs(Form("/tmp/%s.png", hHitMapInPixel->GetName()));
312-
hHitMapInPixelBefore->SaveAs(Form("/tmp/%s.png", hHitMapInPixelBefore->GetName()));
310+
if (0) {
311+
hHitMap->SaveAs(Form("/tmp/%s.png", hHitMap->GetName()));
312+
hHitMapInPixel->SaveAs(Form("/tmp/%s.png", hHitMapInPixel->GetName()));
313+
hHitMapInPixelBefore->SaveAs(Form("/tmp/%s.png", hHitMapInPixelBefore->GetName()));
314+
}
313315

314316
delete axisZ;
315317
delete axisRPhi;

0 commit comments

Comments
 (0)