Code for Z'->ttbar all-hadronic analysis