Well, I do believe my own mother did this a few times. Now, I'm a grown up and I
looooove her SO much! We are terribly close.
Now I've never hit (so far) but I have had to remove my DSS from my DSD because there have been two incidences where he's become angry and acted out physically by jumping on her and hitting her. I had to intervene and pick him up physically from her and sit him down on the sofa to recover and calm down.
I really - gosh - I can't say this enough - don't think you are a bad person. Yes, sure, adults are adults and children are children, but we're all human and we have to be able to fogive ourselves as well as ask frogiveness from others. Not doing so is going to cause more harm than good. As with any lesson, now is the time to learn a different way of doing things. As long as you learn, you grow. As long as you grow, all is, in the greater scheme of things, progressing well

Your daughter will be okay. Your relationship will be a-okay. You are not a murderess!
*HUGE hugs* XXXXX