本文整理匯總了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)