-// *** OLD CODE NOT TARED
-// for (UInt_t eq=0; eq<20; eq++) {
-// TString id = Form("SPD_ref_phys_%d",eq);
-// TList* list = GetFileSources(kDAQ,id.Data()); // (the id should be unique, so always 1 file)
-// if (list) {
-// TObjString* fileNameEntry = (TObjString*) list->First();
-// if (fileNameEntry!=NULL) {
-// nrEqForPhysN++;
-// TString fileName = GetFile(kDAQ, id, fileNameEntry->GetString().Data());
-// if (fileName.IsNull()) {
-// Log(Form("GetFile failed to retrieve file %s.",fileNameEntry->GetString().Data()));
-// return 1;
-// }
-// if (!RemoveIdFromList(id.Data())) {
-// Log(Form("Warning: Retrieved file with id %s, that was not in the id list!",id.Data()));
-// }
-// TString refCAT = Form("SPD_ref_phys_eq_%d",eq);
-// if (!StoreReferenceFile(fileName.Data(),refCAT.Data())) {
-// Log(Form("Failed to store reference file %s.",fileName.Data()));
-// return 1;
-// }
-// }
-// }
-// }
-// ***
-
-// *** OLD CODE NOT TARED
-// // Store the phys "dead" container files as reference data (0 or 1 file for each equipment)
-// for (UInt_t eq=0; eq<20; eq++) {
-// TString id = Form("SPD_ref_phys_dead_%d",eq);
-// TList* list = GetFileSources(kDAQ,id.Data()); // (the id should be unique, so always 1 file)
-// if (list) {
-// TObjString* fileNameEntry = (TObjString*) list->First();
-// if (fileNameEntry!=NULL) {
-// nrEqForPhysD++;
-// TString fileName = GetFile(kDAQ, id, fileNameEntry->GetString().Data());
-// if (fileName.IsNull()) {
-// Log(Form("GetFile failed to retrieve file %s.",fileNameEntry->GetString().Data()));
-// return 1;
-// }
-// if (!RemoveIdFromList(id.Data())) {
-// Log(Form("Warning: Retrieved file with id %s, that was not in the id list!",id.Data()));
-// }
-// TString refCAT = Form("SPD_ref_phys_dead_eq_%d",eq);
-// if (!StoreReferenceFile(fileName.Data(),refCAT.Data())) {
-// Log(Form("Failed to store reference file %s.",fileName.Data()));
-// return 1;
-// }
-// }
-// }
-// }
-// }
-// ***