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

Functions

 TestHypoTool (name, prop, threshold_value)
 MuTestHypoTool (flags, chainDict)
 ElTestHypoTool (flags, chainDict)
 GammTestHypoTool (flags, chainDict)
 MuTest2HypoTool (flags, chainDict)
 ElTest2HypoTool (flags, chainDict)
 getThreshold (chainDict)
 dimuDrComboHypoTool (flags, chainDict)

Function Documentation

◆ dimuDrComboHypoTool()

HLTSignatureHypoTools.dimuDrComboHypoTool ( flags,
chainDict )

Definition at line 46 of file HLTSignatureHypoTools.py.

46def dimuDrComboHypoTool(flags, chainDict):
47 name = chainDict['chainName']
48 tool= CompFactory.DeltaRRoIComboHypoTool(name)
49 tool.DRcut=0.3
50 return tool
51

◆ ElTest2HypoTool()

HLTSignatureHypoTools.ElTest2HypoTool ( flags,
chainDict )

Definition at line 33 of file HLTSignatureHypoTools.py.

33def ElTest2HypoTool(flags, chainDict):
34 name = chainDict['chainName']
35 threshold = getThreshold(chainDict)
36 return TestHypoTool(name,prop="et", threshold_value=threshold)
37
38
CP::CorrectionCode getThreshold(Int_t &threshold, const std::string &trigger)

◆ ElTestHypoTool()

HLTSignatureHypoTools.ElTestHypoTool ( flags,
chainDict )

Definition at line 17 of file HLTSignatureHypoTools.py.

17def ElTestHypoTool(flags, chainDict):
18 name = chainDict['chainName']
19 threshold = getThreshold(chainDict)
20 return TestHypoTool(name,prop="et", threshold_value=threshold)
21

◆ GammTestHypoTool()

HLTSignatureHypoTools.GammTestHypoTool ( flags,
chainDict )

Definition at line 22 of file HLTSignatureHypoTools.py.

22def GammTestHypoTool(flags, chainDict):
23 name = chainDict['chainName']
24 threshold = getThreshold(chainDict)
25 return TestHypoTool(name,prop="et", threshold_value=threshold)
26
27

◆ getThreshold()

HLTSignatureHypoTools.getThreshold ( chainDict)

Definition at line 39 of file HLTSignatureHypoTools.py.

39def getThreshold(chainDict):
40 name = chainDict['chainParts'][0]['chainPartName']
41 from TriggerMenuMT.HLT.Config.Utility.DictFromChainName import getChainThresholdFromName
42 return getChainThresholdFromName( name.split("_"), "TestChain")
43
44
45

◆ MuTest2HypoTool()

HLTSignatureHypoTools.MuTest2HypoTool ( flags,
chainDict )

Definition at line 28 of file HLTSignatureHypoTools.py.

28def MuTest2HypoTool(flags, chainDict):
29 name = chainDict['chainName']
30 threshold = getThreshold(chainDict)
31 return TestHypoTool(name,prop="pt2", threshold_value=threshold)
32

◆ MuTestHypoTool()

HLTSignatureHypoTools.MuTestHypoTool ( flags,
chainDict )

Definition at line 12 of file HLTSignatureHypoTools.py.

12def MuTestHypoTool(flags, chainDict):
13 name = chainDict['chainName']
14 threshold = getThreshold(chainDict)
15 return TestHypoTool(name,prop="pt", threshold_value=threshold)
16

◆ TestHypoTool()

HLTSignatureHypoTools.TestHypoTool ( name,
prop,
threshold_value )

Definition at line 6 of file HLTSignatureHypoTools.py.

6def TestHypoTool(name, prop, threshold_value):
7 value = int(threshold_value)*1000
8 UseThisLinkName="initialRoI"
9 HLTTest__TestHypoTool=CompFactory.getComp("HLTTest::TestHypoTool")
10 return HLTTest__TestHypoTool(name, Threshold=value, Property=prop, LinkName=UseThisLinkName)
11