Redirecting root output

root [4] t->Scan("pt_1") ; >scan.logThis syntax no longer work in ROOT v6 (the ‘grammar’ was not regular enough)
Instead you can do: root [] .> scan.log root [] t->Scan("pt_1"); root [] .>

Cheers,
Philippe.