First version of TRB analysis adapted to NA61

Preliminary first version of TRB analysis for NA61 test experiment