Full MC History

Hello I am looking for examples of going back through the entire History of a Pixel Hit. Specifically I want to go from a PixelHit all the way back to the respective DepositedCharge. Also is there a better explanation of how to setup TRefs for the entire Object History? I am not sure how to get started I keep getting MissingReferenceError when trying to access certain Objects. Thanks!

As commented in the other thread, likely you need to call loadHistory() on your objects before traversing.