ATLAS Offline Software
Loading...
Searching...
No Matches
TrigMuonHypoConfig.TrigmuCombHypoConfig Class Reference
Inheritance diagram for TrigMuonHypoConfig.TrigmuCombHypoConfig:
Collaboration diagram for TrigMuonHypoConfig.TrigmuCombHypoConfig:

Public Types

typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type result

Public Member Functions

 ConfigurationHypoTool (self, thresholdHLT, thresholds, tight, acceptAll, domuCombTag)

Static Public Attributes

 log = logging.getLogger('TrigmuCombHypoConfig')

Detailed Description

Definition at line 636 of file TrigMuonHypoConfig.py.

Member Typedef Documentation

◆ result

Definition at line 90 of file EDM_MasterSearch.h.

Member Function Documentation

◆ ConfigurationHypoTool()

TrigMuonHypoConfig.TrigmuCombHypoConfig.ConfigurationHypoTool ( self,
thresholdHLT,
thresholds,
tight,
acceptAll,
domuCombTag )

Definition at line 640 of file TrigMuonHypoConfig.py.

640 def ConfigurationHypoTool( self, thresholdHLT, thresholds, tight, acceptAll, domuCombTag ):
641
642 tool = CompFactory.TrigmuCombHypoTool( thresholdHLT )
643 tool.AcceptAll = acceptAll
644
645 nt = len(thresholds)
646 log.debug('Set %d thresholds', nt)
647 tool.PtBins = [ [ 0.0, 2.5 ] ] * nt
648 tool.PtThresholds = [ [ 5.83 * GeV ] ] * nt
649
650 for th, thvalue in enumerate(thresholds):
651 if thvalue == 'passthrough':
652 tool.AcceptAll = True
653 tool.PtBins[th] = [-10000.,10000.]
654 tool.PtThresholds[th] = [ -1. * GeV ]
655 else:
656 # 15.03.2022: original flow, commented to allow use of the new HLT algo thresholds
657 #if int(thvalue) >= 24:
658 # thvaluename = '22GeV_v15a'
659 #else:
660 # thvaluename = thvalue + 'GeV_v15a'
661 if domuCombTag:
662 thvaluename = thvalue + 'GeV_v16'
663 else:
664 thvaluename = thvalue + 'GeV_v15a'
665
666 if int(thvalue)==3:
667 thvaluename = thvalue + 'GeV_v22a'
668 log.debug('Number of threshold = %d, Value of threshold = %s', th, thvaluename)
669
670 try:
671 values = muCombThresholds[thvaluename]
672 tool.PtBins[th] = values[0]
673 tool.PtThresholds[th] = [ x * GeV for x in values[1] ]
674 if (tight is True):
675 tool.ApplyPikCuts = True
676 tool.MaxPtToApplyPik = 25.
677 tool.MaxChi2IDPik = 3.5
678 except LookupError:
679 raise Exception('MuComb Hypo Misconfigured: threshold %r not supported' % thvaluename)
680
681 return tool
682

Member Data Documentation

◆ log

TrigMuonHypoConfig.TrigmuCombHypoConfig.log = logging.getLogger('TrigmuCombHypoConfig')
static

Definition at line 638 of file TrigMuonHypoConfig.py.


The documentation for this class was generated from the following file: