本文整理汇总了Python中supy.samples.specify函数的典型用法代码示例。如果您正苦于以下问题:Python specify函数的具体用法?Python specify怎么用?Python specify使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了specify函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: w_binned
def w_binned() :
out = []
#out += specify(names = "wj_lv_mg_ht_0_250_other_reqs", nFilesMax = 1, nEventsMax = 20000, color = r.kRed)
out += specify(names = "wj_lv_mg_ht_250_300", color = r.kBlue)
out += specify(names = "wj_lv_mg_ht_300_400", color = r.kGreen)
out += specify(names = "wj_lv_mg_ht_400_inf", color = r.kCyan)
return out
开发者ID:elaird,项目名称:susycaf,代码行数:7,代码来源:smsPdfLook.py
示例2: z_binned
def z_binned() :
out = []
out += specify("zinv_mg_ht_50_100.job214")
out += specify("zinv_mg_ht_100_200.job234")
out += specify("zinv_mg_ht_200_400.job233")
out += specify("zinv_mg_ht_400_inf.job213")
return out
开发者ID:elaird,项目名称:susycaf,代码行数:7,代码来源:smsPdfLook.py
示例3: dataSingleMu
def dataSingleMu():
jw = calculables.other.jsonWeight("cert/Cert_160404-167151_7TeV_PromptReco_Collisions11_JSON.txt") # 869/pb
out = []
out += specify(names="SingleMu.Run2011A-PR-v4.FJ.Burt2_2mu_skim", weights=jw, overrideLumi=216.43)
out += specify(names="SingleMu.Run2011A-PR-v4.FJ.Burt_2mu_skim", weights=jw, overrideLumi=294.45)
out += specify(names="SingleMu.Run2011A-May10-v1.FJ.Burt_2mu_skim", weights=jw, overrideLumi=186.55)
return out
开发者ID:elaird,项目名称:susycaf,代码行数:7,代码来源:mumuLook.py
示例4: vv
def vv() :
out = []
out += specify("ww_py.job188")
out += specify("wz_py.job188")
out += specify("zz_py.job188")
out += specify("zinv_hbb_125_powheg.job342")
return out
开发者ID:elaird,项目名称:susycaf,代码行数:7,代码来源:smsPdfLook.py
示例5: data_52X
def data_52X() :
jw2012 = calculables.other.jsonWeight("cert/Cert_190456-196531_8TeV_PromptReco_Collisions12_JSON.txt")
out = []
out += specify(names = "HT.Run2012A-PromptReco-v1.AOD.job229", weights = jw2012, overrideLumi = 707.3810)
out += specify(names = "HTMHT.Run2012B-PromptReco-v1.AOD.job228", weights = jw2012, overrideLumi = 3354.0000)
out += specify(names = "HTMHT.Run2012B-PromptReco-v1.AOD.job238", weights = jw2012, overrideLumi = 923.7680)
return out
开发者ID:elaird,项目名称:susycaf,代码行数:8,代码来源:smsPdfLook.py
示例6: listOfSamples
def listOfSamples(self, params):
from supy.samples import specify
out = []
out += specify("Photon.Run2012A-PromptReco-v1.AOD.job171")
out += specify("SinglePhoton.Run2012B-PromptReco-v1.AOD.job171")
return out
开发者ID:elaird,项目名称:susycaf,代码行数:8,代码来源:triggerLook.py
示例7: listOfSamples
def listOfSamples(self, pars):
from supy.samples import specify
n = 1000
return (specify(names="dy_tt", nEventsMax=n) +
specify(names="dy_mt", nEventsMax=n) +
specify(names="dy_et", nEventsMax=n) +
specify(names="dy_em", nEventsMax=n) +
[]
)
开发者ID:elaird,项目名称:supy-tflat,代码行数:9,代码来源:look.py
示例8: listOfSamples
def listOfSamples(self,_) :
from supy.samples import specify
out = []
out += specify(names = "DoubleMu.Run2011A-05Aug2011-v1.AOD.job663_skim" )
out += specify(names = "DoubleMu.Run2011A-May10ReReco-v1.AOD.job662_skim")
out += specify(names = "DoubleMu.Run2011A-PromptReco-v4.AOD.job664_skim" )
out += specify(names = "DoubleMu.Run2011A-PromptReco-v6.AOD.job665_skim" )
out += specify(names = "DoubleMu.Run2011B-PromptReco-v1.AOD.job666_skim" )
return out
开发者ID:elaird,项目名称:susycaf,代码行数:9,代码来源:eventSkim.py
示例9: listOfSamples
def listOfSamples(self, pars):
from supy.samples import specify
w = calculables.GenWeight()
return (specify(names="BB_0_3", weights=w) +
specify(names="BB_3_7", weights=w) +
specify(names="BB_7_13", weights=w) +
specify(names="BB_13_21", weights=w) +
#specify(names="BB_21_1k", weights=w) +
[]
)
开发者ID:elaird,项目名称:supy-delphes,代码行数:11,代码来源:skim.py
示例10: listOfSamples
def listOfSamples(self, pars):
from supy.samples import specify
w = calculables.GenWeight()
return (#specify(names="QCD_c4_pu140_Pt_0p3_4") +
specify(names="H_0_3", weights=w, nFilesMax=5) +
specify(names="H_3_8", weights=w, nFilesMax=3) +
specify(names="H_8_15", weights=w, nFilesMax=5) +
specify(names="H_15_1k", weights=w, nFilesMax=5) +
[]
)
开发者ID:elaird,项目名称:supy-delphes,代码行数:12,代码来源:response.py
示例11: ewk
def ewk(eL, era = "") :
zName = ""
wName = ""
if era=="spring11" :
zName = "zinv_jets_mg"
wName = "w_jets_mg"
if era=="summer11" :
zName = "znunu_jets_mg_ht_200_inf_summer11_skim"
wName = "w_jets_mg_tauola_ht_300_inf_summer11"
return ( specify(names = zName, effectiveLumi = eL, color = r.kRed + 1) +
specify(names = wName, effectiveLumi = eL, color = 28 ) )
开发者ID:elaird,项目名称:susycaf,代码行数:12,代码来源:hadronicLookEps2.py
示例12: data2012
def data2012() :
out = []
#2012
jw2012 = calculables.other.jsonWeight("cert/Cert_190456-196531_8TeV_PromptReco_Collisions12_JSON.txt")
#out += specify(names = "HT.Run2012A-PromptReco-v1.AOD.job229", nFilesMax = 1, nEventsMax = 1000)
out += specify(names = "HT.Run2012A-PromptReco-v1.AOD.job229", weights = jw2012, overrideLumi = 707.3810)
out += specify(names = "HTMHT.Run2012B-PromptReco-v1.AOD.job228", weights = jw2012, overrideLumi = 3354.0000)
out += specify(names = "HTMHT.Run2012B-PromptReco-v1.AOD.job238", weights = jw2012, overrideLumi = 923.7680)
#out += specify(names = "JetHT.Run2012B-PromptReco-v1.AOD.job228", weights = jw2012, overrideLumi = 3388.0000)
#out += specify(names = "JetHT.Run2012B-PromptReco-v1.AOD.job238", weights = jw2012, overrideLumi = 923.7680)
return out
开发者ID:elaird,项目名称:susycaf,代码行数:13,代码来源:hadronicLook2011.py
示例13: listOfSamples
def listOfSamples(self, params) :
from supy.samples import specify
out = []
#out += specify(names = "DoubleMu.Run2011A-05Aug2011-v1.AOD.job663" )
#out += specify(names = "DoubleMu.Run2011A-May10ReReco-v1.AOD.job662")
#out += specify(names = "DoubleMu.Run2011A-PromptReco-v4.AOD.job664" )
#out += specify(names = "DoubleMu.Run2011A-PromptReco-v6.AOD.job665" )
#out += specify(names = "DoubleMu.Run2011B-PromptReco-v1.AOD.job666" )
out += specify(names = "dyll_jets_mg_summer11")
out += specify(names = "tt_jets_mg_tauola_summer11")
return out
开发者ID:elaird,项目名称:susycaf,代码行数:14,代码来源:mumuSkim.py
示例14: listOfSamples
def listOfSamples(self, pars):
from supy.samples import specify
w = calculables.GenWeight()
#n = 10000
return (#specify(names="H_0_3_c0_pu0", weights=w, color=r.kBlack, nEventsMax=n) +
#specify(names="H_0_3_c0_pu140", weights=w, color=r.kBlack, nEventsMax=n) +
#specify(names="H_0_3_c3_pu140", weights=w, color=r.kBlack, nEventsMax=n) +
#specify(names="H_0_3_c4_pu140", weights=w, color=r.kBlack, nEventsMax=n) +
##specify(names="BB_0_3", weights=w, color=r.kBlue, nEventsMax=n) +
##specify(names="BB_3_7", weights=w, color=r.kBlue, nEventsMax=n) +
##specify(names="BB_7_13", weights=w, color=r.kBlue, nEventsMax=n) +
##specify(names="BB_13_21", weights=w, color=r.kBlue, nEventsMax=n) +
###specify(names="BB_21_1k", weights=w, color=r.kBlue, effectiveLumi=2/fb) +
#specify(names="QCD_c4_pu140_Pt_0p3_4", nFilesMax=1) +
#specify(names="hh_bbtt_c0_pu0_20", color=r.kRed) +
#specify(names="hh_bbtt_c3_pu140", color=r.kRed) +
#specify(names="hh_bbtt_c4_pu140_10", color=r.kRed) +
#specify(names="hh_bbtt_c4_pu140_20", color=r.kRed) +
specify(names="hh_bbtt") +
#specify(names="H_0_3", weights=w, nFilesMax=5) +
#specify(names="H_3_8", weights=w, nFilesMax=3) +
#specify(names="H_8_15", weights=w, nFilesMax=5) +
#specify(names="H_15_1k", weights=w, nFilesMax=5) +
[]
)
开发者ID:elaird,项目名称:supy-delphes,代码行数:30,代码来源:deriveCorrections.py
示例15: listOfSamples
def listOfSamples(self, pars):
from supy.samples import specify
w = calculables.GenWeight()
return (specify(names="tt_25_1k", weights=w, color=r.kBlack, nFilesMax=1) +
#specify(names="tt_25_1k_skim", weights=w, color=r.kBlue, nFilesMax=1) +
[]
)
开发者ID:elaird,项目名称:supy-delphes,代码行数:7,代码来源:skimTest.py
示例16: listOfSamples
def listOfSamples(self, pars):
from supy.samples import specify
#w = supy.calculables.other.fixedValue("another", 1.0)
w = calculables.GenWeight()
rho0 = calculables.window("rho", max=80.)
rho1 = calculables.window("rho", min=90., max=100.)
rho2 = calculables.window("rho", min=110.)
n = 100000
return (#specify(names="tt_0_6_c0_pu0", weights=w, color=r.kBlack, nEventsMax=n) +
#specify(names="tt_0_6_c0_pu140", weights=w, color=r.kBlack, nEventsMax=n) +
#specify(names="tt_0_6_c3_pu140", weights=w, color=r.kBlack, nEventsMax=n) +
#specify(names="tt_0_6_c4_pu140", weights=w, color=r.kBlack, nEventsMax=n) +
specify(names="tt_0_6_pu0", weights=w, color=r.kBlack, nEventsMax=n) +
specify(names="tt_0_6_pu50", weights=w, color=r.kBlack, nEventsMax=n) +
specify(names="tt_0_6_pu140", weights=w, color=r.kBlack, nEventsMax=n) +
#specify(names="H_0_3_c0_pu0", weights=w, color=r.kBlack, nEventsMax=n) +
#specify(names="H_0_3_c0_pu140", weights=w, color=r.kBlack, nEventsMax=n) +
#specify(names="H_0_3_c3_pu140", weights=w, color=r.kBlack, nEventsMax=n) +
#specify(names="H_0_3_c4_pu140", weights=w, color=r.kBlack, nEventsMax=n) +
#specify(names="tt_0_6", weights=w, color=r.kBlack, nEventsMax=n) +
#specify(names="tt_6_11", weights=w, color=r.kBlack, nEventsMax=n) +
#specify(names="tt_11_17", weights=w, color=r.kBlack, effectiveLumi=20/fb) +
#specify(names="tt_17_25", weights=w, color=r.kBlack, effectiveLumi=20/fb) +
#specify(names="tt_25_1k", weights=w, color=r.kBlack, effectiveLumi=20/fb) +
#
##specify(names="BB_0_3", weights=w, color=r.kBlue, nEventsMax=n) +
##specify(names="BB_3_7", weights=w, color=r.kBlue, nEventsMax=n) +
##specify(names="BB_7_13", weights=w, color=r.kBlue, effectiveLumi=20/fb) +
##specify(names="BB_13_21", weights=w, color=r.kBlue, effectiveLumi=20/fb) +
###specify(names="BB_21_1k", weights=w, color=r.kBlue, effectiveLumi=2/fb) +
#
#specify(names="BBB_0_6", weights=w, color=r.kGreen, nEventsMax=n) +
#specify(names="BBB_6_13", weights=w, color=r.kGreen, effectiveLumi=200/fb) +
#specify(names="BBB_13_1k", weights=w, color=r.kGreen, effectiveLumi=200/fb) +
#specify(names="hh_bbtt", color=r.kRed, effectiveLumi=200/fb) +
#specify(names="hh_bbtt_c3_pu140", color=r.kRed, effectiveLumi=20000/fb) +
#specify(names="hh_bbtt_c4_pu140", color=r.kGreen, effectiveLumi=20000/fb) +
#specify(names="hh_bbtt_c4_pu140", weights=[rho0], color=r.kBlack, effectiveLumi=20000/fb) +
#specify(names="hh_bbtt_c4_pu140", weights=[rho1], color=r.kRed, effectiveLumi=20000/fb) +
#specify(names="hh_bbtt_c4_pu140", weights=[rho2], color=r.kBlue, effectiveLumi=20000/fb) +
[]
)
开发者ID:elaird,项目名称:supy-delphes,代码行数:47,代码来源:example.py
示例17: sms
def sms() :
out = []
#out += specify(names = "t2bb.job418")#, nFilesMax = 1, nEventsMax = 500)
out += specify(names = "t1tttt.job442")#, nFilesMax = 1, nEventsMax = 500)
#out += specify(names = "t1bbbb.job443", nFilesMax = 1, nEventsMax = 500)
#out += specify(names = "t1.job444", nFilesMax = 1, nEventsMax = 500)
#out += specify(names = "t2tt.job445")#, nFilesMax = 1, nEventsMax = 500)
#out += specify(names = "t2.job446", nFilesMax = 1, nEventsMax = 500)
return out
开发者ID:elaird,项目名称:susycaf,代码行数:9,代码来源:hadronicLook.py
示例18: sms
def sms() :
out = []
#out += specify(names = "t2bb.job418")#, nFilesMax = 1, nEventsMax = 500)
#out += specify(names = "t1tttt.job442")#, nFilesMax = 1, nEventsMax = 500)
#out += specify(names = "t1bbbbB.job443", nFilesMax = 1, nEventsMax = 500)
#out += specify(names = "t1.job444", nFilesMax = 1, nEventsMax = 500)
#out += specify(names = "t2tt.job445")#, nFilesMax = 1, nEventsMax = 500)
#out += specify(names = "t2.job446", nFilesMax = 1, nEventsMax = 500)
#out += specify(names = "t2bb_500_skim")
#out += specify(names = "T2bb")#, nFilesMax = 1, nEventsMax = 500)
#out += specify(names = "T1bbbb", nFilesMax = 1, nEventsMax = 200)
#out += specify(names = "T2bb_nnpdf_ct10")#, nFilesMax = 1, nEventsMax = 500)
out += specify(names = "T2cc_nnpdf_ct10_2J")#, nFilesMax = 1, nEventsMax = 20000)
out += specify(names = "T2cc_nnpdf_ct10")#, nFilesMax = 1, nEventsMax = 20000)
#out += specify(names = "T1bbbb_nnpdf_ct10")#, nFilesMax = 1, nEventsMax = 2000)
#out += specify(names = "T2bb_nnpdf")#, nFilesMax = 1, nEventsMax = 2000)
#out += specify(names = "T1bbbb_nnpdf")#, nFilesMax = 1, nEventsMax = 200)
#out += specify(names = "T2bw", nFilesMax = 1, nEventsMax = 20)
return out
开发者ID:elaird,项目名称:susycaf,代码行数:19,代码来源:smsPdfLook.py
示例19: dataDoubleMu
def dataDoubleMu():
out = []
out += specify(names="DoubleMu.Run2012A-13Jul2012-v1.AOD.job375", nFilesMax=1, nEventsMax=100)
# out += specify(names = "DoubleMu.Run2012A-recover-06Aug2012-v1.AOD.job389")
# out += specify(names = "DoubleMu.Run2012B-13Jul2012-v4.AOD.job408")
# out += specify(names = "DoubleMu.Run2012C-24Aug2012-v1.AOD.job401")
# out += specify(names = "DoubleMu.Run2012C-PromptReco-v2.AOD.job395")
# out += specify(names = "DoubleMu.Run2012D-PromptReco-v1.AOD.job508")
# out += specify(names = "DoubleMu.Run2012D-PromptReco-v1.AOD.job529")
return out
开发者ID:elaird,项目名称:susycaf,代码行数:10,代码来源:mumuLook.py
示例20: data_53X
def data_53X() :
jw2012 = calculables.other.jsonWeight("cert/Cert_190456-203002_8TeV_PromptReco_Collisions12_JSON.txt")
out = []
#out += specify(names = "HTMHT.Run2012B-13Jul2012-v1.AOD.job358", weights = jw2012)#, nFilesMax = 1, nEventsMax = 1000)
#out += specify(names = "HTMHT.Run2012C-24Aug2012-v1.AOD.job361", weights = jw2012)#, nFilesMax = 1, nEventsMax = 1000)
#out += specify(names = "HTMHT.Run2012C-PromptReco-v2.AOD.job360", weights = jw2012)#, nFilesMax = 1, nEventsMax = 1000)
#out += specify(names = "HT.Run2012A-13Jul2012-v1.AOD.job358", weights = jw2012)#, nFilesMax = 1, nEventsMax = 1000)
#out += specify(names = "HT.Run2012A-recover-06Aug2012-v1.AOD.job359", weights = jw2012)#, nFilesMax = 1, nEventsMax = 1000)
out += specify(names = "375_ge2b")
return out
开发者ID:elaird,项目名称:susycaf,代码行数:11,代码来源:smsPdfLook.py
注:本文中的supy.samples.specify函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论