a laser diode having {HEAD ~ a beam} situated at one end of {TAIL ~ said third rail} 
a laser diode having { HEAD ~ a beam } situated at one end of { TAIL ~ said third rail }
OTH OTH OTH OTH HEAD HEAD HEAD HEAD HEAD HEAD OTH OTH OTH OTH OTH TAIL TAIL TAIL TAIL TAIL TAIL TAIL