ATLAS Offline Software
Loading...
Searching...
No Matches
HLTCFTools Namespace Reference

Classes

class  NoHypoToolCreated

Functions

 algColor (alg)
 isHypoBase (alg)
 isInputMakerBase (alg)
 isFilterAlg (alg)
 isPassFilterAlg (alg)
 isComboHypoAlg (alg)
 isHypoAlg (alg)

Variables

 log = logging.getLogger( __name__ )
 RoRSeqFilter = CompFactory.RoRSeqFilter
 PassFilter = CompFactory.PassFilter

Function Documentation

◆ algColor()

HLTCFTools.algColor ( alg)
Set given color to Alg type

Definition at line 15 of file HLTCFTools.py.

15def algColor(alg):
16 """ Set given color to Alg type"""
17 if isComboHypoAlg(alg):
18 return "darkorange"
19 if isHypoBase(alg):
20 return "darkorchid1"
21 if isInputMakerBase(alg):
22 return "cyan3"
23 if isFilterAlg(alg):
24 return "chartreuse3"
25 if isPassFilterAlg(alg):
26 return "darkgreen"
27 return "cadetblue1"
28
29
30

◆ isComboHypoAlg()

HLTCFTools.isComboHypoAlg ( alg)

Definition at line 49 of file HLTCFTools.py.

49def isComboHypoAlg(alg):
50 return ('MultiplicitiesMap' in alg.__class__.__dict__)
51

◆ isFilterAlg()

HLTCFTools.isFilterAlg ( alg)

Definition at line 43 of file HLTCFTools.py.

43def isFilterAlg(alg):
44 return isinstance(alg, RoRSeqFilter)
45

◆ isHypoAlg()

HLTCFTools.isHypoAlg ( alg)

Definition at line 52 of file HLTCFTools.py.

52def isHypoAlg(alg):
53 return isHypoBase(alg) and not isComboHypoAlg(alg)
54

◆ isHypoBase()

HLTCFTools.isHypoBase ( alg)

Definition at line 31 of file HLTCFTools.py.

31def isHypoBase(alg):
32 if 'HypoInputDecisions' in alg.__class__.__dict__:
33 return True
34 prop = alg.__class__.__dict__.get('_properties')
35 if type(prop) is dict:
36 return ('HypoInputDecisions' in prop)
37 else:
38 return False
39

◆ isInputMakerBase()

HLTCFTools.isInputMakerBase ( alg)

Definition at line 40 of file HLTCFTools.py.

40def isInputMakerBase(alg):
41 return ('InputMakerInputDecisions' in alg.__class__.__dict__)
42

◆ isPassFilterAlg()

HLTCFTools.isPassFilterAlg ( alg)

Definition at line 46 of file HLTCFTools.py.

46def isPassFilterAlg(alg):
47 return isinstance(alg, PassFilter)
48

Variable Documentation

◆ log

HLTCFTools.log = logging.getLogger( __name__ )

Definition at line 4 of file HLTCFTools.py.

◆ PassFilter

HLTCFTools.PassFilter = CompFactory.PassFilter

Definition at line 8 of file HLTCFTools.py.

◆ RoRSeqFilter

HLTCFTools.RoRSeqFilter = CompFactory.RoRSeqFilter

Definition at line 7 of file HLTCFTools.py.