I've never seen that part transcribed with hammer ons. I've only ever seen it either with each note picked or with
slides. I prefer the sliding method myself, it sounds smoother to my ear.
I whipped up this little snippet here to demonstrate - my first ever recording I've posted online by the way.
I can tab that out for you if you're interested.