TriggerWeightProducer: new version taking histograms as input