Employee was attempting to attach a cable to an RTD starter and could not fit his hard hat into the space, so removed hard hat and reached into the engine compartment. Employee hit his head on a bracket resulting in a laceration. Seven staples were required to close the laceration, released to resume work next shift.