In the cross section of brain in the below pic, the tracts have been labeled, which of them are concerned with pain and temperature.
Pain and temperature are carried by the spinothalamic tract (STT) towards the VPL (ventro-postero-lateral) nucleus of thalamus.

Pain is carried by the lateral STT whereas anterior STT carries the crude touch sensations.
Spinothalamic tracts carry sensations contra-laterally hence the area of sensation loss is to the opposite side of the lesion (Brown-Séquard syndrome).
Spinocerebellar tracts carry the unconscious proprioception, mainly from the lower limbs, towards the cerebellum and from the mossy fibers. They contribute archi-cerebellar fibers to the cerebellum.
Dorsal spinocerebellar fibers carry the information ipsilaterally and enter the inferior cerebellar peduncle to reach the cerebellum.
Ventral spinocerebellar tract carries the information contra-laterally and enters the cerebellum via superior cerebellar peducle.
Unconscious proprioception of upper limb is carried by the cuneocerebellar tract.
Conscious proprioception is carried by the dorsal columns (Fasciculus gracilis and cuneatus).
Pyramidal tract is a motor tract and is concerned with control of fine and skilled voluntary motor activity.
B
C
A
S and T of C