A TPC in the context of heavy-ion collisions