@@ -64,8 +64,7 @@ bool TrackSmearer::loadTable(int pdg, const char* filename, bool forceReload)
6464 if (strncmp (filename, " ccdb:" , 5 ) == 0 ) { // Check if filename starts with "ccdb:"
6565 LOG (info) << " --- LUT file source identified as CCDB." ;
6666 std::string path = std::string (filename).substr (5 ); // Remove "ccdb:" prefix
67- const std::string outPath = " /tmp/LUTs/" ;
68- filename = Form (" %s/%s/snapshot.root" , outPath.c_str (), path.c_str ());
67+ filename = Form (" %s/%s/snapshot.root" , mOutPath .c_str (), path.c_str ());
6968 LOG (info) << " --- Local LUT filename will be: " << filename;
7069 std::ifstream checkFile (filename); // Check if file already exists
7170 if (!checkFile.is_open ()) { // File does not exist, retrieve from CCDB
@@ -74,7 +73,7 @@ bool TrackSmearer::loadTable(int pdg, const char* filename, bool forceReload)
7473 LOG (fatal) << " --- CCDB manager not set. Please set it before loading LUT from CCDB." ;
7574 }
7675 std::map<std::string, std::string> metadata;
77- mCcdbManager ->getCCDBAccessor ().retrieveBlob (path, outPath , metadata, 1 );
76+ mCcdbManager ->getCCDBAccessor ().retrieveBlob (path, mOutPath , metadata, 1 );
7877 // Add CCDB handling logic here if needed
7978 LOG (info) << " --- Now retrieving LUT file from CCDB to: " << filename;
8079 if (mCleanupDownloadedFile ) { // Clean up the downloaded file if needed
0 commit comments