Oh yes those are electric motors which set your light automatically. First check for a blown fuse, if that's ok. You see, each light has an adjustment motor in it. If you can get to it, you can remove it get it checked. That can be damage by the water. If water went in then it's possible that it's water damage. Best take it to an auto-electrical workshop that has experience in that.