Skip to content

Commit fe762d9

Browse files
authored
Implement conditional saving of hit maps
Added conditional saving of hit maps in destructor.
1 parent 40ac982 commit fe762d9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,10 +307,12 @@ struct OnTheFlyTofPid {
307307
public:
308308
~TOFLayerEfficiency()
309309
{
310+
if(0){
310311
hHitMap->SaveAs(Form("/tmp/%s.png", hHitMap->GetName()));
311312
hHitMapInPixel->SaveAs(Form("/tmp/%s.png", hHitMapInPixel->GetName()));
312313
hHitMapInPixelBefore->SaveAs(Form("/tmp/%s.png", hHitMapInPixelBefore->GetName()));
313-
314+
}
315+
314316
delete axisZ;
315317
delete axisRPhi;
316318
delete axisInPixelZ;

0 commit comments

Comments
 (0)