diff --git a/PWGLF/TableProducer/Common/mcCentrality.cxx b/PWGLF/TableProducer/Common/mcCentrality.cxx index a55ac09ef44..3e017c5808b 100644 --- a/PWGLF/TableProducer/Common/mcCentrality.cxx +++ b/PWGLF/TableProducer/Common/mcCentrality.cxx @@ -144,7 +144,6 @@ struct McCentrality { LOG(fatal) << "Could not open histogram " << name << " from TList"; } } - hist->SetDirectory(0); return hist; }; if (fillFt0M) {