00678 {
00679
00680 //do the beam weighting00681 beamweight=GetBeamWeight(det,Ibeam,tptype,pt,pz,true_enu,inu,rp);
00682 //do the detector weighting00683 detweight=GetDetWeight(ccnc,true_enu,inu,
00684 reco_emu,reco_eshw,new_reco_emu,new_reco_eshw,true_eshw,ei);
00685
00686 //return just the beam weight, as this is what 00687 //most people will want00688 //the value of the detweight is passed by reference00689 //do not use the new values of new_reco_emu and new_reco_eshw00690 //in the case of beam weighting only!!!!!00691 return beamweight;
00692
00693 }