As a random example, is the transaction id:
Also the hash that was used as the "hash of things to sign" for the "signature generation" for this transaction?
No. The transaction id contains the signatures. But you are making the signatures at the same time, so it can't possibly be the hash that is being signed. How to redeem a basic Tx? describes the actual sighashing algorithm.