Construct deltaphi(vertex position, jet momentum) distribution by randomly choosing deltaphi of +/- Gaus(1.57, 0.3) from one of the first four jets.
Choose randomly from all the jets, not just the first four.
Choose a jet using a pT-weighted probability distribution.
Choose pT-weighted and +/- Gaus(1.57, 0.4), throw two vertices, and plot deltaphi between the two constructed vertices.
Throw bs2ddist from Exp(0.01) for the two constructed vertices and calculate svdist2d.
Merge branch 'master' of github.com:jordantucker/cmssw-usercode
Throw bs2ddist from Exp(0.005) and only fill h_svpairdphi if svdist2d > 0.02.
For constructed vertices, plot individual phi and bs2ddist, and scatter plot svdist2d vs. dphi, bs2ddist0, bs2ddist1.
Plot vtx_phi in the range (-pi, pi).
Plot constructed vertex pair deltaphi and distance before and after space clearing.
Throw constructed vertex distance from our ttbarhadronic one-vertex bs2ddist distribution.
Throw space clearing from Erf(0.025, 0.005).
The range on Erf is (-1,1), so fix probability.
Choose space clearing using Erf(0.028, 0.005).
Merge branch 'master' of github.com:jordantucker/cmssw-usercode
Comment out additional input files for now.