diff --git a/ALICE3/Core/DelphesO2TrackSmearer.h b/ALICE3/Core/DelphesO2TrackSmearer.h index e334b0c38cd..ad16010ab2b 100644 --- a/ALICE3/Core/DelphesO2TrackSmearer.h +++ b/ALICE3/Core/DelphesO2TrackSmearer.h @@ -249,10 +249,10 @@ class TrackSmearer return "pion"; // Default: pion } } - void setdNdEta(float val) { mdNdEta = val; } //; - void setCcdbManager(o2::ccdb::BasicCCDBManager* mgr) { mCcdbManager = mgr; } //; - void setCleanupDownloadedFile(bool val) { mCleanupDownloadedFile = val; } //; - void setDownloadPath(const std::string& path) { mOutPath = "/tmp/LUTs/" + path; } //; + void setdNdEta(float val) { mdNdEta = val; } //; + void setCcdbManager(o2::ccdb::BasicCCDBManager* mgr) { mCcdbManager = mgr; } //; + void setCleanupDownloadedFile(bool val) { mCleanupDownloadedFile = val; } //; + void setDownloadPath(const std::string& path) { mOutPath = path; } //; protected: static constexpr unsigned int nLUTs = 9; // Number of LUT available @@ -266,8 +266,8 @@ class TrackSmearer private: o2::ccdb::BasicCCDBManager* mCcdbManager = nullptr; - bool mCleanupDownloadedFile = true; - std::string mOutPath = "/tmp/LUTs/"; + bool mCleanupDownloadedFile = true; // Flag to cleanup the LUT after it's used + std::string mOutPath = "./.ALICE3/LUTs/"; // Path where to download LUTs from CCDB }; } // namespace delphes diff --git a/ALICE3/TableProducer/OTF/onTheFlyRichPid.cxx b/ALICE3/TableProducer/OTF/onTheFlyRichPid.cxx index bfc0f497811..f849e28b740 100644 --- a/ALICE3/TableProducer/OTF/onTheFlyRichPid.cxx +++ b/ALICE3/TableProducer/OTF/onTheFlyRichPid.cxx @@ -301,7 +301,7 @@ struct OnTheFlyRichPid { mSmearer.emplace_back(std::make_unique()); mSmearer[icfg]->setCleanupDownloadedFile(cleanLutWhenLoaded.value); mSmearer[icfg]->setCcdbManager(ccdb.operator->()); - mSmearer[icfg]->setDownloadPath("RICHPID"); + mSmearer[icfg]->setDownloadPath("./.ALICE3/RICHPID/"); std::map globalConfiguration = mGeoContainer.getConfiguration(icfg, "global"); for (const auto& entry : globalConfiguration) { int pdg = 0; @@ -761,7 +761,6 @@ struct OnTheFlyRichPid { } for (const auto& track : tracks) { - auto fillDummyValues = [&](bool gasRich = false) { upgradeRich(kErrorValue, kErrorValue, kErrorValue, kErrorValue, kErrorValue, kErrorValue, kErrorValue, kErrorValue, kErrorValue); upgradeRichSignal(false, false, false, false, false, false, false, false, false, false, gasRich); diff --git a/ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx b/ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx index 4343865d839..d4b94be0410 100644 --- a/ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx +++ b/ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx @@ -160,7 +160,7 @@ struct OnTheFlyTofPid { mSmearer.emplace_back(std::make_unique()); mSmearer[icfg]->setCleanupDownloadedFile(cleanLutWhenLoaded.value); mSmearer[icfg]->setCcdbManager(ccdb.operator->()); - mSmearer[icfg]->setDownloadPath("TOFPID"); + mSmearer[icfg]->setDownloadPath("./.ALICE3/TOFPID/"); std::map globalConfiguration = mGeoContainer.getConfiguration(icfg, "global"); for (const auto& entry : globalConfiguration) { int pdg = 0; diff --git a/ALICE3/TableProducer/OTF/onTheFlyTracker.cxx b/ALICE3/TableProducer/OTF/onTheFlyTracker.cxx index e0c921f18f6..ae1055b86d5 100644 --- a/ALICE3/TableProducer/OTF/onTheFlyTracker.cxx +++ b/ALICE3/TableProducer/OTF/onTheFlyTracker.cxx @@ -320,7 +320,7 @@ struct OnTheFlyTracker { mSmearer.emplace_back(std::make_unique()); mSmearer[icfg]->setCleanupDownloadedFile(cleanLutWhenLoaded.value); mSmearer[icfg]->setCcdbManager(ccdb.operator->()); - mSmearer[icfg]->setDownloadPath("Tracker"); + mSmearer[icfg]->setDownloadPath("./.ALICE3/Tracker/"); std::map globalConfiguration = mGeoContainer.getConfiguration(icfg, "global"); if (enablePrimarySmearing) { // load LUTs for primaries