Section 24(1)(b) in The Railway (Notices of and Inquiries Into Accidents) Rules, 1998
(b)in pursuance of a direction given under clause (c) of rule 17, the investigation shall be conducted by the Head of the Railway Police of the area in which the accident has occurred, or if that officer is unable to conduct the investigation himself, by an officer to be deputed by him.