ATLAS Offline Software
Classes | Functions | Variables
HLTCFTools Namespace Reference

Classes

class  NoHypoToolCreated
 

Functions

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

Variables

 log
 
 RoRSeqFilter
 
 PassFilter
 

Function Documentation

◆ algColor()

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

Definition at line 15 of file HLTCFTools.py.

15 def 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()

def HLTCFTools.isComboHypoAlg (   alg)

Definition at line 49 of file HLTCFTools.py.

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

◆ isFilterAlg()

def HLTCFTools.isFilterAlg (   alg)

Definition at line 43 of file HLTCFTools.py.

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

◆ isHypoAlg()

def HLTCFTools.isHypoAlg (   alg)

Definition at line 52 of file HLTCFTools.py.

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

◆ isHypoBase()

def HLTCFTools.isHypoBase (   alg)

Definition at line 31 of file HLTCFTools.py.

31 def 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()

def HLTCFTools.isInputMakerBase (   alg)

Definition at line 40 of file HLTCFTools.py.

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

◆ isPassFilterAlg()

def HLTCFTools.isPassFilterAlg (   alg)

Definition at line 46 of file HLTCFTools.py.

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

Variable Documentation

◆ log

HLTCFTools.log

Definition at line 4 of file HLTCFTools.py.

◆ PassFilter

HLTCFTools.PassFilter

Definition at line 8 of file HLTCFTools.py.

◆ RoRSeqFilter

HLTCFTools.RoRSeqFilter

Definition at line 7 of file HLTCFTools.py.

HLTCFTools.isHypoAlg
def isHypoAlg(alg)
Definition: HLTCFTools.py:52
HLTCFTools.isHypoBase
def isHypoBase(alg)
Definition: HLTCFTools.py:31
HLTCFTools.isInputMakerBase
def isInputMakerBase(alg)
Definition: HLTCFTools.py:40
HLTCFTools.isFilterAlg
def isFilterAlg(alg)
Definition: HLTCFTools.py:43
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTCFTools.algColor
def algColor(alg)
Definition: HLTCFTools.py:15
HLTCFTools.isPassFilterAlg
def isPassFilterAlg(alg)
Definition: HLTCFTools.py:46
HLTCFTools.isComboHypoAlg
def isComboHypoAlg(alg)
Definition: HLTCFTools.py:49