You really dont need interrupts to do this. It adds complexity and prevents you from doing useful things like Serial.print()
The correct names of the first two analog pins are A0 and A1. Use these names instead of the bare 0 and 1 where you assign those to the pulse pins.
The function tryISR() stores some data in P and T. By calling it twice for the two sensors, you don't have 2 copies of P and T.
Try learning about arrays. With 4 sensors in your future you are going to need them.