Code comes from https://github.com/mfasDa/legotrain_helpers and https://twiki.cern.ch/twiki/bin/viewauth/ALICE/AnalysisTrains#Local_train_test
-
Go to https://alimonitor.cern.ch/trains/ and choose the train you would like to test, i.e. PWGZZ/MCGen_pp/2351_20220326-2110
-
Download the configuration files of this train:
. downloadtraintest PWGZZ/MCGen_pp/2351_20220326-2110
- Generate the macros for launching the train in test mode:
. generatetraintest
- Run the train:
. runtraintest
-
Go to https://alimonitor.cern.ch/trains/ and choose a baseline train which is similar to the one you would like to test, i.e. PWGZZ/MCGen_pp/2351_20220326-2110
-
Download the configuration files of this train:
. downloadtraintest PWGZZ/MCGen_pp/2351_20220326-2110
-
Change the configuration file MLTrainDefinition.cfg with you task name and location. Please note that between
#Module.StartConfigand#Module.EndConfigyou should put your task customization as it is usual in ALICE wagons, if no customization is needed leave an empty line. -
Generate the macros for launching the train in test mode:
. generatetraintest
- If your task is not already embedded in AliPhysics, change the lego_train.C steering macro by including your task at the top and by compiling the source, i.e.
// analysis source to be compiled at runtime (if any)
gROOT->LoadMacro("AliAnalysisTaskMCPredictionsStrgVsMultVsZDC.cxx++g");
- Run the train:
. runtraintest