A PMD typically consists of two main layers Veto Detector and Preshower Detector. Veto Detector layer is designed to reject charged particles. Photons pass through a converter in Preshower Detector layer, initiating an electromagnetic shower. The detector then measures the number of cells activated by the shower, providing information about the photon's energy and position.