modify AutoMaticTopProducer for global tag function and runOnMC option

modify AutoMaticTopProducer for global tag function and runOnMC option