Modifies cmpoints to add weight specified by leadWeight to CampaignMembers in allresponses that are associated to a Lead.
Map<Id, CampaignMember> allresponses,
Map<Id, Decimal> cmpoints)
- opId - Opportunity ID
- leadWeight - Weight attributed to CampaignMembers associated to a Lead
- allresponses - Map of CampaignMembers by their ID, a collection of CampaignMembers that are subject to being attributed weight to the Opportunity specified in opId
- cmpoints - Map from CampaignMember to attribution weighting points. The points are used to determine what fraction of the Opportunity's revenue it will be attributed