1. automatic search global tag 2. toggle for data and MC in PatProducer 3. fix minor bug for cmssw area