Skip to content
Snippets Groups Projects
Commit f68385ae authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau
Browse files

Fixes to mCBM 2022 event and reco macros for digievent L1 support

parent 9c8f9fa7
No related branches found
No related tags found
1 merge request!1090Enable mCBM 2022 real data L1 reco for CI
......@@ -480,7 +480,10 @@ Bool_t mcbm_event(std::string infile,
evBuildRaw->ChangeMuchBeamtimeDigiFlag();
// Enable DigiEvent output if requested
if (bDigiEvtsOutput) evBuildRaw->SetDigiEventOutput();
if (bDigiEvtsOutput) {
evBuildRaw->SetDigiEventOutput();
evBuildRaw->SetDigiEventExclusiveTrdExtraction();
}
evBuildRaw->SetOutFilename(histosfilename);
// evBuildRaw->SetOutputBranchPersistent("CbmEvent", kFALSE);
......
......@@ -544,13 +544,15 @@ Bool_t mcbm_reco(UInt_t uRunId = 2391,
TString tofGeoTag;
if (geoSetup->GetGeoTag(ECbmModuleId::kTof, tofGeoTag)) {
TString parFile = gSystem->Getenv("VMCWORKDIR");
parFile = parFile + "/parameters/tof/tof_matbudget_" + tofGeoTag + ".root ";
// parFile = parFile + "/parameters/tof/tof_matbudget_v21d_mcbm.root";
std::cout << "Using material budget file " << parFile << std::endl;
//parFile = parFile + "/parameters/tof/tof_matbudget_" + tofGeoTag + ".root ";";
//std::cout << "Using material budget file " << parFile << std::endl;
// FIXME
parFile = parFile + "/parameters/tof/tof_matbudget_v21d_mcbm.root";
std::cout << "FIXME: Using material budget file tof_matbudget_v21d_mcbm as right one not in repo!!!" << std::endl;
l1->SetTofMaterialBudgetFileName(parFile.Data());
}
/// PAL, 08/02/2023: Is the following comment still valid with the current master?
// Workaround to get it running:
// 1) Change fUseGlobal in line 129 of CbmStsParSetModule.h to
// Bool_t fUseGlobal = kTRUE;
......
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