Run parameter
Added Much Hit Reconstruction part in the combined mCBM reconstruction macros. mcbm_reco_kronos.C and mcbm_reco.C does not contain event building therefore need to add the MUCH reconstruction part first in the RunManager.
mcbm_build_and_reco_kronos.C contain event building using CbmMcbm2019TimeWinEventBuilderTask. (but sts could not read event branch therefore disabled setting of event mode for sts ).
Added mcbm_event_reco.C macro which contain event building using CbmMcbm2018EventBuilder. (In this also sts could not read event branch therefore disabled setting of event mode for sts).
Vikas
Edit PAL: related to redmine issue refs #1827
Merge request reports
Activity
21 22 22 23 23 24 // ----- In- and output file names ------------------------------------ 24 TString inFile = Form("./data/unp_mcbm_%i.root", runId); 25 TString parFile = Form("./data/unp_mcbm_params_%i.root", runId); 25 TString inFile = Form("/lustre/cbm/users/ploizeau/mcbm2020/" 17 17 TString myName = "mcbm_reco"; // this macro's name for screen output 18 18 TString srcDir = gSystem->Getenv("VMCWORKDIR"); // top source directory 19 // TString srcDir1 = gSystem->Getenv("SLURM_INDEX"); // ------------------------------------------------------------------------ 19 // TString srcDir1 = gSystem->Getenv("SLURM_INDEX"); // ------------------------------------------------------------------------ 20 20 21 21 22 22 // ----- In- and output file names ------------------------------------ 23 23 TString inFile = Form("/lustre/cbm/users/ploizeau/mcbm2020/" 24 24 "unp_evt_data_7f229b3f_20201103/unp_mcbm_%i.root", 25 25 runId); 26 TString parFile = 26 TString parFileIn = 27 27 Form("/lustre/cbm/users/ploizeau/mcbm2020/unp_evt_data_7f229b3f_20201103/" 28 28 "unp_mcbm_params_%i.root", 29 29 runId); 30 TString geoFile = "./mcbm2020_reco.geo.root"; // Created by a simulation run The
mcbm2020_reco.geo.root
file is a copy of Albericatest.geo.root
with a more descriptive name. It is also used for the non-kronos version which is tested each night.Could you please revert this line, and in case you need an updated geo file including mMUCH simply overwrite the
mcbm2020_reco.geo.root
file?Edited by Pierre-Alain Loizeau
@p.-a.loizeau Ok, we thought that macro should run without modifying any line therefore hard-coded the input file which you created as a combined unpack file. For this need to apply your trick for the parIo parameters.
I have changed non kronos versions, but for kronos one used the full path of your input files. Is that Ok? Vikas
Yes, for the kronos version it is ok. Only the non-kronos version need generic relative paths.
I discussed with Florian and later we may make a single version with all paths in the input parameters + a wrapping macro with the hard-coded paths for kronos, but I preferred to keep this extra work for when we have a complete version.