Definition at line 618 of file TrigMuonHypoConfig.py.
◆ ConfigurationHypoTool()
def TrigMuonHypoConfig.TrigmuCombHypoConfig.ConfigurationHypoTool |
( |
|
self, |
|
|
|
thresholdHLT, |
|
|
|
thresholds, |
|
|
|
tight, |
|
|
|
acceptAll, |
|
|
|
domuCombTag |
|
) |
| |
Definition at line 622 of file TrigMuonHypoConfig.py.
622 def ConfigurationHypoTool( self, thresholdHLT, thresholds, tight, acceptAll, domuCombTag ):
624 tool = CompFactory.TrigmuCombHypoTool( thresholdHLT )
625 tool.AcceptAll = acceptAll
628 log.debug(
'Set %d thresholds', nt)
629 tool.PtBins = [ [ 0.0, 2.5 ] ] * nt
630 tool.PtThresholds = [ [ 5.83 * GeV ] ] * nt
632 for th, thvalue
in enumerate(thresholds):
633 if thvalue ==
'passthrough':
634 tool.AcceptAll =
True
635 tool.PtBins[th] = [-10000.,10000.]
636 tool.PtThresholds[th] = [ -1. * GeV ]
644 thvaluename = thvalue +
'GeV_v16'
646 thvaluename = thvalue +
'GeV_v15a'
649 thvaluename = thvalue +
'GeV_v22a'
650 log.debug(
'Number of threshold = %d, Value of threshold = %s', th, thvaluename)
653 values = muCombThresholds[thvaluename]
654 tool.PtBins[th] = values[0]
655 tool.PtThresholds[th] = [ x * GeV
for x
in values[1] ]
657 tool.ApplyPikCuts =
True
658 tool.MaxPtToApplyPik = 25.
659 tool.MaxChi2IDPik = 3.5
661 raise Exception(
'MuComb Hypo Misconfigured: threshold %r not supported' % thvaluename)
◆ log
TrigMuonHypoConfig.TrigmuCombHypoConfig.log |
|
static |
The documentation for this class was generated from the following file: