log in to rendezvous
source setup
cd  hiroot/macros/hltsim/boson

run the generator:

./scripts/pythiaMaster.pl  (modified for 2 pt bins)

  loops ove pt bins,  produces output files (locally):
hiroot/macros/hltsim/boson/test_hrt103040s000.root
                           test_hrt104050s000.root
                                    
./scripts/runBosonMaster.pl    (modified for 2 pt bins)
   loops over these files, and puts output in:

Saving output to $HIROOT_BASEURL_OLD/hirootnew/ripedData/zZero/
                                energyScan/test_hrt14000_boson_4.root

where HIROOT_BASEURL_OLD  =  /rendezvous/people/hubert/scratch/

where scratch is a softlink to  scratch -> /phenix/home4/data/hubert/

2 files in 
/phenix/home4/data/hubert/hirootnew/ripedData/zZero/energyScan/ 

 test_hrt14000_boson_3.root  
 test_hrt14000_boson_4.root

root -l of these files shows 10 plots: 
     
root -l /phenix/home4/data/hubert/hirootnew/ripedData/zZero/energyScan/test_hrt14000_boson_3.root

root [1]  .ls 
TFile**         /phenix/home4/data/hubert/hirootnew/ripedData/zZero/energyScan/test_hrt14000_boson_3.root
 TFile*         /phenix/home4/data/hubert/hirootnew/ripedData/zZero/energyScan/test_hrt14000_boson_3.root
  KEY: TH2D     fBoson_phPtMass;1
  KEY: TH1D     fBoson_phPt;1
  KEY: TH2D     fLeptonsB_phPtAngle;1
  KEY: TH2D     fLeptonsB_phPtDphi;1
  KEY: TH2D     fLeptonsB_phPtPt;1
  KEY: TH1D     fSignal_phDPt;1
  KEY: TH2D     fSignal_phDetaDphi;1
  KEY: TH2D     fLeptonsB_phPtDeta;1
  KEY: TH2D     fLeptonsB_phPtAssy;1
  KEY: TH1D     fLeptonsB_phInvMass;1

root [1] fLeptonsB_phPtDphi->Draw() 


Now edit  ~/hiroot/hltsim.THIBosonDistribMod.cxx to make the y axis a little larger

in ~/hiroot, do make 

rerun the chain, and the plot shows: 

cms_plot_a.png