Inclusive Z and W Modelling

As a first basic check of our background modelling, alpgen cross sections, whether I have made a massive mistake, etc., I look at inclusive Z’s and W’s in the CMUP (CMUP-CMUP in the case of Z’s) sample.  I do not have the QCD contribution included, but it should be negligible for the muons.  I also do not have dibosons, but their cross section is small.  I expect agreement in the ~5% range.  Instead I see the following,

For W’s with the selection pT(CMUP)>20 GeV + MET(L5)>20 GeV : n(BG)= 238974, n(data)=425875.  Below is the corresponding transverse mass plot.
Inclusive W transverse mass

We are clearly missing a lot.

For Z’s with the selection 2 CMUP with pT>20 GeV: n(BG)=4011 and n(Data)=6224.  Below is the dimuon invariant mass,

Z dimuon invariant mass

I checked the njet distribution and the slope of the background and data are similar, but the data is high everywhere.  After some investigations, I see that I may not be selecting the primary vertex correctly and also that I am not saving all the PV information in my ntuple that I should be (quite stupid of me actually).  The next thing I need to do is reprocess all the ntuples to put this stuff in there.  I am beginning this job now.

–Dan