本文整理汇总了Python中samples.specify函数的典型用法代码示例。如果您正苦于以下问题:Python specify函数的具体用法?Python specify怎么用?Python specify使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了specify函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: 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:aharel,项目名称:supy,代码行数:7,代码来源:muonLook.py
示例2: listOfSamples
def listOfSamples(self,params) :
from samples import specify
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
def dataDoubleMu() :
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", )
return out
def data() :
return dataDoubleMu()
eL = 3000 # 1/pb
#return data()
return (data() +\
specify(names = "tt_tauola_mg_2mu_skim", effectiveLumi = eL) +\
specify(names = "dyll_jets_mg_2mu_skim", effectiveLumi = eL) +\
specify(names = "w_jets_mg_2mu_skim", effectiveLumi = eL)
)
开发者ID:aharel,项目名称:supy,代码行数:31,代码来源:muonLook.py
示例3: listOfSamples
def listOfSamples(self) :
from samples import specify
return [ specify(name = "g_jets_mg_pt40_100", nFilesMax = 8, color = r.kGreen ),
specify(name = "g_jets_mg_pt100_200", nFilesMax = -1, color = r.kGreen ),
specify(name = "g_jets_mg_pt200", nFilesMax = -1, color = r.kGreen ),
specify(name = "z_inv_mg_skim", nFilesMax = -1, color = r.kMagenta ),
]
开发者ID:aharel,项目名称:supy,代码行数:7,代码来源:alphatEtaDependence.py
示例4: listOfSamples
def listOfSamples(self, params) :
from samples import specify
out = []
out += specify(names = "znunu_jets_mg_ht_50_100")
out += specify(names = "znunu_jets_mg_ht_100_200")
out += specify(names = "znunu_jets_mg_ht_200_inf")
return out
开发者ID:aharel,项目名称:supy,代码行数:7,代码来源:hadronicSkim.py
示例5: data
def data() :
jw = calculables.Other.jsonWeight("cert/Cert_160404-163869_7TeV_PromptReco_Collisions11_JSON.txt", acceptFutureRuns = False) #193/pb
out = []
out += specify(names = "SingleMu.Run2011A-PR-v2.Alex_1muskim" , weights = jw, overrideLumi = 12.27)
out += specify(names = "SingleMu.Run2011A-PR-v2.Robin1_1muskim", weights = jw, overrideLumi = 87.31)
out += specify(names = "SingleMu.Run2011A-PR-v2.Robin2_1muskim", weights = jw, overrideLumi = 79.34)
return out
开发者ID:elaird,项目名称:susycaf,代码行数:7,代码来源:muonLook1.py
示例6: dataDoubleMu
def dataDoubleMu() :
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", )
return out
开发者ID:aharel,项目名称:supy,代码行数:9,代码来源:muonLook.py
示例7: listOfSamples
def listOfSamples(self,pars) :
import ROOT as r
from samples import specify
return (specify(names = "tt_tauola_fj_mg", color = r.kRed,
#nFilesMax=1, nEventsMax=4100) +
effectiveLumi = pars["effectiveLumi"]) +
specify(names = "tt_tauola_fj_mg", color = r.kBlue, weights = "wQQbar") +
#specify(names = "tt_tauola_fj", color = r.kBlue,
# #nFilesMax=1, nEventsMax=4100)+
# effectiveLumi = pars["effectiveLumi"]) +
#specify( names = "w_jets_mg", effectiveLumi = 100, color = 28 ) +
[])
开发者ID:aharel,项目名称:supy,代码行数:12,代码来源:topAsymmKinfit.py
示例8: ttbar_py
def ttbar_py(eL = None) :
return (specify(names = "tt_tauola_fj", effectiveLumi = eL, color = r.kBlue, weights = ["wNonQQbar",'tw','nvr']) +
sum( [specify(names = "tt_tauola_fj", effectiveLumi = eL, color = color, weights = [ calculables.Top.wTopAsym(asym), 'tw','nvr' ] )
for asym,color in [(0.0,r.kOrange),
(-0.3,r.kGreen),(0.3,r.kRed),
#(-0.6,r.kYellow),(0.6,r.kYellow),
#(-0.5,r.kYellow),(0.5,r.kYellow),
#(-0.4,r.kYellow),(0.4,r.kYellow),
#(-0.2,r.kYellow),(0.2,r.kYellow),
#(-0.1,r.kYellow),(0.1,r.kYellow),
]], [])
)[: 0 if "QCD" in pars['tag'] else 2 if 'Wlv' in pars['tag'] else None]
开发者ID:aharel,项目名称:supy,代码行数:12,代码来源:topAsymm.py
示例9: 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 = "z_jets_mg_v12_skim", effectiveLumi = eL, color = r.kYellow-3) +
specify(names = wName, effectiveLumi = eL, color = 28 ) )
开发者ID:aharel,项目名称:supy,代码行数:13,代码来源:hadronicLook.py
示例10: listOfSamples
def listOfSamples(self,params) :
from samples import specify
out = []
#out += specify(names = "Photon.Run2011A-PromptReco-v4.AOD.Rob3_skim")
#out += specify(names = "Photon.Run2011A-PromptReco-v4.AOD.Rob4_skim")
#out += specify(names = "Photon.Run2011A-PromptReco-v4.AOD.Darren1_skim")
#out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Darren1")
#out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Darren2")
#out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Darren3")
out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Darren4")
out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Darren5")
out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Darren6")
return out
开发者ID:tatiana-m,项目名称:supy,代码行数:15,代码来源:triggerLook.py
示例11: listOfSamples
def listOfSamples(self,params) :
from samples import specify
data = [
specify(name = "Run2010B_J_skim", nFilesMax = -1, color = r.kBlack , markerStyle = 20),
specify(name = "Run2010A_JM_skim", nFilesMax = -1, color = r.kBlack , markerStyle = 20),
#specify(name = "Run2010A_JMT_skim", nFilesMax = -1, color = r.kBlack , markerStyle = 20),
]
outList = data
for i in range(len(outList)):
o = outList[i]
#if "2010" in o.name: continue
outList[i] = specify(name = o.name, color = o.color, markerStyle = o.markerStyle, nFilesMax = -1, nEventsMax = 50000)
return outList
开发者ID:elaird,项目名称:susycaf,代码行数:15,代码来源:tpLook.py
示例12: listOfSamples
def listOfSamples(self,params) :
return ( samples.specify( names = ['SingleMu.2011B-PR1.1b',
'SingleMu.2011B-PR1.1a',
'SingleMu.2011A-Oct.1',
'SingleMu.2011A-Aug.1',
'SingleMu.2011A-PR4.1',
'SingleMu.2011A-May.1'], weights = 'tw') +
samples.specify( names = ['qcd_py6fjmu_pt_15_20',
'qcd_py6fjmu_pt_20_30',
'qcd_py6fjmu_pt_30_50',
'qcd_py6fjmu_pt_50_80',
'qcd_py6fjmu_pt_80_120',
'qcd_py6fjmu_pt_120_150',
'qcd_py6fjmu_pt_150',
'w_jets_fj_mg',
'tt_tauola_fj_mg'
], weights = ['tw','nvr'] , effectiveLumi = 300))
开发者ID:aharel,项目名称:supy,代码行数:17,代码来源:triggerWeight.py
示例13: listOfSamples
def listOfSamples(self,params) :
from samples import specify
out = []
#out += specify(names = "Photon.Run2011A-05Aug2011-v1.AOD.job663")
#out += specify(names = "Photon.Run2011A-May10ReReco-v1.AOD.job662")
#out += specify(names = "Photon.Run2011A-PromptReco-v4.AOD.job664")
#out += specify(names = "Photon.Run2011A-PromptReco-v6.AOD.job667")
#out += specify(names = "Photon.Run2011B-PromptReco-v1.AOD.job668")
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", )
return out
开发者ID:aharel,项目名称:supy,代码行数:17,代码来源:triggerLook.py
示例14: listOfSamples
def listOfSamples(self,params) :
from samples import specify
def data() :
jw = calculables.Other.jsonWeight("cert/Cert_160404-163869_7TeV_PromptReco_Collisions11_JSON.txt", acceptFutureRuns = False) #193/pb
out = []
out += specify(names = "SingleMu.Run2011A-PR-v2.Alex_1muskim" , weights = jw, overrideLumi = 12.27)
out += specify(names = "SingleMu.Run2011A-PR-v2.Robin1_1muskim", weights = jw, overrideLumi = 87.31)
out += specify(names = "SingleMu.Run2011A-PR-v2.Robin2_1muskim", weights = jw, overrideLumi = 79.34)
return out
eL = 3000 # 1/pb
#return data()
return (data() +\
specify(names = "tt_tauola_mg_1muskim", effectiveLumi = eL) +\
specify(names = "dyll_jets_mg_1muskim", effectiveLumi = eL) +\
specify(names = "w_jets_mg_1muskim", effectiveLumi = eL)
)
开发者ID:elaird,项目名称:susycaf,代码行数:18,代码来源:muonLook1.py
示例15: listOfSamples
def listOfSamples(self,pars) :
from samples import specify
eL = pars["effectiveLumi"]
if type(pars["generator"]) is list :
suffixColor = zip(pars["generator"],[r.kBlack,r.kRed])
return sum([specify(names = "tt_tauola_fj_%s"%suf, effectiveLumi = eL, color = col) for suf,col in suffixColor],[])
sample = "tt_tauola_fj_%s"%pars["generator"]
asymms = [(r.kBlue, -0.3),
(r.kGreen, 0.0),
(r.kRed, 0.3)]
intrinsicR = -0.05 if pars['generator'] == "mg" else 0.0
return (
#specify( names = sample, effectiveLumi = 500, color = r.kBlack, weights = calculables.Gen.wNonQQbar()) +
#specify( names = sample, effectiveLumi = eL, color = r.kRed, weights = calculables.Gen.wQQbar()) +
sum([specify(names = sample, effectiveLumi = eL, color = col, weights = calculables.Top.wTopAsym(A,intrinsicR=intrinsicR)) for col,A in asymms],[]) +
[])
开发者ID:tatiana-m,项目名称:supy,代码行数:18,代码来源:topAsymmTemplates.py
示例16: listOfSamples
def listOfSamples(self,params) :
from samples import specify
return [
specify(name = "Run2010B_MJ_skim4", color = r.kBlack , markerStyle = 20),
specify(name = "Run2010B_MJ_skim3", color = r.kBlack , markerStyle = 20),
specify(name = "Run2010B_MJ_skim2", color = r.kBlack , markerStyle = 20),
specify(name = "Run2010B_MJ_skim", color = r.kBlack , markerStyle = 20),
specify(name = "Run2010B_J_skim2", color = r.kBlack , markerStyle = 20),
specify(name = "Run2010B_J_skim", color = r.kBlack , markerStyle = 20),
specify(name = "Run2010A_JM_skim", color = r.kBlack , markerStyle = 20),
specify(name = "Run2010A_JMT_skim", color = r.kBlack , markerStyle = 20)
]
开发者ID:aharel,项目名称:supy,代码行数:12,代码来源:prescales.py
示例17: listOfSamples
def listOfSamples(self,params) :
from samples import specify
outList =[
#specify(name = "qcd_py6_pt15", nFilesMax = 3, nEventsMax = -1, color = r.kBlue ),
specify(name = "qcd_py6_pt30", nFilesMax = 3, nEventsMax = -1, color = r.kBlue ),
#specify(name = "qcd_py6_pt80", nFilesMax = 3, nEventsMax = -1, color = r.kBlue ),
#specify(name = "qcd_py6_pt170", nFilesMax = 1, nEventsMax = 1000, color = r.kBlue ),
#specify(name = "qcd_py6_pt300", nFilesMax = 1, nEventsMax = 1000, color = r.kBlue ),
]
return outList
开发者ID:elaird,项目名称:susycaf,代码行数:10,代码来源:etaLook.py
示例18: listOfSamples
def listOfSamples(self,pars) :
import ROOT as r
eL = pars["effectiveLumi"]
if type(pars["generator"]) is list :
suffixColor = zip(pars["generator"],[r.kBlack,r.kRed])
return sum([samples.specify(names = "tt_tauola_fj%s"%suf, effectiveLumi = eL, color = col ) for suf,col in suffixColor],[])
#return sum([samples.specify(names = "tt_tauola_fj%s"%suf, effectiveLumi = eL, color = col, weights = "wQQbar" ) for suf,col in suffixColor],[])
#return sum([samples.specify(names = "tt_tauola_fj%s"%suf, effectiveLumi = eL, color = col, weights = ["wQQbar","TwoToTwo"] ) for suf,col in suffixColor],[])
sample = "tt_tauola_fj%s"%pars["generator"]
asymms = [(r.kBlue, -0.3),
(r.kGreen, 0.0),
(r.kRed, 0.3)]
R_sm = -0.05 if pars['generator'] == "mg" else 0.0
return (
#samples.specify( names = sample, effectiveLumi = 500, color = r.kBlack, weights = calculables.Gen.wNonQQbar()) +
#samples.specify( names = sample, effectiveLumi = eL, color = r.kRed, weights = calculables.Gen.wQQbar()) +
sum([samples.specify(names = sample, effectiveLumi = eL, color = col, weights = calculables.Top.wTopAsym(R,R_sm=R_sm)) for col,R in asymms],[]) +
[])
开发者ID:aharel,项目名称:supy,代码行数:20,代码来源:topAsymmTemplates.py
示例19: listOfSamples
def listOfSamples(self) :
from samples import specify
return [ #specify(name = "JetMET_skim", nFilesMax = 1, color = r.kBlack , markerStyle = 20),
##specify(name = "qcd_mg_ht_250_500_old", nFilesMax = 1, color = r.kBlue ),
##specify(name = "qcd_py_pt30", nFilesMax = 1, color = r.kBlue ),
#specify(name = "qcd_py_pt80", nFilesMax = 1, color = r.kBlue ),
#specify(name = "qcd_py_pt170", nFilesMax = 1, color = r.kBlue ),
#specify(name = "qcd_py_pt300", nFilesMax = 1, color = r.kBlue ),
##specify(name = "qcd_py_pt470", nFilesMax = 1, color = r.kBlue ),
##specify(name = "qcd_py_pt800", nFilesMax = 1, color = r.kBlue ),
##specify(name = "qcd_py_pt1400", nFilesMax = 1, color = r.kBlue ),
#specify(name = "tt_tauola_mg", nFilesMax = 1, color = r.kOrange ),
specify(name = "g_jets_mg_pt40_100", nFilesMax = 1, color = r.kGreen ),
specify(name = "g_jets_mg_pt100_200", nFilesMax = -1, color = r.kGreen ),
specify(name = "g_jets_mg_pt200", nFilesMax = -1, color = r.kGreen ),
specify(name = "z_inv_mg_skim", nFilesMax = -1, color = r.kMagenta ),
#specify(name = "z_jets_mg_skim", nFilesMax = 1, color = r.kYellow-3),
#specify(name = "w_jets_mg_skim", nFilesMax = 1, color = 28 ),
#specify(name = "lm0", nFilesMax = 1, color = r.kRed ),
#specify(name = "lm1", nFilesMax = 1, color = r.kRed+1 ),
]
开发者ID:aharel,项目名称:supy,代码行数:21,代码来源:photonSelection.py
示例20: dataEps
def dataEps() :
out = []
jw = calculables.Other.jsonWeight("cert/Cert_160404-167913_7TeV_PromptReco_Collisions11_JSON.txt") #1078/pb
out += specify(names = "HT.Run2011A-May10ReReco-v1.AOD.Bryn", weights = jw, overrideLumi = 183.0)
out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Bryn1", weights = jw, overrideLumi = 70.2)
out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Bryn2", weights = jw, overrideLumi = 101.3)
out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Bryn3", weights = jw, overrideLumi = 74.8)
out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Darren1", weights = jw, overrideLumi = 181.2)
out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Darren2", weights = jw, overrideLumi = 122.8)
out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Darren3", weights = jw, overrideLumi = 36.4)
out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Darren4", weights = jw, overrideLumi = 50.5)
out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Darren5", weights = jw, overrideLumi = 130.6)
out += specify(names = "HT.Run2011A-PromptReco-v4.AOD.Darren6", weights = jw, overrideLumi = 116.0)
#out += specify(names = "HT_skim")
#out += specify(names = "MT2_events")
#out += specify(names = "qcd_py6_375")
#out += specify(names = "calo_375")
return out
开发者ID:aharel,项目名称:supy,代码行数:21,代码来源:hadronicLook.py
注:本文中的samples.specify函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论