本文整理汇总了Python中PhysConf.Filters.LoKi_Filters.reverse方法的典型用法代码示例。如果您正苦于以下问题:Python LoKi_Filters.reverse方法的具体用法?Python LoKi_Filters.reverse怎么用?Python LoKi_Filters.reverse使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PhysConf.Filters.LoKi_Filters
的用法示例。
在下文中一共展示了LoKi_Filters.reverse方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: LoKi_Filters
# 需要导入模块: from PhysConf.Filters import LoKi_Filters [as 别名]
# 或者: from PhysConf.Filters.LoKi_Filters import reverse [as 别名]
## SelectionSequences = [ charmEW ]
SelectionSequences=[s_cW]
)
# Read only fired events to speed up
from PhysConf.Filters import LoKi_Filters
fltrs = LoKi_Filters(
STRIP_Code=" HLT_PASS_RE('Stripping.*(D0|Dh|D2|Ds|Lc|Lambdac)*.*') "
# , VOID_Code = " SKIP ( 50 ) "
)
the_year = "2011"
## the_year = "2012"
fltrs = fltrs.filters('Filters')
fltrs.reverse()
from Configurables import DaVinci
dv = DaVinci(
EventPreFilters=fltrs,
InputType='DST',
DataType=the_year,
EvtMax=-1,
Lumi=True,
HistogramFile="DVHistos.root",
#
PrintFreq=50000
)
#
from Configurables import CondDB
CondDB(LatestGlobalTagByDataType=the_year)