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

Functions

 _IncTool (flags, name)
 TrigTRTHTHhypoToolFromDict (flags, chainDict)

Function Documentation

◆ _IncTool()

TrigTRTHTHhypoTool._IncTool ( flags,
name )
protected

Definition at line 6 of file TrigTRTHTHhypoTool.py.

6def _IncTool(flags, name):
7
8 monTool = GenericMonitoringTool(flags, "MonTool_"+name,
9 HistPath = 'TrigTRTHTHhypo/'+name)
10 monTool.defineHistogram('HTRatioRoad', type='TH1F', path='EXPERT', title="TrigTRTHTH Hypo HTRatioRoad", xbins=10, xmin=0.0, xmax=1.0)
11 monTool.defineHistogram('HTRatioWedge', type='TH1F', path='EXPERT', title="TrigTRTHTH Hypo HTRatioWedge", xbins=10, xmin=0.0, xmax=1.0)
12 monTool.defineHistogram('TRTHTHitsRoad', type='TH1F', path='EXPERT', title="TrigTRTHTH Hypo TRTHTHitsRoad", xbins=100, xmin=0, xmax=100)
13 monTool.defineHistogram('TRTHTHitsWedge', type='TH1F', path='EXPERT', title="TrigTRTHTH Hypo TRTHTHitsWedge", xbins=100, xmin=0, xmax=100)
14
15 tool = CompFactory.TrigTRTHTHhypoTool( name,
16 AcceptAll = False,
17 MinTRTHTHitsRoad = 20,
18 MinHTRatioRoad = 0.4,
19 MinTRTHTHitsWedge = 30,
20 MinHTRatioWedge = 0.5,
21 DoWedge = True,
22 DoRoad = False,
23 MonTool = monTool )
24 return tool
25

◆ TrigTRTHTHhypoToolFromDict()

TrigTRTHTHhypoTool.TrigTRTHTHhypoToolFromDict ( flags,
chainDict )
Use menu decoded chain dictionary to configure the tool 

Definition at line 26 of file TrigTRTHTHhypoTool.py.

26def TrigTRTHTHhypoToolFromDict( flags, chainDict ):
27 """ Use menu decoded chain dictionary to configure the tool """
28 name = chainDict['chainName']
29 return _IncTool( flags, name )