ATLAS Offline Software
Functions | Variables
python.prefilter_clean Namespace Reference

Functions

def prefilter_clean (pf_string)
 

Variables

 logger
 

Function Documentation

◆ prefilter_clean()

def python.prefilter_clean.prefilter_clean (   pf_string)
calculate the parameters needed to generate a ConditonFilter config 
AlgTool starting from the prefilter substring if it appears in the 
chain dict

Definition at line 18 of file prefilter_clean.py.

18 def prefilter_clean(pf_string):
19  """calculate the parameters needed to generate a ConditonFilter config
20  AlgTool starting from the prefilter substring if it appears in the
21  chain dict"""
22 
23  assert pf_string.startswith('CLEAN'),\
24  'routing error, module %s: bad prefilter %s' % (__name__, pf_string)
25 
26  condargs = [('clean',{'val':getPrefilterCleaningString([pf_string])})]
27 
28  repcondarg = RepeatedConditionParams(tree_id=0,
29  tree_pid=0,
30  chainPartInd=-1,
31  condargs=condargs,
32  invert=False)
33 
34  repConditionMaker = make_repeatedCondCfgFromParams(repcondarg)
35 
36 
37  toolclass, name = toolfactory('ConditionFilterConfigTool')
38  vals = {'name' : name,
39  'conditionMakers': [repConditionMaker]}
40 
41  return toolclass(**vals)

Variable Documentation

◆ logger

python.prefilter_clean.logger

Definition at line 15 of file prefilter_clean.py.

python.prefilter_clean.prefilter_clean
def prefilter_clean(pf_string)
Definition: prefilter_clean.py:18
python.HLT.Jet.JetRecoCommon.getPrefilterCleaningString
def getPrefilterCleaningString(prefilters_list)
Definition: JetRecoCommon.py:284
python.make_repeatedCondConfigurer.make_repeatedCondCfgFromParams
def make_repeatedCondCfgFromParams(repcondarg)
Definition: make_repeatedCondConfigurer.py:44
python.FastReductionAlgToolFactory.toolfactory
toolfactory
Definition: FastReductionAlgToolFactory.py:106