My guess is that this is a "healing ceremony" or the like where the pastor "heals" afflictions on people by praying over them then knocking them in the head with a "Satan be gone" yell or something similar.