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


Python PSet.DirName方法代码示例

本文整理汇总了Python中icf.core.PSet.DirName方法的典型用法代码示例。如果您正苦于以下问题:Python PSet.DirName方法的具体用法?Python PSet.DirName怎么用?Python PSet.DirName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在icf.core.PSet的用法示例。


在下文中一共展示了PSet.DirName方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: PSet

# 需要导入模块: from icf.core import PSet [as 别名]
# 或者: from icf.core.PSet import DirName [as 别名]
pset = PSet(
DirName      = "275_infGev",
MinObjects   = 1,
MaxObjects   = 2,
StandardPlots     = True,
)

Npset = PSet(
DirName      = "n275_infGev",
MinObjects   = 1,
MaxObjects   = 2,
StandardPlots     = True,
)

pset2 = deepcopy(pset)
pset2.DirName = "275_375Gev"

Npset2 = deepcopy(Npset)
Npset2.DirName = "n275_375Gev"

pset3 = deepcopy(pset)
pset3.DirName = "375GeVafterDeadEcal"
Npset3 = deepcopy(Npset)
Npset3.DirName = "n375GeVafterDeadEcal"

pset4 = deepcopy(pset)
pset4.DirName = "allCuts"
Npset4 = deepcopy(Npset)
Npset4.DirName = "nAllCuts"
# Define a crap load more plotting ops, for HT exclusive bins
Plot_275_325_Fail_pset = deepcopy(genericPSet)
开发者ID:bluejelibaby,项目名称:AnalysisV2,代码行数:33,代码来源:checkNumbersInAlphaTSlice.py

示例2: PSet

# 需要导入模块: from icf.core import PSet [as 别名]
# 或者: from icf.core.PSet import DirName [as 别名]
pset = PSet(
DirName      = "250_infGev",
MinObjects   = 1,
MaxObjects   = 2,
StandardPlots     = True,
)

Npset = PSet(
DirName      = "n250_infGev",
MinObjects   = 3,
MaxObjects   = 15,
StandardPlots     = True,
)

pset2 = deepcopy(pset)
pset2.DirName = "250_350Gev"

Npset2 = deepcopy(Npset)
Npset2.DirName = "n250_350Gev"

pset3 = deepcopy(pset)
pset3.DirName = "350GeVafterDeadEcal"
Npset3 = deepcopy(Npset)
Npset3.DirName = "n350GeVafterDeadEcal"

pset4 = deepcopy(pset)
pset4.DirName = "allCuts"
Npset4 = deepcopy(Npset)
Npset4.DirName = "nAllCuts"

HTplot = WeeklyUpdatePlots(pset.ps())
开发者ID:CMSRA1,项目名称:bryn,代码行数:33,代码来源:batchGolden.py


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