Skip to content
Snippets Groups Projects
Commit d98d11bd authored by Volker Friese's avatar Volker Friese
Browse files

Fix bug in run_reco.C, concerning proper settings for the MUCH hit finder. Refs #2112.

parent 5a61dfff
No related branches found
No related tags found
1 merge request!354Fix problems with event-based reconstruction. Refs #2112.
Pipeline #10066 passed
......@@ -290,7 +290,7 @@ void run_reco(TString input = "", Int_t nTimeSlices = -1, Int_t firstTimeSlice =
// --- Parameter file name
TString geoTag;
geo->GetGeoTag(ECbmModuleId::kMuch, geoTag);
Int_t muchFlag = (geoTag.Contains("mcbm") ? 0 : 1);
Int_t muchFlag = (geoTag.Contains("mcbm") ? 1 : 0);
TString parFile = gSystem->Getenv("VMCWORKDIR");
parFile += "/parameters/much/much_" + geoTag(0, 4) + "_digi_sector.root";
std::cout << "Using parameter file " << parFile << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment