当前位置: 首页>>代码示例>>Python>>正文


Python samples.specify函数代码示例

本文整理汇总了Python中supy.samples.specify函数的典型用法代码示例。如果您正苦于以下问题:Python specify函数的具体用法?Python specify怎么用?Python specify使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了specify函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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


注:本文中的supy.samples.specify函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。