I dont know about PA, but in WI, according to the law it is perfectly legal to open carry, but LEO's wont allow you to do it anyways because it is a threat to the general public. I'm willing to bet it is the same in PA, and the actions taken by the police were normal protocol, and I doubt that it was done just because Obama was in town.