Skip to content
Snippets Groups Projects

L1: mark the CbmL1 interface for the material budget files as obsolete

Merged Sergey Gorbunov requested to merge se.gorbunov/cbmroot:matbudgetCleanup1 into master
Files
2
+ 0
16
@@ -395,22 +395,6 @@ void run_reco(TString input = "", Int_t nTimeSlices = -1, Int_t firstTimeSlice =
// iterations. The same file should be used in ca::tools::WindowFinder class for hit search window estimation
//l1->SetInputConfigName(TString(gSystem->Getenv("VMCWORKDIR")) + "/reco/L1/L1Algo/L1ConfigExample.yaml");
// --- Material budget file names
TString mvdGeoTag;
if (geo->GetGeoTag(ECbmModuleId::kMvd, mvdGeoTag)) {
TString parFile = gSystem->Getenv("VMCWORKDIR");
parFile += "/parameters/mvd/mvd_matbudget_" + mvdGeoTag + ".root";
std::cout << "Using material budget file " << parFile << std::endl;
l1->SetMvdMaterialBudgetFileName(parFile.Data());
}
TString stsGeoTag;
if (geo->GetGeoTag(ECbmModuleId::kSts, stsGeoTag)) {
TString parFile = gSystem->Getenv("VMCWORKDIR");
parFile += "/parameters/sts/sts_matbudget_" + stsGeoTag + ".root";
std::cout << "Using material budget file " << parFile << std::endl;
l1->SetStsMaterialBudgetFileName(parFile.Data());
}
run->AddTask(l1);
std::cout << "-I- " << myName << ": Added task " << l1->GetName() << std::endl;
Loading