Skip to content
Snippets Groups Projects
Commit 2f0034d2 authored by Sergey Gorbunov's avatar Sergey Gorbunov
Browse files

L1: global tracking macro: load tof material map

parent c2e093df
No related branches found
No related tags found
1 merge request!965Trd2d momentum fit
...@@ -386,6 +386,14 @@ void run_reco_L1global(TString input = "", Int_t nTimeSlices = -1, Int_t firstTi ...@@ -386,6 +386,14 @@ void run_reco_L1global(TString input = "", Int_t nTimeSlices = -1, Int_t firstTi
l1->SetTrdMaterialBudgetFileName(parFile.Data()); l1->SetTrdMaterialBudgetFileName(parFile.Data());
} }
TString tofGeoTag;
if (geo->GetGeoTag(ECbmModuleId::kTof, tofGeoTag)) {
TString parFile = gSystem->Getenv("VMCWORKDIR");
parFile = parFile + "/parameters/tof/tof_matbudget_" + tofGeoTag + ".root ";
std::cout << "Using TOF material budget file " << parFile << std::endl;
l1->SetTofMaterialBudgetFileName(parFile.Data());
}
run->AddTask(l1); run->AddTask(l1);
std::cout << "-I- " << myName << ": Added task " << l1->GetName() << std::endl; std::cout << "-I- " << myName << ": Added task " << l1->GetName() << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment