Now I have to use ~~~cpp #include "/home/bdrum/apps/alice/sw/ubuntu1804_x86-64/AliRoot/v5-09-53-1/ANALYSIS/macros/AddTaskPIDResponse.C" ~~~ in order to run analysis in grid. The problem looks like compilation instead of just interpreter runnig...