コード例 #1
0
             'AK7 <m_{jet}> Versus #eta_{max};<m_{jet}> (GeV);#eta_{max}(radians)',
             nx=30, x1=0., x2=300., ny=5, y1=0.0, y2=2.5)



# GENERATED Mjj and <Mjet> versus |eta_max|. only for MC.
hists.book2F('histAK7MjjGenVsEtaMax',
             'AK7 m_{jj}^{GEN} Versus #eta_{max};m_{jj}^{GEN} (GeV);#eta_{max}(radians)',
             nx=70, x1=0., x2=7000., ny=5, y1=0.0, y2=2.5)
hists.book2F('histAK7MjetGenVsEtaMax',
             'AK7 m_{jet}^{GEN} Versus #eta_{max};m_{jj}^{GEN} (GeV);#eta_{max}(radians)',
             nx=30, x1=0., x2=300., ny=5, y1=0.0, y2=2.5)


# Mjj and <Mjet> versus GENERATED Mjj and <Mjet>. Only for MC. 
hists.book3F('histAK7MjjGenVsRecoVsEtaMax', 'AK7 m_{jj} Response Matrix;m_{jj}^{GEN} (GeV);m_{jj}^{RECO} (GeV);#eta_{max} (radians)',
              nx=70, x1=0., x2=7000., ny=70, y1=0., y2=7000., nz=5, z1=0., z2=2.5)
hists.book3F('histAK7MjetGenVsRecoVsEtaMax', 'AK7 <m_{jet}> Response Matrix ;<m_{jet}>^{GEN} (GeV);<m_{jet}>^{RECO} (GeV);#eta_{max} (radians)',
              nx=30, x1=0., x2=300., ny=60, y1=0., y2=300., nz=5, z1=0., z2=2.5)

# Mjj and <Mjet> versus GENERATED Mjj and <Mjet>. Only for MC. 
hists.book3F('histAK7MjjResponseVsEtaMax', 'AK7 m_{jj} Response;m_{jj} (GeV);#eta_{max}(radians)',
             nx=70, x1=0., x2=7000., ny=80, y1=0.8, y2=1.2, nz=5, z1=0.0, z2=2.5)
hists.book3F('histAK7MjetResponseVsEtaMax', 'AK7 <m_{jet}> Versus #eta_{max};<m_{jet}> (GeV);#eta_{max}(radians)',
             nx=30, x1=0., x2=300., ny=20, y1=0.0, y2=2.0, nz=5, z1=0.0, z2=2.5)


############## Versus PtAvg ##############

ptBins = array('d', [0., 50., 125., 150., 220., 300., 450., 500., 600., 800., 1000., 1500., 7000.])
    
# Mjj and <Mjet> versus ptAvg. Either data or MC. #